[Libreoffice-commits] core.git: Branch 'feature/cib_contract136' - sw/source
Samuel Mehrbrodt
Samuel.Mehrbrodt at cib.de
Tue Jul 18 15:08:35 UTC 2017
sw/source/uibase/utlui/unotools.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a354422a292aa09893ba7f6fbfa470d9d67192e1
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date: Tue Jul 18 17:07:35 2017 +0200
tdf#109188 Always load documents read-only in SwOneExampleFrame
Should be no problem since 38a3743e0c5d52f9386f74097fd512d3133fbbe3
Change-Id: I0ce47bc2bdaa900559a16baf25305066977caa6d
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index 15ca5d12be33..643991ad5316 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