diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-18 14:42:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-07-18 14:42:30 +0200 |
commit | deae1af649e247fd09e0522b4bcf0806603a5d9f (patch) | |
tree | 44cbb728691bf5b47ed1c2e1847e34b43b4c416a /comphelper | |
parent | aebf5bf22304c73e121b16dc0b51f909c5f34c28 (diff) |
Fix sense of SAL_WARN_IF conditions
Change-Id: Idd3dea4e42eb7f63447e1f804d90e991c801cdd3
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/configuration.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/configuration.cxx b/comphelper/source/misc/configuration.cxx index 8954f4fbc0c3..383e35f78657 100644 --- a/comphelper/source/misc/configuration.cxx +++ b/comphelper/source/misc/configuration.cxx @@ -199,7 +199,7 @@ rtl::OUString comphelper::detail::ConfigurationWrapper::extendLocalizedPath( css::uno::UNO_QUERY_THROW)-> getLocale()); SAL_WARN_IF( - locale.Language.indexOf('-') == -1, "comphelper", + locale.Language.indexOf('-') != -1, "comphelper", "Locale language \"" << locale.Language << "\" contains \"-\""); assert(locale.Language.indexOf('&') == -1); assert(locale.Language.indexOf('"') == -1); @@ -212,7 +212,7 @@ rtl::OUString comphelper::detail::ConfigurationWrapper::extendLocalizedPath( if (!locale.Country.isEmpty()) { buf.append('-'); SAL_WARN_IF( - locale.Country.indexOf('-') == -1, "comphelper", + locale.Country.indexOf('-') != -1, "comphelper", "Locale language \"" << locale.Country << "\" contains \"-\""); assert(locale.Country.indexOf('&') == -1); assert(locale.Country.indexOf('"') == -1); |