summaryrefslogtreecommitdiff
path: root/sw/inc/tblafmt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/tblafmt.hxx')
-rw-r--r--sw/inc/tblafmt.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx
index 0a6866c3cb2a..2873f51e9196 100644
--- a/sw/inc/tblafmt.hxx
+++ b/sw/inc/tblafmt.hxx
@@ -292,7 +292,7 @@ public:
std::unique_ptr<SwTableAutoFormat> ReleaseAutoFormat(const OUString& rName);
/// Find table style with the provided name, return nullptr when not found.
- SwTableAutoFormat* FindAutoFormat(const OUString& rName) const;
+ SwTableAutoFormat* FindAutoFormat(std::u16string_view rName) const;
void Load();
bool Save() const;
@@ -321,11 +321,11 @@ public:
/// Add a copy of rBoxFormat
void AddBoxFormat(const SwBoxAutoFormat& rBoxFormat, const OUString& sName);
void RemoveBoxFormat(const OUString& sName);
- void ChangeBoxFormatName(const OUString& sFromName, const OUString& sToName);
+ void ChangeBoxFormatName(std::u16string_view sFromName, const OUString& sToName);
/// If found returns its name. If not found returns an empty OUString
OUString GetBoxFormatName(const SwBoxAutoFormat& rBoxFormat) const;
/// If found returns a ptr to a BoxFormat. If not found returns nullptr
- SwBoxAutoFormat* GetBoxFormat(const OUString& sName) const;
+ SwBoxAutoFormat* GetBoxFormat(std::u16string_view sName) const;
};
#endif