From 238944f008610d7faeab473c9b26ad04fc024429 Mon Sep 17 00:00:00 2001 From: Mariana Marasoiu Date: Wed, 14 Mar 2012 01:25:57 +0200 Subject: Remove unused code in drawingml/theme. --- oox/inc/oox/drawingml/theme.hxx | 2 -- oox/source/drawingml/theme.cxx | 5 ----- 2 files changed, 7 deletions(-) (limited to 'oox') diff --git a/oox/inc/oox/drawingml/theme.hxx b/oox/inc/oox/drawingml/theme.hxx index d6dbb2c57312..b2a039d68527 100644 --- a/oox/inc/oox/drawingml/theme.hxx +++ b/oox/inc/oox/drawingml/theme.hxx @@ -76,8 +76,6 @@ public: inline EffectStyleList& getEffectStyleList() { return maEffectStyleList; } inline const EffectStyleList& getEffectStyleList() const { return maEffectStyleList; } - /** Returns the effect properties of the passed one-based themed style index. */ - const PropertyMap* getEffectStyle( sal_Int32 nIndex ) const; inline FontScheme& getFontScheme() { return maFontScheme; } inline const FontScheme& getFontScheme() const { return maFontScheme; } diff --git a/oox/source/drawingml/theme.cxx b/oox/source/drawingml/theme.cxx index 47a7d30bc470..46f3dbc19fb3 100644 --- a/oox/source/drawingml/theme.cxx +++ b/oox/source/drawingml/theme.cxx @@ -66,11 +66,6 @@ const LineProperties* Theme::getLineStyle( sal_Int32 nIndex ) const return lclGetStyleElement( maLineStyleList, nIndex ); } -const PropertyMap* Theme::getEffectStyle( sal_Int32 nIndex ) const -{ - return lclGetStyleElement( maEffectStyleList, nIndex ); -} - const TextCharacterProperties* Theme::getFontStyle( sal_Int32 nSchemeType ) const { return maFontScheme.get( nSchemeType ).get(); -- cgit