summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-11-19 08:16:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-11-19 09:25:35 +0100
commit50e644253f78ab002f180fb8e82ca181b95cb7ff (patch)
treecc4466142328cd1c8011ee83be1b120237f4d277 /vcl
parentadc8dfe0faa36ffc40e5193c25bf303a6bda91c0 (diff)
Take array-to-pointer decay into account in loplugin:redundantcast
Change-Id: I3c5bace180605d1a72a74feb1bf9f9b184a16d83 Reviewed-on: https://gerrit.libreoffice.org/63545 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/workben/vcldemo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 59d121b70c28..eab50a288175 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -523,8 +523,8 @@ public:
const char *mpString;
} const aRuns[] = {
#define SET(font,string) { font, reinterpret_cast<const char *>(string) }
- SET("sans", "a"), // logical font - no 'sans' font.
- SET("opensymbol", "#$%"), // font fallback - $ is missing.
+ {"sans", "a"}, // logical font - no 'sans' font.
+ {"opensymbol", "#$%"}, // font fallback - $ is missing.
SET("sans", pInvalid), // unicode invalid character
// tdf#96266 - stacking diacritics
SET("carlito", pDiacritic1),