From 3ef88d370e5b448c8c62a759ec073bb33a9f6965 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Nov 2013 13:33:17 +0200 Subject: remove unnecessary use of OUString constructor in DBACCESS module Change-Id: I831a6506211be30c5b743c20724904c903c5b3c0 --- dbaccess/source/ui/tabledesign/TableController.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dbaccess/source/ui/tabledesign/TableController.cxx') diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index 1aeca6712433..5df5078c0925 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -133,7 +133,7 @@ OUString OTableController::getImplementationName_Static() throw( RuntimeExceptio Sequence< OUString> OTableController::getSupportedServiceNames_Static(void) throw( RuntimeException ) { Sequence< OUString> aSupported(1); - aSupported.getArray()[0] = OUString("com.sun.star.sdb.TableDesign"); + aSupported[0] = "com.sun.star.sdb.TableDesign"; return aSupported; } @@ -446,7 +446,7 @@ sal_Bool OTableController::doSaveDoc(sal_Bool _bSaveAs) { if(!bAlter || bNew) { - m_sName = OUString(); + m_sName = ""; stopTableListening(); m_xTable = NULL; } @@ -1241,7 +1241,7 @@ void OTableController::alterColumns() SQLException aNewException; aNewException.Message = sError; - aNewException.SQLState = OUString("S1000"); + aNewException.SQLState = "S1000"; aNewException.NextException = ::cppu::getCaughtException(); throw aNewException; -- cgit