diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 13:33:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:24 +0200 |
commit | 3ef88d370e5b448c8c62a759ec073bb33a9f6965 (patch) | |
tree | d6f198f3ffa1573eb692f89214da685d2eb995bf /dbaccess/source/ui/tabledesign/TableController.cxx | |
parent | 3e70dda33548a5392baaf99a3c4675285de7da46 (diff) |
remove unnecessary use of OUString constructor in DBACCESS module
Change-Id: I831a6506211be30c5b743c20724904c903c5b3c0
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableController.cxx')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableController.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; |