Kaydet (Commit) 4fae4a48 authored tarafından Ivan Timofeev's avatar Ivan Timofeev

aTextRect is unused

Change-Id: I1653140533a0f848dcf577ad7e81991a4591d916
üst 6e84be04
...@@ -284,9 +284,6 @@ void SwHeaderFooterWin::Paint( const Rectangle& ) ...@@ -284,9 +284,6 @@ void SwHeaderFooterWin::Paint( const Rectangle& )
FontAttribute aFontAttr = drawinglayer::primitive2d::getFontAttributeFromVclFont( FontAttribute aFontAttr = drawinglayer::primitive2d::getFontAttributeFromVclFont(
aFontSize, GetFont(), false, false ); aFontSize, GetFont(), false, false );
Rectangle aTextRect;
GetTextBoundRect( aTextRect, String( m_sLabel ) );
FontMetric aFontMetric = GetFontMetric( GetFont() ); FontMetric aFontMetric = GetFontMetric( GetFont() );
double nTextOffsetY = aFontMetric.GetAscent() + TEXT_PADDING; double nTextOffsetY = aFontMetric.GetAscent() + TEXT_PADDING;
Point aTextPos( TEXT_PADDING, nTextOffsetY ); Point aTextPos( TEXT_PADDING, nTextOffsetY );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment