summaryrefslogtreecommitdiff
path: root/include/basic
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-04-05 09:38:11 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-04-05 11:30:24 +0200
commitb32c85d0beb219e9f4ba9f043ae712b5d3ce2c18 (patch)
treef29948fc2b78d264188eb882e155612bd06476cc /include/basic
parent2ad6a4b547bcb62567836fa1c05f88c0051ac729 (diff)
Move creation of case-insensitive variable name to a central place
SbxVariable::NameToCaseInsensitiveName might then be used wherever such names may be needed (see e.g. tdf#148358). Change-Id: I7749a12a05225398848cbf72700c6f0bc119bc22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132561 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/basic')
-rw-r--r--include/basic/sbxvar.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx
index d302f26637bd..01f5b650ebe0 100644
--- a/include/basic/sbxvar.hxx
+++ b/include/basic/sbxvar.hxx
@@ -271,6 +271,7 @@ public:
void SetName( const OUString& );
const OUString& GetName( SbxNameType = SbxNameType::NONE ) const;
sal_uInt16 GetHashCode() const { return nHash; }
+ static OUString NameToCaseInsensitiveName(const OUString& rName);
virtual void SetModified( bool ) override;