diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 12:14:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 15:37:02 +0200 |
commit | 4ce4d8e0d64867a47a8c7355894f6ae3d576db6d (patch) | |
tree | 13f364c5711841315b682391ba1d2611e932c817 /include/svl | |
parent | dc9771d36ec48c9d6a9d60cfb580469a80136f60 (diff) |
we want to invalidate the current iterator
if there isn't one we shouldn't need to create one to invalidate it
Change-Id: Ia936f71c18c45d8e08f013ffa143c196109495ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93471
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/style.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/style.hxx b/include/svl/style.hxx index 85be6cc124ba..3a35531d2d68 100644 --- a/include/svl/style.hxx +++ b/include/svl/style.hxx @@ -230,8 +230,9 @@ friend class SfxStyleSheetBase; std::unique_ptr<SfxStyleSheetBasePool_Impl> pImpl; -protected: SfxStyleSheetIterator& GetIterator_Impl(SfxStyleFamily eFamily, SfxStyleSearchBits eMask); +protected: + SfxStyleSheetIterator* GetCachedIterator(); SfxItemPool& rPool; SfxStyleFamily nSearchFamily; |