diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2013-08-17 21:30:50 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2013-08-17 21:30:50 +0400 |
commit | 4fae4a48726462f1eb548a0afb244d8c7f93dd7e (patch) | |
tree | b5d98eb9a87721b7302cd8f8a584ad0a71840ff7 /sw | |
parent | 6e84be040be7d3ec214c2b19462cafcc3f4b277e (diff) |
aTextRect is unused
Change-Id: I1653140533a0f848dcf577ad7e81991a4591d916
Diffstat (limited to 'sw')
-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 ); |