summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-08-21 12:00:04 +0200
committerZolnai Tamás <zolnaitamas2000@gmail.com>2013-08-23 21:01:36 +0200
commitff73528561488fceef04fde081dab907c86f6b5b (patch)
tree0a6a2e28c5105c953899d9d481942568107c544e /sw
parentbaf3843058d2cc7ddf57743b7c658b4cb2ddde2f (diff)
Remove useless method
Change-Id: I5f2c5a57a5b0defb15bcfd68bdf2a9ce6f2446ac
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/inftxt.cxx2
-rw-r--r--sw/source/core/text/inftxt.hxx4
2 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index cae5afc1547d..a6c7de0ca9c5 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -1140,7 +1140,7 @@ void SwTxtPaintInfo::DrawBackground( const SwLinePortion &rPor ) const
}
}
-void SwTxtPaintInfo::_DrawBackBrush( const SwLinePortion &rPor ) const
+void SwTxtPaintInfo::DrawBackBrush( const SwLinePortion &rPor ) const
{
{
SwRect aIntersect;
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index c9d5d10985bb..3ad44b31b01f 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -388,7 +388,6 @@ class SwTxtPaintInfo : public SwTxtSizeInfo
SwTxtPaintInfo &operator=(const SwTxtPaintInfo&);
void _NotifyURL( const SwLinePortion &rPor ) const;
- void _DrawBackBrush( const SwLinePortion &rPor ) const;
protected:
#ifdef DBG_UTIL
@@ -439,8 +438,7 @@ public:
void DrawPostIts( const SwLinePortion &rPor, sal_Bool bScript ) const;
void DrawBackground( const SwLinePortion &rPor ) const;
void DrawViewOpt( const SwLinePortion &rPor, const MSHORT nWhich ) const;
- inline void DrawBackBrush( const SwLinePortion &rPor ) const
- { /* if( pFnt->GetBackColor() ) */ _DrawBackBrush( rPor ); }
+ void DrawBackBrush( const SwLinePortion &rPor ) const;
void DrawBorder( const SwLinePortion &rPor ) const;