[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Thu Aug 27 01:05:42 PDT 2015


 sw/source/uibase/sidebar/StylePresetsPanel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a3e3fac0ec0339015374adc1531fab8964b2d837
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 27 10:05:18 2015 +0200

    loplugin:staticcall
    
    Change-Id: I0d67b6c155d44e9c9072ef7c3519850c45a51313

diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.cxx b/sw/source/uibase/sidebar/StylePresetsPanel.cxx
index 90ee2a2..192b9f4 100644
--- a/sw/source/uibase/sidebar/StylePresetsPanel.cxx
+++ b/sw/source/uibase/sidebar/StylePresetsPanel.cxx
@@ -98,7 +98,7 @@ BitmapEx StylePresetsPanel::CreatePreview(OUString& aUrl, OUString& aName)
 {
     SfxMedium aMedium(aUrl, STREAM_STD_READWRITE);
     SfxObjectShell* pObjectShell = SfxObjectShell::Current();
-    SfxObjectShellLock xTemplDoc = pObjectShell->CreateObjectByFactoryName(pObjectShell->GetFactory().GetFactoryName(), SfxObjectCreateMode::ORGANIZER);
+    SfxObjectShellLock xTemplDoc = SfxObjectShell::CreateObjectByFactoryName(pObjectShell->GetFactory().GetFactoryName(), SfxObjectCreateMode::ORGANIZER);
     xTemplDoc->DoInitNew(0);
     if (xTemplDoc->LoadFrom(aMedium))
     {


More information about the Libreoffice-commits mailing list