summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/control/TableGrantCtrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/control/TableGrantCtrl.cxx')
-rw-r--r--dbaccess/source/ui/control/TableGrantCtrl.cxx19
1 files changed, 10 insertions, 9 deletions
diff --git a/dbaccess/source/ui/control/TableGrantCtrl.cxx b/dbaccess/source/ui/control/TableGrantCtrl.cxx
index 91cd2b3c64b3..00b15258a9e6 100644
--- a/dbaccess/source/ui/control/TableGrantCtrl.cxx
+++ b/dbaccess/source/ui/control/TableGrantCtrl.cxx
@@ -18,12 +18,13 @@
*/
#include "TableGrantCtrl.hxx"
+#include "core_resource.hxx"
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sdbcx/Privilege.hpp>
#include <com/sun/star/sdbcx/PrivilegeObject.hpp>
#include <com/sun/star/sdbcx/XUsersSupplier.hpp>
#include <com/sun/star/sdbcx/XAuthorizable.hpp>
-#include "dbu_control.hrc"
+#include "strings.hrc"
#include "UITools.hxx"
using namespace ::com::sun::star::accessibility;
@@ -54,15 +55,15 @@ OTableGrantControl::OTableGrantControl( vcl::Window* pParent, WinBits nBits)
{
// insert columns
sal_uInt16 i=1;
- InsertDataColumn( i, OUString(ModuleRes(STR_TABLE_PRIV_NAME) ), 75);
+ InsertDataColumn( i, DBA_RES(STR_TABLE_PRIV_NAME), 75);
FreezeColumn(i++);
- InsertDataColumn( i++, OUString(ModuleRes(STR_TABLE_PRIV_SELECT)), 75);
- InsertDataColumn( i++, OUString(ModuleRes(STR_TABLE_PRIV_INSERT)), 75);
- InsertDataColumn( i++, OUString(ModuleRes(STR_TABLE_PRIV_DELETE)), 75);
- InsertDataColumn( i++, OUString(ModuleRes(STR_TABLE_PRIV_UPDATE)), 75);
- InsertDataColumn( i++, OUString(ModuleRes(STR_TABLE_PRIV_ALTER)), 75);
- InsertDataColumn( i++, OUString(ModuleRes(STR_TABLE_PRIV_REFERENCE)), 75);
- InsertDataColumn( i++, OUString(ModuleRes(STR_TABLE_PRIV_DROP)), 75);
+ InsertDataColumn( i++, DBA_RES(STR_TABLE_PRIV_SELECT), 75);
+ InsertDataColumn( i++, DBA_RES(STR_TABLE_PRIV_INSERT), 75);
+ InsertDataColumn( i++, DBA_RES(STR_TABLE_PRIV_DELETE), 75);
+ InsertDataColumn( i++, DBA_RES(STR_TABLE_PRIV_UPDATE), 75);
+ InsertDataColumn( i++, DBA_RES(STR_TABLE_PRIV_ALTER), 75);
+ InsertDataColumn( i++, DBA_RES(STR_TABLE_PRIV_REFERENCE), 75);
+ InsertDataColumn( i++, DBA_RES(STR_TABLE_PRIV_DROP), 75);
while(--i)
SetColumnWidth(i,GetAutoColumnWidth(i));