[Libreoffice-commits] core.git: include/sfx2 sfx2/source

Stephan Bergmann sbergman at redhat.com
Tue Jun 28 08:20:56 UTC 2016


 include/sfx2/objsh.hxx      |    2 +-
 sfx2/source/doc/objstor.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 979c4a4140d6b86a4219b3daf1c3fbd9f8730459
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jun 28 10:20:14 2016 +0200

    loplugin:staticmethods
    
    Change-Id: I3f94a493822b8f6f83473578cd133a54ecc6be30

diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 1047542..76ce626 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -626,7 +626,7 @@ public:
 
     SAL_DLLPRIVATE std::shared_ptr<GDIMetaFile> CreatePreviewMetaFile_Impl( bool bFullContent ) const;
 
-    bool IsOwnStorageFormat(const SfxMedium &) const;
+    static bool IsOwnStorageFormat(const SfxMedium &);
 
     SAL_DLLPRIVATE bool IsPackageStorageFormat_Impl(const SfxMedium &) const;
 
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 894900e..9b25e14 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -972,7 +972,7 @@ sal_uInt32 SfxObjectShell::HandleFilter( SfxMedium* pMedium, SfxObjectShell* pDo
 }
 
 
-bool SfxObjectShell::IsOwnStorageFormat(const SfxMedium &rMedium) const
+bool SfxObjectShell::IsOwnStorageFormat(const SfxMedium &rMedium)
 {
     return !rMedium.GetFilter() || // Embedded
            ( rMedium.GetFilter()->IsOwnFormat() &&


More information about the Libreoffice-commits mailing list