From 5b04c9063cc9dd77dc55c361df081812af38cdbd Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 3 Mar 2013 11:08:31 +0100 Subject: remove unused and commented out code This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7 --- svl/inc/svl/flagitem.hxx | 1 - svl/source/items/flagitem.cxx | 9 --------- 2 files changed, 10 deletions(-) (limited to 'svl') diff --git a/svl/inc/svl/flagitem.hxx b/svl/inc/svl/flagitem.hxx index 3a84fea32f67..6b0c88ef8f7e 100644 --- a/svl/inc/svl/flagitem.hxx +++ b/svl/inc/svl/flagitem.hxx @@ -44,7 +44,6 @@ public: DBG_DTOR(SfxFlagItem, 0); } virtual sal_uInt8 GetFlagCount() const; - virtual XubString GetFlagText( sal_uInt8 nFlag ) const; virtual int operator==( const SfxPoolItem& ) const; virtual SfxPoolItem* Create(SvStream &, sal_uInt16 nVersion) const; diff --git a/svl/source/items/flagitem.cxx b/svl/source/items/flagitem.cxx index d2c5fbf169cb..cf9c5a5f3b71 100644 --- a/svl/source/items/flagitem.cxx +++ b/svl/source/items/flagitem.cxx @@ -86,15 +86,6 @@ SfxItemPresentation SfxFlagItem::GetPresentation // ----------------------------------------------------------------------- -XubString SfxFlagItem::GetFlagText( sal_uInt8 ) const -{ - DBG_CHKTHIS(SfxFlagItem, 0); - DBG_WARNING( "calling GetValueText(sal_uInt16) on SfxFlagItem -- overload!" ); - return XubString(); -} - -// ----------------------------------------------------------------------- - sal_uInt8 SfxFlagItem::GetFlagCount() const { DBG_CHKTHIS(SfxFlagItem, 0); -- cgit