summaryrefslogtreecommitdiff
path: root/reportdesign/source/filter/xml/xmlControlProperty.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/filter/xml/xmlControlProperty.cxx')
-rw-r--r--reportdesign/source/filter/xml/xmlControlProperty.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/reportdesign/source/filter/xml/xmlControlProperty.cxx b/reportdesign/source/filter/xml/xmlControlProperty.cxx
index 1bc323d466c1..4cebfa18a7ea 100644
--- a/reportdesign/source/filter/xml/xmlControlProperty.cxx
+++ b/reportdesign/source/filter/xml/xmlControlProperty.cxx
@@ -188,9 +188,9 @@ Any OXMLControlProperty::convertString(const css::uno::Type& _rExpectedType, con
bool bSuccess =
::sax::Converter::convertBool(bValue, _rReadCharacters);
OSL_ENSURE(bSuccess,
- OStringBuffer("OXMLControlProperty::convertString: could not convert \"").
- append(OUStringToOString(_rReadCharacters, RTL_TEXTENCODING_ASCII_US)).
- append("\" into a boolean!").getStr());
+ OStringBuffer("OXMLControlProperty::convertString: could not convert \"" +
+ OUStringToOString(_rReadCharacters, RTL_TEXTENCODING_ASCII_US) +
+ "\" into a boolean!").getStr());
aReturn <<= bValue;
}
break;
@@ -201,9 +201,9 @@ Any OXMLControlProperty::convertString(const css::uno::Type& _rExpectedType, con
bool bSuccess =
::sax::Converter::convertNumber(nValue, _rReadCharacters);
OSL_ENSURE(bSuccess,
- OStringBuffer("OXMLControlProperty::convertString: could not convert \"").
- append(OUStringToOString(_rReadCharacters, RTL_TEXTENCODING_ASCII_US)).
- append("\" into an integer!").getStr());
+ OStringBuffer("OXMLControlProperty::convertString: could not convert \"" +
+ OUStringToOString(_rReadCharacters, RTL_TEXTENCODING_ASCII_US) +
+ "\" into an integer!").getStr());
if (TypeClass_SHORT == _rExpectedType.getTypeClass())
aReturn <<= static_cast<sal_Int16>(nValue);
else
@@ -221,9 +221,9 @@ Any OXMLControlProperty::convertString(const css::uno::Type& _rExpectedType, con
bool bSuccess =
::sax::Converter::convertDouble(nValue, _rReadCharacters);
OSL_ENSURE(bSuccess,
- OStringBuffer("OXMLControlProperty::convertString: could not convert \"").
- append(OUStringToOString(_rReadCharacters, RTL_TEXTENCODING_ASCII_US)).
- append("\" into a double!").getStr());
+ OStringBuffer("OXMLControlProperty::convertString: could not convert \"" +
+ OUStringToOString(_rReadCharacters, RTL_TEXTENCODING_ASCII_US) +
+ "\" into a double!").getStr());
aReturn <<= nValue;
}
break;
@@ -250,9 +250,9 @@ Any OXMLControlProperty::convertString(const css::uno::Type& _rExpectedType, con
bool bSuccess =
::sax::Converter::convertDouble(nValue, _rReadCharacters);
OSL_ENSURE(bSuccess,
- OStringBuffer("OPropertyImport::convertString: could not convert \"").
- append(OUStringToOString(_rReadCharacters, RTL_TEXTENCODING_ASCII_US)).
- append("\" into a double!").getStr());
+ OStringBuffer("OPropertyImport::convertString: could not convert \"" +
+ OUStringToOString(_rReadCharacters, RTL_TEXTENCODING_ASCII_US) +
+ "\" into a double!").getStr());
// then convert it into the target type
switch (nType)