diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 10:05:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 10:05:18 +0200 |
commit | a3e3fac0ec0339015374adc1531fab8964b2d837 (patch) | |
tree | 07946525f7ae927c04f9be676c09b1c2b25e27d8 /sw | |
parent | 30f4a56e9b39f9791bbb36e30fc2e0982aedd3cd (diff) |
loplugin:staticcall
Change-Id: I0d67b6c155d44e9c9072ef7c3519850c45a51313
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/sidebar/StylePresetsPanel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.cxx b/sw/source/uibase/sidebar/StylePresetsPanel.cxx index 90ee2a26b96a..192b9f4aa1a2 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)) { |