diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 11:24:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 14:16:17 +0200 |
commit | e0eadb23c19b1963b08c49b68b228925c27b2a21 (patch) | |
tree | 9f53a23b6f8b1b9b7e7f8354a5156402dd81071c /sd | |
parent | a5bbbba632c6aecb8cf24d906b05f145dea1fc41 (diff) |
FuHangulHanjaConversion::ConvertStyles reused current search family
it doesn't look right to me that tools->language->chinese_conversion operates
differently depending on what happened to get selected in the style navigator
last, presumably it should work on all styles
Change-Id: Iff698ee25e5e85899542891260091428ea77873d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93467
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fuhhconv.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuhhconv.cxx b/sd/source/ui/func/fuhhconv.cxx index 45c29cc2c21e..a312439bb646 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(pStyleSheetPool->GetSearchFamily(), pStyleSheetPool->GetSearchMask()); + SfxStyleSheetBase* pStyle = pStyleSheetPool->First(SfxStyleFamily::All); while( pStyle ) { SfxItemSet& rSet = pStyle->GetItemSet(); |