diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-24 15:14:53 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-24 15:16:00 +0200 |
commit | 117fb70532aeae01327bfe0d828ef8a2d4793b85 (patch) | |
tree | 4e017759e5c817635c379d79b171ff3964b0a052 /svtools/source/misc | |
parent | 9b2ec8c2a3478047a270b31bc25ad1d782401306 (diff) |
fdo#51659: static assertion for STR_ARR_SVT_LANGUAGE_TABLE
Change-Id: I5588198452a609dd541d51ac7a84cd5773949ae7
Diffstat (limited to 'svtools/source/misc')
-rw-r--r-- | svtools/source/misc/langtab.cxx | 7 |
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 ) ) { |