From 733623d6d4de6ed3441269e3ecf3ed86066735c2 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 20 Oct 2021 10:23:58 +0100 Subject: combine these contiguous ranges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5f2b4ae72599fb16d567b3500fd1a77811e708a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123881 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- starmath/source/document.cxx | 3 +-- starmath/source/smmod.cxx | 3 +-- starmath/source/unomodel.cxx | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'starmath') diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index b71cef3720b7..dde2dd1cfc6b 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -495,8 +495,7 @@ Printer* SmDocShell::GetPrt() auto pOptions = std::make_unique>(GetPool()); + SID_AUTO_CLOSE_BRACKETS, SID_SMEDITWINDOWZOOM>>(GetPool()); SmModule *pp = SM_MOD(); pp->GetConfig()->ConfigToItemSet(*pOptions); mpPrinter = VclPtr::Create(std::move(pOptions)); diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx index 2365e877e992..484c4af4a6dd 100644 --- a/starmath/source/smmod.cxx +++ b/starmath/source/smmod.cxx @@ -210,8 +210,7 @@ std::optional SmModule::CreateItemSet( sal_uInt16 nId ) svl::Items< //TP_SMPRINT SID_PRINTTITLE, SID_PRINTZOOM, SID_NO_RIGHT_SPACES, SID_SAVE_ONLY_USED_SYMBOLS, - SID_AUTO_CLOSE_BRACKETS, SID_AUTO_CLOSE_BRACKETS, - SID_SMEDITWINDOWZOOM, SID_SMEDITWINDOWZOOM>); + SID_AUTO_CLOSE_BRACKETS, SID_SMEDITWINDOWZOOM>); GetConfig()->ConfigToItemSet(*pRet); } diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 1420a3244815..3a5b6805b420 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -609,8 +609,7 @@ void SmModel::_setPropertyValues(const PropertyMapEntry** ppEntries, const Any* SID_PRINTZOOM, SID_PRINTZOOM, SID_NO_RIGHT_SPACES, SID_NO_RIGHT_SPACES, SID_SAVE_ONLY_USED_SYMBOLS, SID_SAVE_ONLY_USED_SYMBOLS, - SID_AUTO_CLOSE_BRACKETS, SID_AUTO_CLOSE_BRACKETS, - SID_SMEDITWINDOWZOOM, SID_SMEDITWINDOWZOOM>> ( SmDocShell::GetPool() ); + SID_AUTO_CLOSE_BRACKETS, SID_SMEDITWINDOWZOOM>> ( SmDocShell::GetPool() ); SmModule *pp = SM_MOD(); pp->GetConfig()->ConfigToItemSet(*pItemSet); VclPtr pPrinter = SfxPrinter::Create ( aStream, std::move(pItemSet) ); -- cgit