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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user