diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-17 19:06:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-18 07:20:51 +0000 |
commit | 4b9acb48b1ea45c82dbd8df3faa35cabd3bb9b4d (patch) | |
tree | 963dde5c91fc5030365b8dcf035bac57e26436f3 /sc/source/filter/oox/worksheethelper.cxx | |
parent | 6f54b54ec3dc51fb8824adb08620fde4c70d10f2 (diff) |
loplugin:stringadd use more O[U]StringChar
Change-Id: I196e4539ad430a39415eff9d7170b33df7228230
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149062
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/oox/worksheethelper.cxx')
-rw-r--r-- | sc/source/filter/oox/worksheethelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index 7bf652107475..6ea756f884ce 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -1014,7 +1014,7 @@ OUString WorksheetGlobals::getHyperlinkUrl( const HyperlinkModel& rHyperlink ) c if( !rHyperlink.maTarget.isEmpty() ) aUrlBuffer.append( getBaseFilter().getAbsoluteUrl( rHyperlink.maTarget ) ); if( !rHyperlink.maLocation.isEmpty() ) - aUrlBuffer.append( '#' ).append( rHyperlink.maLocation ); + aUrlBuffer.append( "#" + rHyperlink.maLocation ); OUString aUrl = aUrlBuffer.makeStringAndClear(); if( aUrl.startsWith("#") ) |