diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-01 14:21:06 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-02 07:14:20 +0000 |
commit | 5e7cf50756232b08964dfb15d027697b4eba004f (patch) | |
tree | 6dd2019c2945b1cd55d7663f30789c9a1db90617 /sfx2/source | |
parent | fd3d1bbaa9ab338f374fd20798fca71a888c9ab7 (diff) |
SetXXX(bool) with a default value of false are just wrong
Change-Id: I4888d0474199bb10ca81d1ad03118a150f574671
Reviewed-on: https://gerrit.libreoffice.org/18235
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/splitwin.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/taskpane.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index 751c23a2bac3..8f063deb425a 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -1130,7 +1130,7 @@ void SfxSplitWindow::SetPinned_Impl( bool bOn ) { pEmptyWin->nState &= ~1; SetOutputSizePixel( GetFloatingWindow()->GetOutputSizePixel() ); - SetFloatingMode(); + SetFloatingMode(false); if ( pEmptyWin->bFadeIn ) { diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx index ff90fc97dad1..52e9e02eb518 100644 --- a/sfx2/source/dialog/taskpane.cxx +++ b/sfx2/source/dialog/taskpane.cxx @@ -991,7 +991,7 @@ namespace sfx2 break; case MID_LOCK_TASK_PANEL: - m_rDockingWindow.SetFloatingMode(); + m_rDockingWindow.SetFloatingMode(false); break; case MID_LAYOUT_DRAWERS: diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index a45f83e8a8a5..969f08ee7c59 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -975,7 +975,7 @@ IMPL_LINK(SidebarController, OnMenuItemSelected, Menu*, pMenu) break; case MID_LOCK_TASK_PANEL: - mpParentWindow->SetFloatingMode(); + mpParentWindow->SetFloatingMode(false); break; case MID_RESTORE_DEFAULT: |