[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-5-2+backports' - sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Sep 4 11:35:10 UTC 2018
sw/source/uibase/utlui/unotools.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 38e59471c6c2c3d0685978b4880709d00a94c3fc
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Tue Jul 18 16:09:05 2017 +0200
Commit: Juergen Funk <juergen.funk_ml at cib.de>
CommitDate: Tue Sep 4 13:24:46 2018 +0200
tdf#109188 Always load documents read-only in SwOneExampleFrame
Should be no problem since 38a3743e0c5d52f9386f74097fd512d3133fbbe3
Reviewed-on: https://gerrit.libreoffice.org/40140
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
(cherry picked from commit bde72cdae1e7e001d5089c5284672c976b8e43df)
Conflicts:
sw/source/uibase/utlui/unotools.cxx
Change-Id: I0ce47bc2bdaa900559a16baf25305066977caa6d
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index a4f2eaba3141..67a60f99d034 100644
--- a/sw/source/uibase/utlui/unotools.cxx
+++ b/sw/source/uibase/utlui/unotools.cxx
@@ -145,7 +145,7 @@ void SwOneExampleFrame::CreateControl()
pValues[1].Name = "Referer";
pValues[1].Value <<= OUString("private:user");
pValues[2].Name = "ReadOnly";
- pValues[2].Value <<= (sTempURL != cFactory);
+ pValues[2].Value <<= true;
uno::Any aArgs;
aArgs.setValue(&aSeq, cppu::UnoType<uno::Sequence<beans::PropertyValue>>::get());
More information about the Libreoffice-commits
mailing list