summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-06-28 20:18:50 +0300
committerAndras Timar <andras.timar@collabora.com>2020-05-17 10:17:34 +0200
commitc840a37f0e0b5060c4c8de2e26b9a09b435bf40d (patch)
tree722914610093e26365096c91f4c0e6210f825024
parentacbb1b92d53ba77528b941254e5a08b3a39a89b4 (diff)
Fix undefined reference to static constexpr for pre-C++17
Change-Id: I451dba37688441f26aa48e62b1baa3aa24678073
-rw-r--r--sfx2/source/doc/SfxRedactionHelper.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/doc/SfxRedactionHelper.cxx b/sfx2/source/doc/SfxRedactionHelper.cxx
index cdbc91f450af..8d35323d112f 100644
--- a/sfx2/source/doc/SfxRedactionHelper.cxx
+++ b/sfx2/source/doc/SfxRedactionHelper.cxx
@@ -62,6 +62,8 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
+constexpr OUStringLiteral SfxRedactionHelper::m_aPredefinedTargets[6];
+
bool SfxRedactionHelper::isRedactMode(const SfxRequest& rReq)
{
const SfxItemSet* pArgs = rReq.GetArgs();