summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-07-18 16:09:05 +0200
committerMichael Stahl <mstahl@redhat.com>2017-07-20 13:33:46 +0200
commite26eb2f2728469d18caa28f9551c2eee85b1d7ec (patch)
tree5648284ad8b4c89ddab2eecdfb8a55f8baad2779 /sw
parente059303c2dc6ecac5247c315f5b452d346512c12 (diff)
tdf#109188 Always load documents read-only in SwOneExampleFrame
Should be no problem since 38a3743e0c5d52f9386f74097fd512d3133fbbe3 Change-Id: I0ce47bc2bdaa900559a16baf25305066977caa6d Reviewed-on: https://gerrit.libreoffice.org/40140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/40212
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/unotools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index 186085a3c617..571f39ad80fd 100644
--- a/sw/source/uibase/utlui/unotools.cxx
+++ b/sw/source/uibase/utlui/unotools.cxx
@@ -142,7 +142,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(aSeq);
xPrSet->setPropertyValue( "LoaderArguments", aArgs );