diff options
Diffstat (limited to 'forms/source/xforms/convert.cxx')
-rw-r--r-- | forms/source/xforms/convert.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx index 8ac5265fe721..2cf40983b873 100644 --- a/forms/source/xforms/convert.cxx +++ b/forms/source/xforms/convert.cxx @@ -209,12 +209,12 @@ namespace // ------------------------------------------------------------------------ OUString lcl_toXSD_bool( const Any& rAny ) - { bool b = false; rAny >>= b; return b ? OUSTRING("true") : OUSTRING("false"); } + { bool b = false; rAny >>= b; return b ? OUString("true") : OUString("false"); } // ------------------------------------------------------------------------ Any lcl_toAny_bool( const OUString& rStr ) { - bool b = ( rStr == OUSTRING("true") || rStr == OUSTRING("1") ); + bool b = ( rStr == "true" || rStr == "1" ); return makeAny( b ); } |