You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2013/02/27 18:18:36 UTC

svn commit: r1450857 - /openoffice/trunk/main/framework/inc/properties.h

Author: hdu
Date: Wed Feb 27 17:18:35 2013
New Revision: 1450857

URL: http://svn.apache.org/r1450857
Log:
WaE: calculatePropArrayCount() was always wrong but fortunately nobody used it anyway

Modified:
    openoffice/trunk/main/framework/inc/properties.h

Modified: openoffice/trunk/main/framework/inc/properties.h
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/framework/inc/properties.h?rev=1450857&r1=1450856&r2=1450857&view=diff
==============================================================================
--- openoffice/trunk/main/framework/inc/properties.h (original)
+++ openoffice/trunk/main/framework/inc/properties.h Wed Feb 27 17:18:35 2013
@@ -329,20 +329,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