summaryrefslogtreecommitdiff
path: root/sc/source/core/data/patattr.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-03 20:27:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-04 17:47:32 +0200
commit9ca3a372a45d146acb8efdda5c02bd10e1a14ab3 (patch)
treec5ca71a785cf789e784ca0531ed497b94fb7345c /sc/source/core/data/patattr.cxx
parentfe70f736de7e5e92fcedc4b123e419ec805fdece (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 'sc/source/core/data/patattr.cxx')
-rw-r--r--sc/source/core/data/patattr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx
index fc562b4b6092..3ac2bdcf4f96 100644
--- a/sc/source/core/data/patattr.cxx
+++ b/sc/source/core/data/patattr.cxx
@@ -1204,7 +1204,7 @@ void ScPatternAttr::UpdateStyleSheet(const ScDocument* pDoc)
// Assumes that "Standard" is always the 1st entry!
if (!pStyle)
{
- std::unique_ptr<SfxStyleSheetIterator> pIter = pDoc->GetStyleSheetPool()->CreateIterator( SfxStyleFamily::Para, SfxStyleSearchBits::All );
+ std::unique_ptr<SfxStyleSheetIterator> pIter = pDoc->GetStyleSheetPool()->CreateIterator(SfxStyleFamily::Para);
pStyle = dynamic_cast< ScStyleSheet* >(pIter->First());
}