[libreoffice/f17] Resolves: rhbz#838368 --view ignored while -view accepted
Caolán McNamara
caolanm at fedoraproject.org
Mon Jul 9 11:56:40 UTC 2012
commit b4ee988371fbc3cfd8ca7ef7c90c4b0dfb5a35ae
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Jul 9 12:56:35 2012 +0100
Resolves: rhbz#838368 --view ignored while -view accepted
...bz-838368-view-ignored-while-view-accepte.patch | 37 ++++++++++++++++++++
libreoffice.spec | 7 +++-
2 files changed, 43 insertions(+), 1 deletions(-)
---
diff --git a/0001-Resolves-rhbz-838368-view-ignored-while-view-accepte.patch b/0001-Resolves-rhbz-838368-view-ignored-while-view-accepte.patch
new file mode 100644
index 0000000..d434c9b
--- /dev/null
+++ b/0001-Resolves-rhbz-838368-view-ignored-while-view-accepte.patch
@@ -0,0 +1,37 @@
+From 4fc8af89257436b9cad70de574a166aa11ec42f1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm at 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
+
diff --git a/libreoffice.spec b/libreoffice.spec
index 8ba35a9..3b973c5 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -35,7 +35,7 @@ Summary: Free Software Productivity Suite
Name: libreoffice
Epoch: 1
Version: %{libo_version}.3
-Release: 1%{?dist}
+Release: 2%{?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
Group: Applications/Productivity
URL: http://www.documentfoundation.org/develop
@@ -144,6 +144,7 @@ Patch29: 0001-wrong-types-used-here-breaks-64bit-bigendian.patch
Patch30: 0001-Resolves-rhbz-805743-a11y-call-doShow-after-we-have-.patch
Patch31: 0001-Resolves-fdo-49849-implement-Unicode-6.1-hebrew-line.patch
Patch32: 0001-use-ure-instead-of-ure-link.patch
+Patch33: 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))")}
%define instdir %{_libdir}
@@ -1006,6 +1007,7 @@ mv -f redhat.soc extras/source/palettes/standard.soc
%patch31 -p1 -b .fdo-49849-implement-Unicode-6.1-hebrew-line.patch
%endif
%patch32 -p1 -b .use-ure-instead-of-ure-link.patch
+%patch33 -p1 -b .rhbz-838368-view-ignored-while-view-accepte.patch
# TODO: check this
# these are horribly incomplete--empty translations and copied english
@@ -2288,6 +2290,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
%endif
%changelog
+* Mon Jul 09 2012 Caolán McNamara <caolanm at redhat.com> - 3.5.5.3-2
+- Resolves: rhbz#838368 --view ignored while -view accepted
+
* Tue Jul 03 2012 David Tardon <dtardon at redhat.com> - 3.5.5.3-1
- 3.5.5 final
- drop integrated 0001-make-hsqldb-build-with-java-1.7.patch
More information about the scm-commits
mailing list