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; }