summaryrefslogtreecommitdiff
path: root/unotools/source/i18n
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 13:05:57 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 13:05:57 +0000
commitf2b2e80ed6bd9cfbfefa2ec0c7ac4a833b4d69bd (patch)
tree9caf8141f24edc13c121cb472bb64b4b114f4749 /unotools/source/i18n
parent91c4573adb20f2392fcaa77af82749df27dbeccc (diff)
INTEGRATION: CWS warnings01 (1.10.16); FILE MERGED
2005/12/21 11:41:10 fs 1.10.16.2: #i55991# warning-free code 2005/10/21 09:48:55 dbo 1.10.16.1: #i53898# warning free code
Diffstat (limited to 'unotools/source/i18n')
-rw-r--r--unotools/source/i18n/charclass.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/unotools/source/i18n/charclass.cxx b/unotools/source/i18n/charclass.cxx
index 336562361973..66adac976a25 100644
--- a/unotools/source/i18n/charclass.cxx
+++ b/unotools/source/i18n/charclass.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: charclass.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 09:43:47 $
+ * last change: $Author: hr $ $Date: 2006-06-19 14:05:57 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -54,9 +54,6 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#endif
-#pragma hdrstop
-
-
#define CHARCLASS_LIBRARYNAME "i18n"
#define CHARCLASS_SERVICENAME "com.sun.star.i18n.CharacterClassification"
@@ -558,6 +555,8 @@ sal_Int32 CharClass::getStringType( const String& rStr, xub_StrLen nPos, xub_Str
ByteString aMsg( "parseAnyToken: Exception caught\n" );
aMsg += ByteString( String( e.Message ), RTL_TEXTENCODING_UTF8 );
DBG_ERRORFILE( aMsg.GetBuffer() );
+#else
+ (void)e;
#endif
return ParseResult();
}
@@ -588,6 +587,8 @@ sal_Int32 CharClass::getStringType( const String& rStr, xub_StrLen nPos, xub_Str
ByteString aMsg( "parsePredefinedToken: Exception caught\n" );
aMsg += ByteString( String( e.Message ), RTL_TEXTENCODING_UTF8 );
DBG_ERRORFILE( aMsg.GetBuffer() );
+#else
+ (void)e;
#endif
return ParseResult();
}