From 003c837e9d029a671ea95f76da45573bbc260eea Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 18 Nov 2022 11:34:13 +0000 Subject: rename IsStarSymbol to IsOpenSymbol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If525ba9826f5bc2d860233cbabf58d1d290be054 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142936 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- editeng/source/editeng/impedit4.cxx | 2 +- editeng/source/items/legacyitem.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng') diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 85b771bc5a29..9f2b617428fa 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -362,7 +362,7 @@ ErrCode ImpEditEngine::WriteRTF( SvStream& rOutput, EditSelection aSel ) // of RTL_TEXTENCODING_MS_1252 and pay no attention // on export what encoding we claim to use for these // fonts. - if (IsStarSymbol(pFontItem->GetFamilyName())) + if (IsOpenSymbol(pFontItem->GetFamilyName())) eChrSet = RTL_TEXTENCODING_UTF8; DBG_ASSERT( eChrSet != 9, "SystemCharSet?!" ); if( RTL_TEXTENCODING_DONTKNOW == eChrSet ) diff --git a/editeng/source/items/legacyitem.cxx b/editeng/source/items/legacyitem.cxx index 786b86c917ab..96742f46fcae 100644 --- a/editeng/source/items/legacyitem.cxx +++ b/editeng/source/items/legacyitem.cxx @@ -107,7 +107,7 @@ namespace legacy SvStream& Store(const SvxFontItem& rItem, SvStream& rStrm, sal_uInt16) { - const bool bToBats(IsStarSymbol(rItem.GetFamilyName())); + const bool bToBats(IsOpenSymbol(rItem.GetFamilyName())); rStrm.WriteUChar(rItem.GetFamily()).WriteUChar(rItem.GetPitch()).WriteUChar(bToBats ? RTL_TEXTENCODING_SYMBOL : -- cgit v1.2.3