summaryrefslogtreecommitdiff
path: root/forms/source/xforms/datatypes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/datatypes.cxx')
-rw-r--r--forms/source/xforms/datatypes.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx
index d9278a4a0860..ce88648dbc05 100644
--- a/forms/source/xforms/datatypes.cxx
+++ b/forms/source/xforms/datatypes.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -213,7 +213,7 @@ namespace xforms
static void lcl_initializePatternMatcher( ::std::auto_ptr< RegexMatcher >& _rpMatcher, const ::rtl::OUString& _rPattern )
{
UErrorCode nMatchStatus = U_ZERO_ERROR;
- UnicodeString aIcuPattern( reinterpret_cast<const UChar *>(_rPattern.getStr()), _rPattern.getLength() ); // UChar != sal_Unicode in MinGW
+ UnicodeString aIcuPattern( reinterpret_cast<const UChar *>(_rPattern.getStr()), _rPattern.getLength() ); // UChar != sal_Unicode in MinGW
_rpMatcher.reset( new RegexMatcher( aIcuPattern, 0, nMatchStatus ) );
OSL_ENSURE( U_SUCCESS( nMatchStatus ), "lcl_initializePatternMatcher: invalid pattern property!" );
// if asserts, then something changed our pattern without going to convertFastPropertyValue/checkPropertySanity
@@ -222,7 +222,7 @@ namespace xforms
static bool lcl_matchString( RegexMatcher& _rMatcher, const ::rtl::OUString& _rText )
{
UErrorCode nMatchStatus = U_ZERO_ERROR;
- UnicodeString aInput( reinterpret_cast<const UChar *>(_rText.getStr()), _rText.getLength() ); // UChar != sal_Unicode in MinGW
+ UnicodeString aInput( reinterpret_cast<const UChar *>(_rText.getStr()), _rText.getLength() ); // UChar != sal_Unicode in MinGW
_rMatcher.reset( aInput );
if ( _rMatcher.matches( nMatchStatus ) )
{
@@ -296,7 +296,7 @@ namespace xforms
::rtl::OUString sPattern;
OSL_VERIFY( _rNewValue >>= sPattern );
- UnicodeString aIcuPattern( reinterpret_cast<const UChar *>(sPattern.getStr()), sPattern.getLength() ); // UChar != sal_Unicode in MinGW
+ UnicodeString aIcuPattern( reinterpret_cast<const UChar *>(sPattern.getStr()), sPattern.getLength() ); // UChar != sal_Unicode in MinGW
UErrorCode nMatchStatus = U_ZERO_ERROR;
RegexMatcher aMatcher( aIcuPattern, 0, nMatchStatus );
if ( U_FAILURE( nMatchStatus ) )
@@ -770,7 +770,7 @@ namespace xforms
}
//====================================================================
- //=
+ //=
//====================================================================
#define DEFAULT_IMPLEMNENT_SUBTYPE( classname, typeclass ) \
classname::classname( const ::rtl::OUString& _rName ) \