diff options
-rw-r--r-- | sw/source/ui/docvw/HeaderFooterWin.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx b/sw/source/ui/docvw/HeaderFooterWin.cxx index 20170cfc8eee..7da710c97db1 100644 --- a/sw/source/ui/docvw/HeaderFooterWin.cxx +++ b/sw/source/ui/docvw/HeaderFooterWin.cxx @@ -284,9 +284,6 @@ void SwHeaderFooterWin::Paint( const Rectangle& ) FontAttribute aFontAttr = drawinglayer::primitive2d::getFontAttributeFromVclFont( aFontSize, GetFont(), false, false ); - Rectangle aTextRect; - GetTextBoundRect( aTextRect, String( m_sLabel ) ); - FontMetric aFontMetric = GetFontMetric( GetFont() ); double nTextOffsetY = aFontMetric.GetAscent() + TEXT_PADDING; Point aTextPos( TEXT_PADDING, nTextOffsetY ); |