svx/source/customshapes/EnhancedCustomShape3d.cxx | 18 ------------------ 1 file changed, 18 deletions(-)
New commits: commit 92a6bff0986bf3402102bf98a46215f7910470b2 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Thu Mar 14 14:22:23 2013 +0900 -Werror,-Wunused-function Change-Id: I40e6d5b62eba6fb5cb5262665a6c15060345dd9c diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx index ac847ff..c43d9d4 100644 --- a/svx/source/customshapes/EnhancedCustomShape3d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape3d.cxx @@ -143,15 +143,6 @@ drawing::ShadeMode GetShadeMode( SdrCustomShapeGeometryItem& rItem, const drawin return eRet; } -sal_Int32 GetInt32( SdrCustomShapeGeometryItem& rItem, const rtl::OUString& rPropertyName, const sal_Int32 nDefault ) -{ - sal_Int32 nRetValue = nDefault; - Any* pAny = rItem.GetPropertyValueByName( rtl::OUString(aExtrusion), rPropertyName ); - if ( pAny ) - *pAny >>= nRetValue; - return nRetValue; -} - sal_Bool GetBool( SdrCustomShapeGeometryItem& rItem, const rtl::OUString& rPropertyName, const sal_Bool bDefault ) { sal_Bool bRetValue = bDefault; @@ -161,15 +152,6 @@ sal_Bool GetBool( SdrCustomShapeGeometryItem& rItem, const rtl::OUString& rPrope return bRetValue; } -awt::Point GetPoint( SdrCustomShapeGeometryItem& rItem, const rtl::OUString& rPropertyName, const awt::Point& rDefault ) -{ - awt::Point aRetValue( rDefault ); - const Any* pAny = rItem.GetPropertyValueByName( rtl::OUString(aExtrusion), rPropertyName ); - if ( pAny ) - *pAny >>= aRetValue; - return aRetValue; -} - drawing::Position3D GetPosition3D( SdrCustomShapeGeometryItem& rItem, const rtl::OUString& rPropertyName, const drawing::Position3D& rDefault, const double* pMap ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits