summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorVert D <devoptmsoi@gmx.com>2023-04-28 08:13:56 -0500
committerMike Kaganski <mike.kaganski@collabora.com>2023-05-02 14:22:55 +0200
commit332b620732d4f78625c6547a988fa9860ab0d7bd (patch)
tree3755e01998226a0c4e51db84838e9bb3d8c9079a /include/svx
parent0e5b5237d62422d152c4d54be5e5d2de2fa2f6e4 (diff)
tdf#154884 fix isFavChar, updateFavCharacterList deletes the correct pair
Change-Id: I98be8df93c5e3985e95f285e3cb9a2b600eb85c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151216 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/charmap.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx
index 71999368fd4a..8057eae3c1bd 100644
--- a/include/svx/charmap.hxx
+++ b/include/svx/charmap.hxx
@@ -78,7 +78,7 @@ public:
void SetFont( const vcl::Font& rFont );
vcl::Font const & GetFont() const { return maFont; }
FontCharMapRef const & GetFontCharMap();
- bool isFavChar(const OUString& sTitle, const OUString& rFont);
+ bool isFavChar(std::u16string_view sTitle, std::u16string_view rFont);
void getFavCharacterList(); //gets both Fav char and Fav char font list
void updateFavCharacterList(const OUString& rChar, const OUString& rFont);