summaryrefslogtreecommitdiff
path: root/sw/inc/unotbl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-10-10 12:09:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-10-11 08:44:09 +0200
commit71337b4327805b73e92c995153c5746d89793b13 (patch)
treefd66764b57912cb2a8b86618e97f1e90d607d2cd /sw/inc/unotbl.hxx
parentbab44a97d21d0ac8a8a06678e71024c1a830943f (diff)
use more string_view in sw
Change-Id: Ibefb8549834ba5011286e3221f1ae276e2c0c0bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141153 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unotbl.hxx')
-rw-r--r--sw/inc/unotbl.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index 3522beb6b998..178989fbaefc 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -279,7 +279,7 @@ public:
SW_DLLPUBLIC static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
- SW_DLLPUBLIC static void GetCellPosition(const OUString& rCellName, sal_Int32& o_rColumn, sal_Int32& o_rRow);
+ SW_DLLPUBLIC static void GetCellPosition(std::u16string_view aCellName, sal_Int32& o_rColumn, sal_Int32& o_rRow);
SW_DLLPUBLIC SwFrameFormat* GetFrameFormat();
@@ -500,17 +500,17 @@ public:
};
int sw_CompareCellRanges(
- const OUString &rRange1StartCell, const OUString &rRange1EndCell,
- const OUString &rRange2StartCell, const OUString &rRange2EndCell,
+ std::u16string_view aRange1StartCell, std::u16string_view aRange1EndCell,
+ std::u16string_view aRange2StartCell, std::u16string_view aRange2EndCell,
bool bCmpColsFirst );
void sw_NormalizeRange( OUString &rCell1, OUString &rCell2 );
OUString sw_GetCellName( sal_Int32 nColumn, sal_Int32 nRow );
-int sw_CompareCellsByColFirst( const OUString &rCellName1, const OUString &rCellName2 );
+int sw_CompareCellsByColFirst( std::u16string_view aCellName1, std::u16string_view aCellName2 );
-int sw_CompareCellsByRowFirst( const OUString &rCellName1, const OUString &rCellName2 );
+int sw_CompareCellsByRowFirst( std::u16string_view aCellName1, std::u16string_view aCellName2 );
#endif