diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-08-01 18:34:24 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-08-01 18:34:46 +0200 |
commit | 791071825969a40a454ed2b9806ec8b5c3b08fe9 (patch) | |
tree | 9fee331088d043e2995f0c5b5e7f1c69701dce49 /sw | |
parent | 23e5bb66436991d809d8d807f27d25f922fb062f (diff) |
Remove unused code: those classes are unused
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/txtpaint.hxx | 31 |
1 files changed, 0 insertions, 31 deletions
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 @@ -75,20 +75,6 @@ public: }; /************************************************************************* - * 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 ) |