sw/source/uibase/utlui/unotools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e26eb2f2728469d18caa28f9551c2eee85b1d7ec Author: Samuel Mehrbrodt <samuel.mehrbr...@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 <c...@libreoffice.org> Reviewed-by: Michael Stahl <mst...@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/40212 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 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits