From 791071825969a40a454ed2b9806ec8b5c3b08fe9 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Wed, 1 Aug 2012 18:34:24 +0200 Subject: Remove unused code: those classes are unused Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d --- sw/source/core/text/txtpaint.hxx | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'sw') diff --git a/sw/source/core/text/txtpaint.hxx b/sw/source/core/text/txtpaint.hxx index ad4f5795479d..aa466966c010 100644 --- a/sw/source/core/text/txtpaint.hxx +++ b/sw/source/core/text/txtpaint.hxx @@ -74,20 +74,6 @@ public: inline SwDbgOut( OutputDevice* pOutDev, const sal_Bool bOn = sal_True ); }; -/************************************************************************* - * class DbgColor - *************************************************************************/ - -class DbgColor -{ - Font *pFnt; - Color aColor; -public: - inline DbgColor( Font *pFont, const sal_Bool bOn = sal_True, - const ColorData eColor = COL_BLUE ); - inline ~DbgColor(); -}; - /************************************************************************* * class DbgBrush *************************************************************************/ @@ -122,23 +108,6 @@ inline SwDbgOut::SwDbgOut( OutputDevice* pOutDev, const sal_Bool bOn ) { } -inline DbgColor::DbgColor( Font *pFont, const sal_Bool bOn, - const ColorData eColor ) - :pFnt( bOn ? pFont : 0 ) -{ - if( pFnt ) - { - aColor = pFnt->GetColor(); - pFnt->SetColor( Color( eColor ) ); - } -} - -inline DbgColor::~DbgColor() -{ - if( pFnt ) - pFnt->SetColor( aColor ); -} - inline DbgBackColor::DbgBackColor( OutputDevice* pOutDev, const sal_Bool bOn, ColorData eColor ) :SwDbgOut( pOutDev, bOn ) -- cgit v1.2.3