diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-23 13:13:28 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-24 10:51:45 +0000 |
commit | 920d4463f6e59b815852c173e2974ffc7b4bb284 (patch) | |
tree | ac56efa2d79ad622f261e8664a57afa7c7ea0e49 /toolkit | |
parent | 2b7109a12ab772bf53766d6e06b422c8e687d482 (diff) |
loplugin:singlevalfields in vcl(part1)
Change-Id: I0031199937cc95793951a070c4b3d8910933e69f
Reviewed-on: https://gerrit.libreoffice.org/26595
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 8 | ||||
-rw-r--r-- | toolkit/source/helper/formpdfexport.cxx | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 7bda5c04a890..ee51e0ce3e05 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -747,8 +747,8 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) aEvent.TrackingRectangle = AWTRectangle( pData->maTrackRect ); aEvent.MousePos.X = pData->maMousePos.X(); aEvent.MousePos.Y = pData->maMousePos.Y(); - aEvent.bLiveMode = pData->mbLivemode; - aEvent.bInteractive = pData->mbInteractive; + aEvent.bLiveMode = false; + aEvent.bInteractive = true; mpImpl->getDockableWindowListeners().notifyEach( &XDockableWindowListener::startDocking, aEvent ); } @@ -768,8 +768,8 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) aEvent.TrackingRectangle = AWTRectangle( pData->maTrackRect ); aEvent.MousePos.X = pData->maMousePos.X(); aEvent.MousePos.Y = pData->maMousePos.Y(); - aEvent.bLiveMode = pData->mbLivemode; - aEvent.bInteractive = pData->mbInteractive; + aEvent.bLiveMode = false; + aEvent.bInteractive = true; Reference< XDockableWindowListener > xFirstListener; ::comphelper::OInterfaceIteratorHelper2 aIter( mpImpl->getDockableWindowListeners() ); diff --git a/toolkit/source/helper/formpdfexport.cxx b/toolkit/source/helper/formpdfexport.cxx index b3a9f0a095a3..7ea9de79a032 100644 --- a/toolkit/source/helper/formpdfexport.cxx +++ b/toolkit/source/helper/formpdfexport.cxx @@ -590,8 +590,6 @@ namespace toolkitform // entries getStringItemVector( xModelProps, pComboWidget->Entries ); - // same reasoning as above - pComboWidget->Sort = false; } |