diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-16 17:14:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-17 16:12:02 +0000 |
commit | 83d2c5180d255532b7cdf5d2922fee1cf056eef3 (patch) | |
tree | 7a58db4a6723008afe96e17185a69aa17a864e1f /oox | |
parent | 87707670c993794ab12b0fad0f048f11429269c2 (diff) |
Adapt to no-longer explicit OUStringLiteral ctor
...from previous commit
Change-Id: I062b7cd212c17e7eb5274476e6859228d0477c7f
Reviewed-on: https://gerrit.libreoffice.org/32098
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/shapes.cxx | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index cd139b8496b5..c28efd840878 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -533,64 +533,64 @@ ShapeExport& ShapeExport::WriteGroupShape(const uno::Reference<drawing::XShape>& static bool lcl_IsOnBlacklist(OUString& rShapeType) { static const std::initializer_list<OUStringLiteral> vBlacklist = { - OUStringLiteral("block-arc"), - OUStringLiteral("rectangle"), - OUStringLiteral("ellipse"), - OUStringLiteral("ring"), - OUStringLiteral("can"), - OUStringLiteral("cube"), - OUStringLiteral("paper"), - OUStringLiteral("frame"), - OUStringLiteral("smiley"), - OUStringLiteral("sun"), - OUStringLiteral("flower"), - OUStringLiteral("bracket-pair"), - OUStringLiteral("brace-pair"), - OUStringLiteral("col-60da8460"), - OUStringLiteral("col-502ad400"), - OUStringLiteral("quad-bevel"), - OUStringLiteral("round-rectangular-callout"), - OUStringLiteral("rectangular-callout"), - OUStringLiteral("round-callout"), - OUStringLiteral("cloud-callout"), - OUStringLiteral("line-callout-1"), - OUStringLiteral("line-callout-2"), - OUStringLiteral("line-callout-3"), - OUStringLiteral("paper"), - OUStringLiteral("vertical-scroll"), - OUStringLiteral("horizontal-scroll"), - OUStringLiteral("mso-spt34"), - OUStringLiteral("mso-spt75"), - OUStringLiteral("mso-spt164"), - OUStringLiteral("mso-spt180"), - OUStringLiteral("flowchart-process"), - OUStringLiteral("flowchart-alternate-process"), - OUStringLiteral("flowchart-decision"), - OUStringLiteral("flowchart-data"), - OUStringLiteral("flowchart-predefined-process"), - OUStringLiteral("flowchart-internal-storage"), - OUStringLiteral("flowchart-document"), - OUStringLiteral("flowchart-multidocument"), - OUStringLiteral("flowchart-terminator"), - OUStringLiteral("flowchart-preparation"), - OUStringLiteral("flowchart-manual-input"), - OUStringLiteral("flowchart-manual-operation"), - OUStringLiteral("flowchart-connector"), - OUStringLiteral("flowchart-off-page-connector"), - OUStringLiteral("flowchart-card"), - OUStringLiteral("flowchart-punched-tape"), - OUStringLiteral("flowchart-summing-junction"), - OUStringLiteral("flowchart-or"), - OUStringLiteral("flowchart-collate"), - OUStringLiteral("flowchart-sort"), - OUStringLiteral("flowchart-extract"), - OUStringLiteral("flowchart-merge"), - OUStringLiteral("flowchart-stored-data"), - OUStringLiteral("flowchart-delay"), - OUStringLiteral("flowchart-sequential-access"), - OUStringLiteral("flowchart-magnetic-disk"), - OUStringLiteral("flowchart-direct-access-storage"), - OUStringLiteral("flowchart-display") + "block-arc", + "rectangle", + "ellipse", + "ring", + "can", + "cube", + "paper", + "frame", + "smiley", + "sun", + "flower", + "bracket-pair", + "brace-pair", + "col-60da8460", + "col-502ad400", + "quad-bevel", + "round-rectangular-callout", + "rectangular-callout", + "round-callout", + "cloud-callout", + "line-callout-1", + "line-callout-2", + "line-callout-3", + "paper", + "vertical-scroll", + "horizontal-scroll", + "mso-spt34", + "mso-spt75", + "mso-spt164", + "mso-spt180", + "flowchart-process", + "flowchart-alternate-process", + "flowchart-decision", + "flowchart-data", + "flowchart-predefined-process", + "flowchart-internal-storage", + "flowchart-document", + "flowchart-multidocument", + "flowchart-terminator", + "flowchart-preparation", + "flowchart-manual-input", + "flowchart-manual-operation", + "flowchart-connector", + "flowchart-off-page-connector", + "flowchart-card", + "flowchart-punched-tape", + "flowchart-summing-junction", + "flowchart-or", + "flowchart-collate", + "flowchart-sort", + "flowchart-extract", + "flowchart-merge", + "flowchart-stored-data", + "flowchart-delay", + "flowchart-sequential-access", + "flowchart-magnetic-disk", + "flowchart-direct-access-storage", + "flowchart-display" }; return std::find(vBlacklist.begin(), vBlacklist.end(), rShapeType) != vBlacklist.end(); @@ -599,9 +599,9 @@ static bool lcl_IsOnBlacklist(OUString& rShapeType) static bool lcl_IsOnWhitelist(OUString& rShapeType) { static const std::initializer_list<OUStringLiteral> vWhitelist = { - OUStringLiteral("forbidden"), - OUStringLiteral("heart"), - OUStringLiteral("puzzle") + "forbidden", + "heart", + "puzzle" }; return std::find(vWhitelist.begin(), vWhitelist.end(), rShapeType) != vWhitelist.end(); |