diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/slidesorterbaropt.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/config/slidesorterbaropt.cxx b/svtools/source/config/slidesorterbaropt.cxx index 83b10595869c..770876048b42 100644 --- a/svtools/source/config/slidesorterbaropt.cxx +++ b/svtools/source/config/slidesorterbaropt.cxx @@ -358,7 +358,8 @@ SvtSlideSorterBarOptions::~SvtSlideSorterBarOptions() bool SvtSlideSorterBarOptions::GetVisibleImpressView() const { - return m_pImpl->m_bVisibleImpressView && !comphelper::LibreOfficeKit::isActive(); + static const bool bRunningUnitTest = getenv("LO_TESTNAME"); + return m_pImpl->m_bVisibleImpressView && (!bRunningUnitTest || !comphelper::LibreOfficeKit::isActive()); } void SvtSlideSorterBarOptions::SetVisibleImpressView(bool bVisible) |