summaryrefslogtreecommitdiff
path: root/sc/source/core/data/docpool.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/docpool.cxx')
-rw-r--r--sc/source/core/data/docpool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx
index a4691f69ef81..f49f99bd0c69 100644
--- a/sc/source/core/data/docpool.cxx
+++ b/sc/source/core/data/docpool.cxx
@@ -358,7 +358,7 @@ void ScDocumentPool::StyleDeleted( const ScStyleSheet* pStyle )
}
}
-void ScDocumentPool::CellStyleCreated( const OUString& rName, const ScDocument& rDoc )
+void ScDocumentPool::CellStyleCreated( std::u16string_view rName, const ScDocument& rDoc )
{
// If a style was created, don't keep any pattern with its name string in the pool,
// because it would compare equal to a pattern with a pointer to the new style.