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

Stephan Bergmann sbergman at redhat.com
Mon Apr 7 03:40:51 PDT 2014


 sot/source/sdstor/stgio.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 8144550c120fc013161d19f2a2aa98e879504bcf
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Apr 7 12:40:21 2014 +0200

    Remove unused functions
    
    Change-Id: Ifa8fad734c716deeed32137f09cbe88378d11faf

diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx
index dc02e4d..9ce0de1 100644
--- a/sot/source/sdstor/stgio.cxx
+++ b/sot/source/sdstor/stgio.cxx
@@ -153,12 +153,6 @@ public:
     ~EasyFat() { delete[] pFat; delete[] pFree; }
 
     sal_Int32 GetPageSize() { return nPageSize; }
-    sal_Int32 Count() { return nPages; }
-    sal_Int32 operator[]( sal_Int32 nOffset )
-    {
-        OSL_ENSURE( nOffset >= 0 && nOffset < nPages, "Unexpected offset!" );
-        return nOffset >= 0 && nOffset < nPages ? pFat[ nOffset ] : -2;
-    }
 
     sal_uLong Mark( sal_Int32 nPage, sal_Int32 nCount, sal_Int32 nExpect );
     bool HasUnrefChains();


More information about the Libreoffice-commits mailing list