diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-14 08:16:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-14 08:17:32 +0200 |
commit | d366c9b20ec86f3fe521812a0c22def3bfd1f05e (patch) | |
tree | 4bd09438c8cd8f0dbcd0881fc923d56a0a721fc5 /reportdesign | |
parent | d2fa59e4025050c9b668ecff379d668f0db52639 (diff) |
remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
Diffstat (limited to 'reportdesign')
3 files changed, 9 insertions, 9 deletions
diff --git a/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx index 7f106937abff..6e91557511f1 100644 --- a/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx +++ b/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx @@ -53,7 +53,7 @@ OUString lcl_createAttribute(const xmloff::token::XMLTokenEnum& _eNamespace,cons OUStringBuffer sQName; // ...if it's in our map, make the prefix sQName.append ( xmloff::token::GetXMLToken(_eNamespace) ); - sQName.append ( sal_Unicode(':') ); + sQName.append ( ':' ); sQName.append ( xmloff::token::GetXMLToken(_eAttribute) ); return sQName.makeStringAndClear(); } diff --git a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx index 418557e0f45e..ddad2e36e02f 100644 --- a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx +++ b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx @@ -170,7 +170,7 @@ void SAL_CALL ImportDocumentHandler::startElement(const OUString & _sName, const { OUString sLocalName; const OUString sAttrName = _xAttrList->getNameByIndex( i ); - const sal_Int32 nColonPos = sAttrName.indexOf( sal_Unicode(':') ); + const sal_Int32 nColonPos = sAttrName.indexOf( ':' ); if( -1L == nColonPos ) sLocalName = sAttrName; else @@ -221,7 +221,7 @@ void SAL_CALL ImportDocumentHandler::startElement(const OUString & _sName, const { OUString sLocalName; const OUString sAttrName = _xAttrList->getNameByIndex( i ); - const sal_Int32 nColonPos = sAttrName.indexOf( sal_Unicode(':') ); + const sal_Int32 nColonPos = sAttrName.indexOf( ':' ); if( -1L == nColonPos ) sLocalName = sAttrName; else @@ -266,7 +266,7 @@ void SAL_CALL ImportDocumentHandler::startElement(const OUString & _sName, const { OUString sLocalName; const OUString sAttrName = _xAttrList->getNameByIndex( i ); - const sal_Int32 nColonPos = sAttrName.indexOf( sal_Unicode(':') ); + const sal_Int32 nColonPos = sAttrName.indexOf( ':' ); if( -1L == nColonPos ) sLocalName = sAttrName; else diff --git a/reportdesign/source/ui/misc/FunctionHelper.cxx b/reportdesign/source/ui/misc/FunctionHelper.cxx index 19ce7b86bd4b..0b8ed51dcb06 100644 --- a/reportdesign/source/ui/misc/FunctionHelper.cxx +++ b/reportdesign/source/ui/misc/FunctionHelper.cxx @@ -38,15 +38,15 @@ sal_Unicode FunctionManager::getSingleToken(const formula::IFunctionManager::ETo switch(_eToken) { case eOk: - return sal_Unicode('('); + return '('; case eClose: - return sal_Unicode(')'); + return ')'; case eSep: - return sal_Unicode(';'); + return ';'; case eArrayOpen: - return sal_Unicode('{'); + return '{'; case eArrayClose: - return sal_Unicode('}'); + return '}'; } return 0; } |