summaryrefslogtreecommitdiff
path: root/include/vcl/dockwin.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-26 10:36:34 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-26 10:53:28 +0000
commitf23c0dbe00bcdc13ff65fbe8a312416d0bc92599 (patch)
tree5229980d8db2662fd71302800d90944d5525be12 /include/vcl/dockwin.hxx
parentb0e036c74e756ddbe6a09ade51decf95fb678a26 (diff)
loplugin:unuseddefaultparms in include/vcl (part2)
including a fix for a rather glaring bug in BitmapTools.cxx Change-Id: Id9db990b993cfeea9039c5fbaaa91996adeae22a Reviewed-on: https://gerrit.libreoffice.org/22713 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/dockwin.hxx')
-rw-r--r--include/vcl/dockwin.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index 7da7263ef868..23a5220abfa3 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -117,8 +117,8 @@ private:
mbLocked:1;
DECL_LINK_TYPED( PopupModeEnd, FloatingWindow*, void );
- void ImplEnableStartDocking( bool bEnable = true ) { mbStartDockingEnabled = bEnable; }
- bool ImplStartDockingEnabled() { return mbStartDockingEnabled; }
+ void ImplEnableStartDocking() { mbStartDockingEnabled = true; }
+ bool ImplStartDockingEnabled() { return mbStartDockingEnabled; }
public:
ImplDockingWindowWrapper( const vcl::Window *pWindow );