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/inc | |
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/inc')
-rw-r--r-- | sfx2/source/inc/objshimp.hxx | 5 | ||||
-rw-r--r-- | sfx2/source/inc/splitwin.hxx | 3 | ||||
-rw-r--r-- | sfx2/source/inc/workwin.hxx | 5 |
3 files changed, 3 insertions, 10 deletions
diff --git a/sfx2/source/inc/objshimp.hxx b/sfx2/source/inc/objshimp.hxx index 4f7cec72dd64..24bfb66d405a 100644 --- a/sfx2/source/inc/objshimp.hxx +++ b/sfx2/source/inc/objshimp.hxx @@ -67,13 +67,10 @@ struct SfxObjectShell_Impl : public ::sfx2::IMacroDocumentAccess sal_uInt16 nVisualDocumentNumber; SignatureState nDocumentSignatureState; SignatureState nScriptingSignatureState; - bool bInList:1, // if reachable by First/Next - bClosing:1, // sal_True while Close(), to prevent recurrences Notification + bool bClosing:1, // sal_True while Close(), to prevent recurrences Notification bIsSaving:1, - bPasswd:1, bIsNamedVisible:1, bIsAbortingImport:1, // Import operation should be canceled. - bImportDone : 1, // Import finished already? For auto reload of Docs. bInPrepareClose : 1, bPreparedForClose : 1, bForbidReload : 1, diff --git a/sfx2/source/inc/splitwin.hxx b/sfx2/source/inc/splitwin.hxx index fc113acd845a..f83eb2d74d06 100644 --- a/sfx2/source/inc/splitwin.hxx +++ b/sfx2/source/inc/splitwin.hxx @@ -35,7 +35,6 @@ struct SfxDock_Impl VclPtr<SfxDockingWindow> pWin; // SplitWindow has this window bool bNewLine; bool bHide; // SplitWindow had this window - long nSize; }; class SfxSplitWindow : public SplitWindow @@ -47,7 +46,6 @@ private: SfxWorkWindow* pWorkWin; std::vector<std::unique_ptr<SfxDock_Impl> > maDockArr; - bool bLocked; bool bPinned; VclPtr<SfxEmptySplitWin_Impl> pEmptyWin; VclPtr<SfxDockingWindow> pActive; @@ -100,7 +98,6 @@ public: void Lock( bool bLock=true ) { - bLocked = bLock; SetUpdateMode( !bLock ); } using Window::IsLocked; diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index 906425d4474f..7eb7e8a649e7 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -94,13 +94,12 @@ struct SfxChild_Impl SfxChildAlignment eAlign; SfxChildVisibility nVisible; bool bResize; - bool bCanGetFocus; bool bSetFocus; SfxChild_Impl( vcl::Window& rChild, const Size& rSize, SfxChildAlignment eAlignment, bool bIsVisible ): pWin(&rChild), aSize(rSize), eAlign(eAlignment), bResize(false), - bCanGetFocus( false ), bSetFocus( false ) + bSetFocus( false ) { nVisible = bIsVisible ? SfxChildVisibility::VISIBLE : SfxChildVisibility::NOT_VISIBLE; } @@ -253,7 +252,7 @@ public: // Methods for all Child windows void DataChanged_Impl(); void ReleaseChild_Impl( vcl::Window& rWindow ); - SfxChild_Impl* RegisterChild_Impl( vcl::Window& rWindow, SfxChildAlignment eAlign, bool bCanGetFocus ); + SfxChild_Impl* RegisterChild_Impl( vcl::Window& rWindow, SfxChildAlignment eAlign ); void ShowChildren_Impl(); void HideChildren_Impl(); bool PrepareClose_Impl(); |