summaryrefslogtreecommitdiffstats
path: root/vcl/source/window/dockwin.cxx
diff options
context:
space:
mode:
authorkrishna keshav <princy.krishnakeshav@gmail.com>2016-07-06 01:36:02 +0530
committerCaolán McNamara <caolanm@redhat.com>2016-07-06 09:54:13 +0000
commit50094d8f8eb7067009c3e9a86053d82e4c0af739 (patch)
treebead090def524029ebfd0045b7f788dc94a7b2d3 /vcl/source/window/dockwin.cxx
parentResolves: rhbz#1353069 don't clear XATTR_FILL* from stylesheet if... (diff)
downloadcore-50094d8f8eb7067009c3e9a86053d82e4c0af739.tar.gz
core-50094d8f8eb7067009c3e9a86053d82e4c0af739.zip
tdf#77667 Remove gcc3 workaround
where it could handle instantiated objects as parameters Removed objects of 'Point' as 'Point()' can be instantiated as a parameter. Change-Id: Iad2dceed6dfe8bd3cc555758c518620cd975a8fc Reviewed-on: https://gerrit.libreoffice.org/26967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/dockwin.cxx')
-rw-r--r--vcl/source/window/dockwin.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index 3442d32ea421..3ec763444b2c 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -552,11 +552,10 @@ void DockingWindow::Tracking( const TrackingEvent& rTEvt )
}
if ( mbDragFull )
{
- Point aPos;
- Point aOldPos = OutputToScreenPixel( aPos );
+ Point aOldPos = OutputToScreenPixel( Point() );
EndDocking( aTrackRect, mbLastFloatMode );
// repaint if state or position has changed
- if ( aOldPos != OutputToScreenPixel( aPos ) )
+ if ( aOldPos != OutputToScreenPixel( Point() ) )
{
ImplUpdateAll();
ImplGetFrameWindow()->ImplUpdateAll();