summaryrefslogtreecommitdiff
path: root/include/svtools/brwbox.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-06 19:58:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-07 06:58:12 +0100
commit8d5d06da8d01d46ede24bfc8e2789830493a5a7d (patch)
treee43caf357b93e8faa20f9037fa6bb3db68e89091 /include/svtools/brwbox.hxx
parent1580c31f616ac62e7989efd846a419ac9f63b7c5 (diff)
loplugin:passstuffbyref in svtools
Change-Id: I4e3d7d5fb6be857efc8327eb5113f874169bf778 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176155 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools/brwbox.hxx')
-rw-r--r--include/svtools/brwbox.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx
index 2100eac9e592..8fffe17108f2 100644
--- a/include/svtools/brwbox.hxx
+++ b/include/svtools/brwbox.hxx
@@ -528,7 +528,7 @@ public:
tools::Long GetTitleHeight() const;
// access to dynamic values of cursor row
- OUString GetColumnTitle( sal_uInt16 nColumnId ) const;
+ const OUString & GetColumnTitle( sal_uInt16 nColumnId ) const;
tools::Rectangle GetFieldRect( sal_uInt16 nColumnId ) const;
tools::Long GetColumnWidth( sal_uInt16 nColumnId ) const;
sal_uInt16 GetColumnId( sal_uInt16 nPos ) const;