summaryrefslogtreecommitdiff
path: root/svx/source/dialog/contwnd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/contwnd.cxx')
-rw-r--r--svx/source/dialog/contwnd.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/dialog/contwnd.cxx b/svx/source/dialog/contwnd.cxx
index 4f9f14e88064..b25c123f27b6 100644
--- a/svx/source/dialog/contwnd.cxx
+++ b/svx/source/dialog/contwnd.cxx
@@ -174,8 +174,7 @@ void ContourWindow::MouseMove( const MouseEvent& rMEvt )
void ContourWindow::MouseButtonUp(const MouseEvent& rMEvt)
{
- Point aTmpPoint;
- const tools::Rectangle aGraphRect( aTmpPoint, GetGraphicSize() );
+ const tools::Rectangle aGraphRect( Point(), GetGraphicSize() );
const Point aLogPt( PixelToLogic( rMEvt.GetPosPixel() ) );
bClickValid = aGraphRect.IsInside( aLogPt );