diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-26 11:50:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-27 13:56:13 +0100 |
commit | a4a98dd0353db408708dd09a30fbfe6ada539770 (patch) | |
tree | 5f33b4f0428f1e192a735dcc68fda1ddc73b5579 /sfx2 | |
parent | 4a68aec049276ae3742efd9553258cd1a62c88b6 (diff) |
remove unused SfxViewShellFlags enum value
Change-Id: Ie754752203dcb066c69dff6effb835d7e1db1753
Reviewed-on: https://gerrit.libreoffice.org/64088
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/sfxbasecontroller.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/viewimp.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 6 |
3 files changed, 1 insertions, 8 deletions
diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index 697a78450279..1d3990b01322 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -1220,7 +1220,7 @@ void SfxBaseController::ConnectSfxFrame_Impl( const ConnectSfxFrame i_eConnect ) } vcl::Window* pEditWin = m_pData->m_pViewShell->GetWindow(); - if ( pEditWin && m_pData->m_pViewShell->IsShowView_Impl() ) + if ( pEditWin ) pEditWin->Show(); if ( SfxViewFrame::Current() == pViewFrame ) diff --git a/sfx2/source/view/viewimp.hxx b/sfx2/source/view/viewimp.hxx index 00b7b51590fe..756b7bcb8da1 100644 --- a/sfx2/source/view/viewimp.hxx +++ b/sfx2/source/view/viewimp.hxx @@ -44,7 +44,6 @@ struct SfxViewShell_Impl SfxShellArr_Impl aArr; Size aMargin; bool const m_bHasPrintOptions; - bool const m_bIsShowView; sal_uInt16 m_nFamily; ::rtl::Reference<SfxBaseController> m_pController; std::unique_ptr< ::svt::AcceleratorExecute > m_xAccExec; diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 04733ec20cfb..fa571944a96a 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -221,7 +221,6 @@ sal_uInt32 SfxViewShell_Impl::m_nLastViewShellId = 0; SfxViewShell_Impl::SfxViewShell_Impl(SfxViewShellFlags const nFlags) : aInterceptorContainer( aMutex ) , m_bHasPrintOptions(nFlags & SfxViewShellFlags::HAS_PRINTOPTIONS) -, m_bIsShowView(!(nFlags & SfxViewShellFlags::NO_SHOW)) , m_nFamily(0xFFFF) // undefined, default set by TemplateDialog , m_pLibreOfficeKitViewCallback(nullptr) , m_pLibreOfficeKitViewData(nullptr) @@ -1721,11 +1720,6 @@ void SfxViewShell::MarginChanged() { } -bool SfxViewShell::IsShowView_Impl() const -{ - return pImpl->m_bIsShowView; -} - void SfxViewShell::JumpToMark( const OUString& rMark ) { SfxStringItem aMarkItem( SID_JUMPTOMARK, rMark ); |