summaryrefslogtreecommitdiff
path: root/xmlsecurity/inc/bitmaps.hlst
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-30 11:26:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-30 14:07:26 +0100
commit6da12ca82d7bdcbe6f83e9cc46fdb560f729bd63 (patch)
treefb8b68d6c9d44442d110ae6e6a70b8d1297dae55 /xmlsecurity/inc/bitmaps.hlst
parent81b3619fb59b617cda7335b5d6de32c5abf4e554 (diff)
loplugin:stringliteraldefine in various
Change-Id: Ib482e3982128dc47d88a79478d80eef43745d1b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126086 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/inc/bitmaps.hlst')
-rw-r--r--xmlsecurity/inc/bitmaps.hlst8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/inc/bitmaps.hlst b/xmlsecurity/inc/bitmaps.hlst
index add5c78f59ef..2d4ccd0c4423 100644
--- a/xmlsecurity/inc/bitmaps.hlst
+++ b/xmlsecurity/inc/bitmaps.hlst
@@ -9,13 +9,13 @@
#pragma once
-#define BMP_STATE_NOT_VALIDATED "xmlecurity/res/notcertificate_40x56.png"
+inline constexpr OUStringLiteral BMP_STATE_NOT_VALIDATED = u"xmlecurity/res/notcertificate_40x56.png";
#define BMP_CERT_OK "xmlsecurity/res/certificate_16.png"
#define BMP_CERT_NOT_OK "xmlsecurity/res/notcertificate_16.png"
-#define BMP_SIG_VALID "xmlsecurity/res/signet_11x16.png"
-#define BMP_SIG_INVALID "svx/res/caution_11x16.png"
-#define BMP_SIG_NOT_VALIDATED "xmlsecurity/res/notcertificate_16.png"
+inline constexpr OUStringLiteral BMP_SIG_VALID = u"xmlsecurity/res/signet_11x16.png";
+inline constexpr OUStringLiteral BMP_SIG_INVALID = u"svx/res/caution_11x16.png";
+inline constexpr OUStringLiteral BMP_SIG_NOT_VALIDATED = u"xmlsecurity/res/notcertificate_16.png";
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */