summaryrefslogtreecommitdiff
path: root/sw/source/uibase/config/usrpref.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/config/usrpref.cxx')
-rw-r--r--sw/source/uibase/config/usrpref.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/config/usrpref.cxx b/sw/source/uibase/config/usrpref.cxx
index a376d29eaad1..2dbc4b74d966 100644
--- a/sw/source/uibase/config/usrpref.cxx
+++ b/sw/source/uibase/config/usrpref.cxx
@@ -112,6 +112,7 @@ Sequence<OUString> SwContentViewConfig::GetPropertyNames() const
#if defined(__GNUC__) && !defined(__clang__)
// clang 8.0.0 says strcmp isn't constexpr
static_assert(std::strcmp("Update/Link", aPropNames[g_UpdateLinkIndex]) == 0);
+ static_assert(std::strcmp("Display/DefaultAnchor", aPropNames[g_DefaultAnchor]) == 0);
#endif
const int nCount = m_bWeb ? 12 : SAL_N_ELEMENTS(aPropNames);
Sequence<OUString> aNames(nCount);