diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:01:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:27 +0100 |
commit | 63b891d3a6186a9bcd7770e05edd02317fe2baa0 (patch) | |
tree | 3a3def08a71e2fb36712572cb08af5171bfa095d /i18npool/source/defaultnumberingprovider | |
parent | dc61cc8c96dc7286076185b1fb09c7c9887601e0 (diff) |
bool improvements
Change-Id: I64b038ad3b8d423dad6707fb0b2fd2127b2050a3
Diffstat (limited to 'i18npool/source/defaultnumberingprovider')
-rw-r--r-- | i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx index 1694f32da925..9afb85cc8960 100644 --- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx +++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx @@ -632,7 +632,7 @@ DefaultNumberingProvider::makeNumberingString( const Sequence<beans::PropertyVal return OUString(""); // ignore prefix and suffix case PAGE_DESCRIPTOR: case BITMAP: - OSL_ASSERT(0); + OSL_ASSERT(false); throw IllegalArgumentException(); case CHARS_UPPER_LETTER_N: lcl_formatChars1( upperLetter, 26, number-1, result ); // 1=>A, 2=>B, ..., 26=>Z, 27=>AA, 28=>BB, ... @@ -849,7 +849,7 @@ DefaultNumberingProvider::makeNumberingString( const Sequence<beans::PropertyVal break; default: - OSL_ASSERT(0); + OSL_ASSERT(false); throw IllegalArgumentException(); } |