diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-07-18 16:09:05 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-07-19 16:00:31 +0200 |
commit | bde72cdae1e7e001d5089c5284672c976b8e43df (patch) | |
tree | 4fcf09c6582f5694493390d427ec5f712d925130 /sw | |
parent | d9b0108e3af7244179bcc7b07db9d0826c3ac8a6 (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>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/utlui/unotools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |