sw/source/uibase/utlui/unotools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 38e59471c6c2c3d0685978b4880709d00a94c3fc Author: Samuel Mehrbrodt <[email protected]> AuthorDate: Tue Jul 18 16:09:05 2017 +0200 Commit: Juergen Funk <[email protected]> CommitDate: Tue Sep 4 13:24:46 2018 +0200 tdf#109188 Always load documents read-only in SwOneExampleFrame Should be no problem since 38a3743e0c5d52f9386f74097fd512d3133fbbe3 Reviewed-on: https://gerrit.libreoffice.org/40140 Tested-by: Jenkins <[email protected]> Reviewed-by: Michael Stahl <[email protected]> (cherry picked from commit bde72cdae1e7e001d5089c5284672c976b8e43df) Conflicts: sw/source/uibase/utlui/unotools.cxx Change-Id: I0ce47bc2bdaa900559a16baf25305066977caa6d diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx index a4f2eaba3141..67a60f99d034 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()); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
