From efcdf9004de2c406774f7a1ed207d24c0dbe36cc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 18 Sep 2014 11:38:43 +0100 Subject: callcatcher: update unused code Change-Id: I3010bdd736c15a086f3ce61cacbb34159f0b2abf --- svx/source/tbxctrls/PaletteManager.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'svx/source') diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx index df4c4b898255..b104fe9095af 100644 --- a/svx/source/tbxctrls/PaletteManager.cxx +++ b/svx/source/tbxctrls/PaletteManager.cxx @@ -166,16 +166,6 @@ long PaletteManager::GetRecentColorCount() return maRecentColors.size(); } -OUString PaletteManager::GetPaletteName() -{ - if( mnCurrentPalette == 0 ) - return OUString( STR_DEFAULT_PAL ); - else if( mnCurrentPalette == mnNumOfPalettes - 1 ) - return OUString( STR_DOC_COLORS ); - else - return maPalettes[mnCurrentPalette - 1].GetName(); -} - const Color& PaletteManager::GetLastColor() { return mLastColor; -- cgit