summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-08-17 21:30:50 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-08-17 21:30:50 +0400
commit4fae4a48726462f1eb548a0afb244d8c7f93dd7e (patch)
treeb5d98eb9a87721b7302cd8f8a584ad0a71840ff7 /sw/source/ui
parent6e84be040be7d3ec214c2b19462cafcc3f4b277e (diff)
aTextRect is unused
Change-Id: I1653140533a0f848dcf577ad7e81991a4591d916
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/docvw/HeaderFooterWin.cxx3
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 );