[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sfx2/source

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 28 19:09:56 UTC 2019


 sfx2/source/doc/SfxRedactionHelper.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 40b8c8c912ea26227784d2f0ebf526c5f5d19b34
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Fri Jun 28 20:18:50 2019 +0300
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Fri Jun 28 15:01:01 2019 -0400

    Fix undefined reference to static constexpr for pre-C++17
    
    Change-Id: I451dba37688441f26aa48e62b1baa3aa24678073

diff --git a/sfx2/source/doc/SfxRedactionHelper.cxx b/sfx2/source/doc/SfxRedactionHelper.cxx
index 6e602b048acf..267d6eb938bd 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();


More information about the Libreoffice-commits mailing list