summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Suo <suokunlong@126.com>2021-11-03 19:38:16 +0800
committerMike Kaganski <mike.kaganski@collabora.com>2021-11-03 14:35:18 +0100
commitac3266cccc3b65d1bfc1319d55fb0d1b35e96f65 (patch)
treeb417eab1ecbb9ced88ecbfde88c3b821c7577c25
parent643bbf9e47e909b2d4acefaee791c9dd7d9e4a8d (diff)
This aParentName can be const
Change-Id: If3d94b7b8e9b10934b1be0771c4c85536bc750f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124642 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r--sc/source/filter/orcus/interface.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx
index 65ace1c123ed..0947b5dd650c 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -2160,7 +2160,7 @@ void ScOrcusStyles::set_cell_style_builtin(size_t index)
void ScOrcusStyles::set_cell_style_parent_name(const char* s, size_t n)
{
- OUString aParentName(s, n, mrFactory.getGlobalSettings().getTextEncoding());
+ const OUString aParentName(s, n, mrFactory.getGlobalSettings().getTextEncoding());
maCurrentCellStyle.maParentName = aParentName;
}