summaryrefslogtreecommitdiff
path: root/oox/source/export/shapes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/export/shapes.cxx')
-rw-r--r--oox/source/export/shapes.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 6cf8246a79d4..b5d4a450b94b 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -533,7 +533,7 @@ ShapeExport& ShapeExport::WriteGroupShape(const uno::Reference<drawing::XShape>&
return *this;
}
-static bool lcl_IsOnBlacklist(OUString& rShapeType)
+static bool lcl_IsOnBlacklist(OUString const & rShapeType)
{
static const std::initializer_list<OUStringLiteral> vBlacklist = {
"block-arc",
@@ -599,7 +599,7 @@ static bool lcl_IsOnBlacklist(OUString& rShapeType)
return std::find(vBlacklist.begin(), vBlacklist.end(), rShapeType) != vBlacklist.end();
}
-static bool lcl_IsOnWhitelist(OUString& rShapeType)
+static bool lcl_IsOnWhitelist(OUString const & rShapeType)
{
static const std::initializer_list<OUStringLiteral> vWhitelist = {
"forbidden",