diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-03 20:27:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-04 17:47:32 +0200 |
commit | 9ca3a372a45d146acb8efdda5c02bd10e1a14ab3 (patch) | |
tree | c5ca71a785cf789e784ca0531ed497b94fb7345c /sw | |
parent | fe70f736de7e5e92fcedc4b123e419ec805fdece (diff) |
default CreateIterator mask to SfxStyleSearchBits::All
Change-Id: Ie79eff57646853613e8c6060adbce92dd388df5c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93357
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/docstyle.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/docstyle.hxx b/sw/inc/docstyle.hxx index d3160b6e54a7..229ed37e0e32 100644 --- a/sw/inc/docstyle.hxx +++ b/sw/inc/docstyle.hxx @@ -217,7 +217,7 @@ public: bool IsOrganizerMode() const { return bOrganizer; } - virtual std::unique_ptr<SfxStyleSheetIterator> CreateIterator( SfxStyleFamily, SfxStyleSearchBits nMask ) override; + virtual std::unique_ptr<SfxStyleSheetIterator> CreateIterator( SfxStyleFamily, SfxStyleSearchBits nMask = SfxStyleSearchBits::All) override; SwDoc& GetDoc() const { return rDoc; } diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 90a0f5a97d40..c57249326b32 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -906,7 +906,7 @@ uno::Sequence<OUString> XStyleFamily::getElementNames() if(!m_pBasePool) throw uno::RuntimeException(); std::vector<OUString> vRet; - std::unique_ptr<SfxStyleSheetIterator> pIt = m_pBasePool->CreateIterator(m_rEntry.m_eFamily, SfxStyleSearchBits::All); + std::unique_ptr<SfxStyleSheetIterator> pIt = m_pBasePool->CreateIterator(m_rEntry.m_eFamily); for (SfxStyleSheetBase* pStyle = pIt->First(); pStyle; pStyle = pIt->Next()) { OUString sName; |