summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-02-04 18:18:01 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-02-06 18:37:31 +0100
commit624d46964215c1f066ded64ab684d6ccc98705d9 (patch)
treec5828bcf34cc457cde5ebe6eef921cc9d00f416b /svtools
parentc0fdab890086c2cb749c348db42eb760e31539de (diff)
remove unused variable
Change-Id: Iadc8b161c2742c1b92938c39c00c263b597693f5
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 0b6d591b3190..bb35ebc189b5 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -1296,7 +1296,6 @@ void FontNameBox::UserDraw( const UserDrawEvent& rUDEvt )
long nVertAdjust = nDesiredGap - aTextRect.Top();
Point aPos( nX, aTopLeft.Y() + nVertAdjust );
rUDEvt.GetDevice()->DrawText( aPos, sFontName );
- Rectangle aHack(aPos.X(), aTopLeft.Y() + nH/2 - 5, aPos.X() + 40, aTopLeft.Y() + nH/2 + 5);
long nTextX = aPos.X() + aTextRect.GetWidth() + GAPTOEXTRAPREVIEW;
if (!bUsingCorrectFont)