starmath/source/document.cxx | 3 +-- starmath/source/smmod.cxx | 3 +-- starmath/source/unomodel.cxx | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-)
New commits: commit 733623d6d4de6ed3441269e3ecf3ed86066735c2 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Oct 20 10:23:58 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Oct 20 12:44:02 2021 +0200 combine these contiguous ranges Change-Id: I5f2b4ae72599fb16d567b3500fd1a77811e708a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123881 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> 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<SfxItemSetFixed< 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>>(GetPool()); + SID_AUTO_CLOSE_BRACKETS, SID_SMEDITWINDOWZOOM>>(GetPool()); SmModule *pp = SM_MOD(); pp->GetConfig()->ConfigToItemSet(*pOptions); mpPrinter = VclPtr<SfxPrinter>::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<SfxItemSet> 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<SfxPrinter> pPrinter = SfxPrinter::Create ( aStream, std::move(pItemSet) );