[Libreoffice-commits] core.git: sw/source
Samuel Mehrbrodt
Samuel.Mehrbrodt at cib.de
Wed Jul 19 14:01:19 UTC 2017
sw/source/uibase/utlui/unotools.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bde72cdae1e7e001d5089c5284672c976b8e43df
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date: Tue Jul 18 16:09:05 2017 +0200
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 at libreoffice.org>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index 6da9286deda4..92660f8c2fc8 100644
--- a/sw/source/uibase/utlui/unotools.cxx
+++ b/sw/source/uibase/utlui/unotools.cxx
@@ -139,7 +139,7 @@ void SwOneExampleFrame::CreateControl()
uno::Sequence<beans::PropertyValue> aSeq( comphelper::InitPropertySequence({
{ "OpenFlags", uno::Any(OUString("-RB")) },
{ "Referer", uno::Any(OUString("private:user")) },
- { "ReadOnly", uno::Any(sTempURL != cFactory) }
+ { "ReadOnly", uno::Any(true) }
}));
uno::Any aArgs(aSeq);
More information about the Libreoffice-commits
mailing list