summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-06-28 20:18:50 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-08-17 16:41:50 +0200
commit372676e1bb5cc951240b8801b7e9791899b8202a (patch)
treed04f99895042add4753cae10b8dbcd32d49bd621 /sfx2
parent35913ab8151eb084c00d099aefc3112eb2c146e5 (diff)
Fix undefined reference to static constexpr for pre-C++17
Change-Id: I451dba37688441f26aa48e62b1baa3aa24678073 Reviewed-on: https://gerrit.libreoffice.org/77168 Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com> Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'sfx2')
-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 6fff84c6b5da..fb3181db898b 100644
--- a/sfx2/source/doc/SfxRedactionHelper.cxx
+++ b/sfx2/source/doc/SfxRedactionHelper.cxx
@@ -60,6 +60,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();