Resolves: rhbz#838368 --view ignored while -view accepted
This commit is contained in:
parent
19e9c939f8
commit
d0db67ad94
@ -0,0 +1,37 @@
|
|||||||
|
From 4fc8af89257436b9cad70de574a166aa11ec42f1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||||
|
Date: Mon, 9 Jul 2012 12:51:16 +0100
|
||||||
|
Subject: [PATCH] Resolves: rhbz#838368 --view ignored while -view accepted
|
||||||
|
|
||||||
|
and our ooviewdoc script uses --view
|
||||||
|
|
||||||
|
Change-Id: Ice708f1c72c8d29d411ba21e93cb19876af13881
|
||||||
|
---
|
||||||
|
desktop/source/app/cmdlineargs.cxx | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
|
||||||
|
index af7ee26..c67db8c 100644
|
||||||
|
--- a/desktop/source/app/cmdlineargs.cxx
|
||||||
|
+++ b/desktop/source/app/cmdlineargs.cxx
|
||||||
|
@@ -217,7 +217,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
|
||||||
|
bStartEvent = false;
|
||||||
|
bDisplaySpec = false;
|
||||||
|
}
|
||||||
|
- else if ( aArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "-view" )))
|
||||||
|
+ else if ( oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "view" )))
|
||||||
|
{
|
||||||
|
// open in viewmode
|
||||||
|
bOpenEvent = false;
|
||||||
|
@@ -229,7 +229,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
|
||||||
|
bStartEvent = false;
|
||||||
|
bDisplaySpec = false;
|
||||||
|
}
|
||||||
|
- else if ( aArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "-show" )))
|
||||||
|
+ else if ( oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "show" )))
|
||||||
|
{
|
||||||
|
// open in viewmode
|
||||||
|
bOpenEvent = false;
|
||||||
|
--
|
||||||
|
1.7.10.4
|
||||||
|
|
@ -30,7 +30,7 @@ Summary: Free Software Productivity Suite
|
|||||||
Name: libreoffice
|
Name: libreoffice
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: %{libo_version}.0
|
Version: %{libo_version}.0
|
||||||
Release: 3%{libo_prerelease}%{?dist}
|
Release: 4%{libo_prerelease}%{?dist}
|
||||||
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic
|
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic
|
||||||
Group: Applications/Productivity
|
Group: Applications/Productivity
|
||||||
URL: http://www.documentfoundation.org/develop
|
URL: http://www.documentfoundation.org/develop
|
||||||
@ -161,6 +161,7 @@ Patch5: openoffice.org-3.1.0.ooo101274.opening-a-directory.patch
|
|||||||
Patch6: openoffice.org-3.1.1.ooo105784.vcl.sniffscriptforsubs.patch
|
Patch6: openoffice.org-3.1.1.ooo105784.vcl.sniffscriptforsubs.patch
|
||||||
Patch7: libreoffice-installfix.patch
|
Patch7: libreoffice-installfix.patch
|
||||||
Patch8: 0001-specify-the-sourced-file-with-path.patch
|
Patch8: 0001-specify-the-sourced-file-with-path.patch
|
||||||
|
Patch9: 0001-Resolves-rhbz-838368-view-ignored-while-view-accepte.patch
|
||||||
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||||
%define instdir %{_libdir}
|
%define instdir %{_libdir}
|
||||||
@ -766,6 +767,7 @@ mv -f redhat.soc extras/source/palettes/standard.soc
|
|||||||
%patch6 -p1 -b .ooo105784.vcl.sniffscriptforsubs.patch
|
%patch6 -p1 -b .ooo105784.vcl.sniffscriptforsubs.patch
|
||||||
%patch7 -p1 -b .libreoffice-installfix.patch
|
%patch7 -p1 -b .libreoffice-installfix.patch
|
||||||
%patch8 -p1 -b .specify-the-sourced-file-with-path.patch
|
%patch8 -p1 -b .specify-the-sourced-file-with-path.patch
|
||||||
|
%patch9 -p1 -b .rhbz838368-view-ignored-while-view-accepte.patch
|
||||||
|
|
||||||
# TODO: check this
|
# TODO: check this
|
||||||
# these are horribly incomplete--empty translations and copied english
|
# these are horribly incomplete--empty translations and copied english
|
||||||
@ -2000,6 +2002,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 09 2012 Caolán McNamara <caolanm@redhat.com> - 3.6.0.0-4
|
||||||
|
- Resolves: rhbz#838368 --view ignored while -view accepted
|
||||||
|
|
||||||
* Wed Jul 05 2012 David Tardon <dtardon@redhat.com> - 3.6.0.0-3
|
* Wed Jul 05 2012 David Tardon <dtardon@redhat.com> - 3.6.0.0-3
|
||||||
- 3.6.0 beta3
|
- 3.6.0 beta3
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user