[Libreoffice-commits] .: framework/inc

Tor Lillqvist tml at kemper.freedesktop.org
Tue Feb 28 23:56:39 PST 2012


 framework/inc/properties.h |   14 --------------
 1 file changed, 14 deletions(-)

New commits:
commit 2343be9f1bda458835ed8e3c6bf11905ccbe9b13
Author: Tor Lillqvist <tml at iki.fi>
Date:   Wed Feb 29 09:45:28 2012 +0200

    Bin obviously bogus (Thanks, Clang!) but fortunately unused function

diff --git a/framework/inc/properties.h b/framework/inc/properties.h
index c04984c..60cb74b 100644
--- a/framework/inc/properties.h
+++ b/framework/inc/properties.h
@@ -317,20 +317,6 @@ class PropHelper
 
         return bChanged;
     }
-
-    //___________________________________________
-
-    /** calculates the count of items inside the given ascii array.
-     *
-     *  @param  pArray  must point to an array of items from type sal_Char
-     *
-     *  @return The count of items inside this array, calculated by knowing the size of sal_Char.
-     */
-
-    static sal_Int32 calculatePropArrayCount( const sal_Char* pArray[] )
-    {
-        return (sal_Int32)(sizeof(pArray)/sizeof(sal_Char*));
-    }
 };
 
 } // namespace framework


More information about the Libreoffice-commits mailing list