From 08fe82e59cbc598d2683d72877653316c1e41962 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 13 Dec 2013 09:29:22 +0200 Subject: Remove unnecessary use of OUString constructor in + expressions Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50 --- dbaccess/source/ui/app/AppController.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbaccess/source/ui/app/AppController.cxx') diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index 7e705ae668aa..cbd9b18b1bae 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -1587,7 +1587,7 @@ void SAL_CALL OApplicationController::elementRemoved( const ContainerEvent& _rEv Reference xContent(xContainer,UNO_QUERY); if ( xContent.is() ) { - sName = xContent->getIdentifier()->getContentIdentifier() + OUString("/") + sName; + sName = xContent->getIdentifier()->getContentIdentifier() + "/" + sName; } } break; @@ -1631,7 +1631,7 @@ void SAL_CALL OApplicationController::elementReplaced( const ContainerEvent& _rE Reference xContent(xContainer,UNO_QUERY); if ( xContent.is() ) { - sName = xContent->getIdentifier()->getContentIdentifier() + OUString("/") + sName; + sName = xContent->getIdentifier()->getContentIdentifier() + "/" + sName; } } break; -- cgit