[Libreoffice-commits] core.git: sw/source

Ivan Timofeev timofeev.i.s at gmail.com
Sat Aug 17 10:31:49 PDT 2013


 sw/source/ui/docvw/HeaderFooterWin.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 4fae4a48726462f1eb548a0afb244d8c7f93dd7e
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Sat Aug 17 21:30:50 2013 +0400

    aTextRect is unused
    
    Change-Id: I1653140533a0f848dcf577ad7e81991a4591d916

diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx b/sw/source/ui/docvw/HeaderFooterWin.cxx
index 20170cf..7da710c 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 );


More information about the Libreoffice-commits mailing list