diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2023-12-29 00:47:56 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2024-01-03 00:01:55 +0100 |
commit | 9fc28d7ef5def30a23960cf15334af1aec27460f (patch) | |
tree | 9e40581d48a3eb01b4ad4f13080f6a0d1ceb8245 /sd/source/ui/unoidl | |
parent | aea27245d8c1d6965a2f853951f5eeea4921b166 (diff) |
Use officecfg instead of SvtSlideSorterBarOptions class
Change-Id: Ie2965f343e6df31502596c35e1d17c22bbccb142
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161451
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sd/source/ui/unoidl')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 52c95e556561..075ee6e383a7 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -33,6 +33,7 @@ #include <com/sun/star/embed/Aspects.hpp> #include <officecfg/Office/Common.hxx> +#include <officecfg/Office/Impress.hxx> #include <comphelper/indexedpropertyvalues.hxx> #include <comphelper/lok.hxx> #include <comphelper/propertyvalue.hxx> @@ -71,7 +72,6 @@ #include <svx/svdpool.hxx> #include <svx/svdpagv.hxx> #include <svtools/unoimap.hxx> -#include <svtools/slidesorterbaropt.hxx> #include <svx/unoshape.hxx> #include <editeng/unonrule.hxx> #include <editeng/eeitem.hxx> @@ -2631,10 +2631,10 @@ void SdXImpressDocument::initializeForTiledRendering(const css::uno::Sequence<cs // format auto xChanges = comphelper::ConfigurationChanges::create(); officecfg::Office::Common::Save::Document::WarnAlienFormat::set(false, xChanges); - xChanges->commit(); - if (!getenv("LO_TESTNAME")) - SvtSlideSorterBarOptions().SetVisibleImpressView(true); + if (!getenv("LO_TESTNAME") || !comphelper::LibreOfficeKit::isActive()) + officecfg::Office::Impress::MultiPaneGUI::SlideSorterBar::Visible::ImpressView::set(true,xChanges); + xChanges->commit(); } void SdXImpressDocument::postKeyEvent(int nType, int nCharCode, int nKeyCode) |