summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-05 10:57:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-05 13:41:03 +0200
commita5bbbba632c6aecb8cf24d906b05f145dea1fc41 (patch)
treee4ee31230a6247a4932b6840bfc33e3a6fb05de3 /sc/source/core
parenta46cf617e39be24f16d074c836d558eaa7f1f336 (diff)
make the family and mask explicit in SfxStyleSheetBasePool::First
Change-Id: I36655b65ca00e5f7b8779a28d4a1778c8e35dc4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93461 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/data/stlpool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/stlpool.cxx b/sc/source/core/data/stlpool.cxx
index eda1f25551ef..8f38c8846da2 100644
--- a/sc/source/core/data/stlpool.cxx
+++ b/sc/source/core/data/stlpool.cxx
@@ -422,7 +422,7 @@ ScStyleSheet* ScStyleSheetPool::FindCaseIns( const OUString& rName, SfxStyleFami
void ScStyleSheetPool::setAllStandard()
{
- SfxStyleSheetBase* pSheet = First();
+ SfxStyleSheetBase* pSheet = First(GetSearchFamily(), GetSearchMask());
while (pSheet)
{
pSheet->SetMask(SfxStyleSearchBits::ScStandard);