summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/frmview.cxx
diff options
context:
space:
mode:
authorCor Nouws <cor.nouws@documentfoundation.org>2024-04-11 21:01:18 +0200
committerJustin Luth <jluth@mail.com>2024-04-20 00:34:46 +0200
commit7c2ed9919d6d9d286d9062b91577d6bb2b7de8aa (patch)
treeb2ab75af5d6118805ec95dd33a2a281c11e2fbaa /sd/source/ui/view/frmview.cxx
parent3b7ffa204c6d04640b5e2f4d4c6b6b4a03fd26c8 (diff)
tdf#160601 add expert option for default slides per row in slide sorter
Change-Id: Ib122ad0fce8159c1ceb092bcc65a59ba1ad23bc9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166174 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins
Diffstat (limited to 'sd/source/ui/view/frmview.cxx')
-rw-r--r--sd/source/ui/view/frmview.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index 61b7bfdf2ecf..50cf9d636396 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -41,6 +41,7 @@
#include <comphelper/processfactory.hxx>
#include <sfx2/viewfrm.hxx>
#include <officecfg/Office/Common.hxx>
+#include <officecfg/Office/Impress.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -222,7 +223,7 @@ FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULL *
SetEliminatePolyPoints(false);
mbDoubleClickTextEdit = false;
mbClickChangeRotation = false;
- mnSlidesPerRow = 4;
+ mnSlidesPerRow = officecfg::Office::Impress::Misc::SorterSlidesPerRow::get();
{
bool bUseContrast = Application::GetSettings().GetStyleSettings().GetHighContrastMode();