diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-06-03 10:19:28 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-06-03 12:16:50 +0300 |
commit | 5f39d1078f01e440e719acca34688b2768d66807 (patch) | |
tree | d294e22833e21e411d8dcd8501fa202144e0e47e /svtools | |
parent | 6ce92bc266785b5347c0757e1245187e2c00cfaf (diff) |
lok: Avoid instantiation of the slide sorter bar
Change-Id: Ia21bea54d1d6bd34256cb45ed704c6f7785fc2fc
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/slidesorterbaropt.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svtools/source/config/slidesorterbaropt.cxx b/svtools/source/config/slidesorterbaropt.cxx index dd62de329771..9c729c089c96 100644 --- a/svtools/source/config/slidesorterbaropt.cxx +++ b/svtools/source/config/slidesorterbaropt.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> +#include <comphelper/lok.hxx> #include <rtl/instance.hxx> using namespace ::utl; @@ -345,7 +346,7 @@ SvtSlideSorterBarOptions::~SvtSlideSorterBarOptions() bool SvtSlideSorterBarOptions::GetVisibleImpressView() const { - return m_pDataContainer->m_bVisibleImpressView; + return m_pDataContainer->m_bVisibleImpressView && !comphelper::LibreOfficeKit::isActive(); } void SvtSlideSorterBarOptions::SetVisibleImpressView(bool bVisible) @@ -385,7 +386,7 @@ void SvtSlideSorterBarOptions::SetVisibleHandoutView(bool bVisible) bool SvtSlideSorterBarOptions::GetVisibleSlideSorterView() const { - return m_pDataContainer->m_bVisibleSlideSorterView; + return m_pDataContainer->m_bVisibleSlideSorterView && !comphelper::LibreOfficeKit::isActive(); } void SvtSlideSorterBarOptions::SetVisibleSlideSorterView(bool bVisible) |