summaryrefslogtreecommitdiff
path: root/lotuswordpro/inc
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-18 10:10:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-24 09:45:04 +0100
commitbb06f51308428500c9c8d11ae05f0aa03ecc179c (patch)
treeb18620e8572ed6d4c43c8605660d59f5f7a7e531 /lotuswordpro/inc
parent42e8e16cf93dcf944e5c1106f76aaa32057c0397 (diff)
loplugin:stringviewparam extend to comparison operators
which means that some call sites have to change to use unicode string literals i.e. u"foo" instead of "foo" Change-Id: Ie51c3adf56d343dd1d1710777f9d2a43ee66221c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106125 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/inc')
-rw-r--r--lotuswordpro/inc/lwpfoundry.hxx2
-rw-r--r--lotuswordpro/inc/xfilter/xfstylecont.hxx2
-rw-r--r--lotuswordpro/inc/xfilter/xfstylemanager.hxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/lotuswordpro/inc/lwpfoundry.hxx b/lotuswordpro/inc/lwpfoundry.hxx
index fc9989107639..6f5776d3c286 100644
--- a/lotuswordpro/inc/lwpfoundry.hxx
+++ b/lotuswordpro/inc/lwpfoundry.hxx
@@ -267,7 +267,7 @@ public:
LwpSection* EnumSections(LwpSection* pSection);
LwpBulletStyleMgr* GetBulletStyleMgr() { return m_xBulletStyleMgr.get(); }
- LwpObjectID* FindParaStyleByName(const OUString& name);
+ LwpObjectID* FindParaStyleByName(std::u16string_view name);
OUString FindActuralStyleName(const OUString& name);
};
diff --git a/lotuswordpro/inc/xfilter/xfstylecont.hxx b/lotuswordpro/inc/xfilter/xfstylecont.hxx
index 601fbd252a61..f2617eefa3c8 100644
--- a/lotuswordpro/inc/xfilter/xfstylecont.hxx
+++ b/lotuswordpro/inc/xfilter/xfstylecont.hxx
@@ -109,7 +109,7 @@ public:
/**
* @descr get style by name.
*/
- IXFStyle* FindStyle(const OUString& name);
+ IXFStyle* FindStyle(std::u16string_view name);
/**
* @descr clear container.
diff --git a/lotuswordpro/inc/xfilter/xfstylemanager.hxx b/lotuswordpro/inc/xfilter/xfstylemanager.hxx
index d2de7b5759b9..c6a96f560823 100644
--- a/lotuswordpro/inc/xfilter/xfstylemanager.hxx
+++ b/lotuswordpro/inc/xfilter/xfstylemanager.hxx
@@ -95,11 +95,11 @@ public:
IXFStyleRet AddStyle(std::unique_ptr<IXFStyle> pStyle);
- IXFStyle* FindStyle(const OUString& name);
+ IXFStyle* FindStyle(std::u16string_view name);
- XFParaStyle* FindParaStyle(const OUString& name);
+ XFParaStyle* FindParaStyle(std::u16string_view name);
- XFTextStyle* FindTextStyle(const OUString& name);
+ XFTextStyle* FindTextStyle(std::u16string_view name);
void SetLineNumberConfig(XFLineNumberConfig *pLNConfig);