summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/misc/langtab.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx
index 9168dafa5145..92c91a6c7229 100644
--- a/svtools/source/misc/langtab.cxx
+++ b/svtools/source/misc/langtab.cxx
@@ -26,6 +26,7 @@
*
************************************************************************/
+#include <boost/static_assert.hpp>
#include <tools/shl.hxx>
@@ -122,6 +123,12 @@ SVT_DLLPUBLIC const String ApplyLreOrRleEmbedding( const String &rText )
//------------------------------------------------------------------------
+namespace {
+ BOOST_STATIC_ASSERT(
+ 16642 == STR_ARR_SVT_LANGUAGE_TABLE);
+// "The value of STR_ARR_SVT_LANGUAGE_TABLE has changed. wizards/com/sun/star/wizards/letter/LocaleCodes.java has this value hard coded, please adapt it to your change."
+}
+
SvtLanguageTable::SvtLanguageTable() :
ResStringArray( SvtResId( STR_ARR_SVT_LANGUAGE_TABLE ) )
{