summaryrefslogtreecommitdiff
path: root/sd/source
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 /sd/source
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 'sd/source')
-rw-r--r--sd/source/core/drawdoc3.cxx2
-rw-r--r--sd/source/ui/func/fuhhconv.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index fc4a1fd548b3..91e833156256 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -1515,7 +1515,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum,
static_cast<SdStyleSheetPool*>( mxStyleSheetPool.get())->SetSearchMask(SfxStyleFamily::Page);
StyleSheetCopyResultVector aCreatedStyles; // List of created stylesheets
- SfxStyleSheetBase* pHisSheet = pSourceStyleSheetPool->First();
+ SfxStyleSheetBase* pHisSheet = pSourceStyleSheetPool->First(SfxStyleFamily::Page);
while (pHisSheet)
{
diff --git a/sd/source/ui/func/fuhhconv.cxx b/sd/source/ui/func/fuhhconv.cxx
index eea58f039c93..45c29cc2c21e 100644
--- a/sd/source/ui/func/fuhhconv.cxx
+++ b/sd/source/ui/func/fuhhconv.cxx
@@ -155,7 +155,7 @@ void FuHangulHanjaConversion::ConvertStyles( LanguageType nTargetLanguage, const
if( !pStyleSheetPool )
return;
- SfxStyleSheetBase* pStyle = pStyleSheetPool->First();
+ SfxStyleSheetBase* pStyle = pStyleSheetPool->First(pStyleSheetPool->GetSearchFamily(), pStyleSheetPool->GetSearchMask());
while( pStyle )
{
SfxItemSet& rSet = pStyle->GetItemSet();