diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-14 14:22:23 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-14 14:22:23 +0900 |
commit | 92a6bff0986bf3402102bf98a46215f7910470b2 (patch) | |
tree | 560033314791086177dd027f9ff438bfd869035d /svx | |
parent | 5624e43fe9530eaa297b75cbcba1d776a4cb6615 (diff) |
-Werror,-Wunused-function
Change-Id: I40e6d5b62eba6fb5cb5262665a6c15060345dd9c
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShape3d.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx index ac847ff39f86..c43d9d44c0e2 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 ) { |