diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 11:07:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 14:23:07 +0200 |
commit | d7824bf16898d8cb776420e0c2bff82e6df61b86 (patch) | |
tree | 88405234c55eb24a3d7770c833ac8eeea2db412e /sfx2/source/dialog/dockwin.cxx | |
parent | f05d0d05829dd51cb9d8071ac97cc219779ee40a (diff) |
loplugin:unusedfields in sfx2 part2
Change-Id: I227b643641250d47ac6b2218f57ddb231765960e
Reviewed-on: https://gerrit.libreoffice.org/39038
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/dialog/dockwin.cxx')
-rw-r--r-- | sfx2/source/dialog/dockwin.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx index cdddb2b19be8..a8c7143bbf18 100644 --- a/sfx2/source/dialog/dockwin.cxx +++ b/sfx2/source/dialog/dockwin.cxx @@ -390,17 +390,16 @@ friend class SfxDockingWindow; // The following members are only valid in the time from startDocking to // EndDocking: - bool bEndDocked; Size aSplitSize; long nHorizontalSize; long nVerticalSize; - sal_uInt16 nLine; - sal_uInt16 nPos; - sal_uInt16 nDockLine; - sal_uInt16 nDockPos; + sal_uInt16 nLine; + sal_uInt16 nPos; + sal_uInt16 nDockLine; + sal_uInt16 nDockPos; bool bNewLine; bool bDockingPrevented; - OString aWinState; + OString aWinState; explicit SfxDockingWindow_Impl(SfxDockingWindow *pBase); SfxChildAlignment GetLastAlignment() const @@ -419,7 +418,6 @@ SfxDockingWindow_Impl::SfxDockingWindow_Impl(SfxDockingWindow* pBase) ,bConstructed(false) ,pSplitWin(nullptr) ,bSplitable(true) - ,bEndDocked(false) ,nHorizontalSize(0) ,nVerticalSize(0) ,nLine(0) @@ -801,9 +799,7 @@ void SfxDockingWindow::EndDocking( const tools::Rectangle& rRect, bool bFloatMod } else { - pImpl->bEndDocked = true; DockingWindow::EndDocking(rRect, bFloatMode); - pImpl->bEndDocked = false; } SetAlignment( IsFloatingMode() ? SfxChildAlignment::NOALIGNMENT : pImpl->GetDockAlignment() ); |