diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-20 10:23:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-10-20 12:44:02 +0200 |
commit | 733623d6d4de6ed3441269e3ecf3ed86066735c2 (patch) | |
tree | 5053e4044dadb36dc1bf9dddcbe4df5be9aed6f8 /starmath | |
parent | ec577f566fa3e6d2666069180f8ec8474054aea9 (diff) |
combine these contiguous ranges
Change-Id: I5f2b4ae72599fb16d567b3500fd1a77811e708a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123881
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/document.cxx | 3 | ||||
-rw-r--r-- | starmath/source/smmod.cxx | 3 | ||||
-rw-r--r-- | starmath/source/unomodel.cxx | 3 |
3 files changed, 3 insertions, 6 deletions
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) ); |