summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/dbadmin.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-29 09:23:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-29 09:26:18 +0000
commit0d2a2527a87174a3234fa734815acb3d40a64d28 (patch)
treeaeaab3d251ff626c3e56f80b524d7a7e39c72b41 /dbaccess/source/ui/dlg/dbadmin.cxx
parent0fc0acb52529a3cc8e2ff2c17e074cf6ac8ba1a7 (diff)
make these resources non-local, simplifies for ui conversion
Change-Id: I2654cf0522f2f04cd4a14d0e04f18f26e175e354
Diffstat (limited to 'dbaccess/source/ui/dlg/dbadmin.cxx')
-rw-r--r--dbaccess/source/ui/dlg/dbadmin.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index 03acc00bf489..6102c2870d21 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -100,9 +100,6 @@ void ODbAdminDialog::PageCreated(sal_uInt16 _nId, SfxTabPage& _rPage)
void ODbAdminDialog::addDetailPage(sal_uInt16 _nPageId, sal_uInt16 _nTextId, CreateTabPage _pCreateFunc)
{
- // open our own resource block, as the page titles are strings local to this block
- LocalResourceAccess aDummy(DLG_DATABASE_ADMINISTRATION, RSC_TABDIALOG);
-
AddTabPage(_nPageId, OUString(ModuleRes(_nTextId)), _pCreateFunc, NULL);
m_aCurrentDetailPages.push(_nPageId);
}
@@ -162,7 +159,6 @@ void ODbAdminDialog::impl_selectDataSource(const ::com::sun::star::uno::Any& _aD
case ::dbaccess::DST_USERDEFINE9:
case ::dbaccess::DST_USERDEFINE10:
{
- LocalResourceAccess aDummy(DLG_DATABASE_ADMINISTRATION, RSC_TABDIALOG);
OUString aTitle(ModuleRes(STR_PAGETITLE_ADVANCED));
AddTabPage(PAGE_USERDRIVER, aTitle, ODriversSettings::CreateUser, 0, sal_False, 1);
m_aCurrentDetailPages.push(PAGE_USERDRIVER);
@@ -210,7 +206,6 @@ void ODbAdminDialog::impl_resetPages(const Reference< XPropertySet >& _rxDatasou
::dbaccess::ODsnTypeCollection* pCollection = pCollectionItem->getCollection();
if ( pCollection->determineType(getDatasourceType( *pExampleSet )) == ::dbaccess::DST_MYSQL_NATIVE )
{
- LocalResourceAccess aDummy(DLG_DATABASE_ADMINISTRATION, RSC_TABDIALOG);
AddTabPage( PAGE_MYSQL_NATIVE, OUString( ModuleRes( STR_PAGETITLE_CONNECTION ) ), ODriversSettings::CreateMySQLNATIVE, NULL );
RemoveTabPage( PAGE_CONNECTION );
m_nMainPageID = PAGE_MYSQL_NATIVE;