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 <sberg...@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() &&
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to