From 190334febe62d56d80489034f0ee3cf59100f6c4 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 12 Oct 2012 13:30:30 +0200 Subject: mark lcl_ functions static or rename them if they are not local at all http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1 --- sd/source/ui/unoidl/unoobj.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sd/source/ui/unoidl') diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index c0f468cda2a3..5dda9c76355e 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -171,7 +171,7 @@ static SdTypesCache gImplTypesCache; { 0,0,0,0,0,0} - const SfxItemPropertyMapEntry* lcl_GetImpress_SdXShapePropertyGraphicMap_Impl() + static const SfxItemPropertyMapEntry* lcl_GetImpress_SdXShapePropertyGraphicMap_Impl() { static const SfxItemPropertyMapEntry aImpress_SdXShapePropertyGraphicMap_Impl[] = @@ -182,7 +182,7 @@ static SdTypesCache gImplTypesCache; return aImpress_SdXShapePropertyGraphicMap_Impl; } - const SfxItemPropertyMapEntry* lcl_GetImpress_SdXShapePropertySimpleMap_Impl() + static const SfxItemPropertyMapEntry* lcl_GetImpress_SdXShapePropertySimpleMap_Impl() { static const SfxItemPropertyMapEntry aImpress_SdXShapePropertySimpleMap_Impl[] = @@ -199,7 +199,7 @@ static SdTypesCache gImplTypesCache; { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::getCppuType((const sal_Int32*)0), 0, 0},\ { 0,0,0,0,0,0} - const SfxItemPropertyMapEntry* lcl_GetDraw_SdXShapePropertySimpleMap_Impl() + static const SfxItemPropertyMapEntry* lcl_GetDraw_SdXShapePropertySimpleMap_Impl() { static const SfxItemPropertyMapEntry aDraw_SdXShapePropertyMap_Impl[] = { @@ -207,7 +207,7 @@ static SdTypesCache gImplTypesCache; }; return aDraw_SdXShapePropertyMap_Impl; } - const SfxItemPropertyMapEntry* lcl_GetDraw_SdXShapePropertyGraphicMap_Impl() + static const SfxItemPropertyMapEntry* lcl_GetDraw_SdXShapePropertyGraphicMap_Impl() { static const SfxItemPropertyMapEntry aDraw_SdXShapePropertyGraphicMap_Impl[] = { @@ -216,7 +216,7 @@ static SdTypesCache gImplTypesCache; }; return aDraw_SdXShapePropertyGraphicMap_Impl; } - const SfxItemPropertyMapEntry* lcl_ImplGetShapePropertyMap( sal_Bool bImpress, sal_Bool bGraphicObj ) + static const SfxItemPropertyMapEntry* lcl_ImplGetShapePropertyMap( sal_Bool bImpress, sal_Bool bGraphicObj ) { const SfxItemPropertyMapEntry* pRet = 0; if( bImpress ) @@ -236,7 +236,7 @@ static SdTypesCache gImplTypesCache; return pRet; } - const SvxItemPropertySet* lcl_ImplGetShapePropertySet( sal_Bool bImpress, sal_Bool bGraphicObj ) + static const SvxItemPropertySet* lcl_ImplGetShapePropertySet( sal_Bool bImpress, sal_Bool bGraphicObj ) { const SvxItemPropertySet* pRet = 0; if( bImpress ) @@ -267,7 +267,7 @@ static SdTypesCache gImplTypesCache; } return pRet; } - const SfxItemPropertyMapEntry* lcl_GetEmpty_SdXShapePropertyMap_Impl() + static const SfxItemPropertyMapEntry* lcl_GetEmpty_SdXShapePropertyMap_Impl() { static SfxItemPropertyMapEntry aEmpty_SdXShapePropertyMap_Impl[] = { -- cgit