diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 10:57:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 13:41:03 +0200 |
commit | a5bbbba632c6aecb8cf24d906b05f145dea1fc41 (patch) | |
tree | e4ee31230a6247a4932b6840bfc33e3a6fb05de3 /sfx2/source/styles | |
parent | a46cf617e39be24f16d074c836d558eaa7f1f336 (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 'sfx2/source/styles')
-rw-r--r-- | sfx2/source/styles/StyleManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/styles/StyleManager.cxx b/sfx2/source/styles/StyleManager.cxx index 7d1525ebccac..83fc314d8407 100644 --- a/sfx2/source/styles/StyleManager.cxx +++ b/sfx2/source/styles/StyleManager.cxx @@ -20,7 +20,7 @@ SfxStyleSheetBase* StyleManager::Search(const OUString& rStyleName, SfxStyleFami pPool->SetSearchMask(eFamily); - SfxStyleSheetBase* pStyle = pPool->First(); + SfxStyleSheetBase* pStyle = pPool->First(eFamily); while (pStyle) { if (rStyleName == pStyle->GetName()) |