diff options
author | Kevin Suo <suokunlong@126.com> | 2021-11-03 19:38:16 +0800 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-11-03 14:35:18 +0100 |
commit | ac3266cccc3b65d1bfc1319d55fb0d1b35e96f65 (patch) | |
tree | b417eab1ecbb9ced88ecbfde88c3b821c7577c25 /sc | |
parent | 643bbf9e47e909b2d4acefaee791c9dd7d9e4a8d (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>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/orcus/interface.cxx | 2 |
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; } |