diff options
Diffstat (limited to 'dbaccess/source/ui/dlg')
-rw-r--r-- | dbaccess/source/ui/dlg/AdabasStat.cxx | 12 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/adtabdlg.cxx | 6 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/dlgsave.cxx | 9 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/tablespage.cxx | 9 |
4 files changed, 20 insertions, 16 deletions
diff --git a/dbaccess/source/ui/dlg/AdabasStat.cxx b/dbaccess/source/ui/dlg/AdabasStat.cxx index 538f4f15f270..6d8c12ce4610 100644 --- a/dbaccess/source/ui/dlg/AdabasStat.cxx +++ b/dbaccess/source/ui/dlg/AdabasStat.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AdabasStat.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: oj $ $Date: 2002-08-19 07:43:43 $ + * last change: $Author: oj $ $Date: 2002-10-07 13:06:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -160,7 +160,7 @@ OAdabasStatistics::OAdabasStatistics( Window* pParent, { aStmt = ::rtl::OUString::createFromAscii("SELECT SERVERDBSIZE, UNUSEDPAGES FROM "); - aStmt += ::dbtools::quoteTableName(xMetaData,sSchema); + aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); aStmt += ::rtl::OUString::createFromAscii(".\"SERVERDBSTATISTICS\""); xStmt = m_xConnection->createStatement(); @@ -207,7 +207,7 @@ OAdabasStatistics::OAdabasStatistics( Window* pParent, { // then the db files aStmt = ::rtl::OUString::createFromAscii("SELECT DEVSPACENAME FROM "); - aStmt += ::dbtools::quoteTableName(xMetaData,sSchema); + aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); aStmt += ::rtl::OUString::createFromAscii(".\"DATADEVSPACES\""); xStmt = m_xConnection->createStatement(); xRes = xStmt->executeQuery(aStmt); @@ -243,7 +243,7 @@ OAdabasStatistics::OAdabasStatistics( Window* pParent, if(bCanSelect) { aStmt = ::rtl::OUString::createFromAscii("SELECT * FROM "); - aStmt += ::dbtools::quoteTableName(xMetaData,sSchema); + aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); aStmt += ::rtl::OUString::createFromAscii(".CONFIGURATION WHERE DESCRIPTION LIKE 'SYS%DEVSPACE%NAME'"); xStmt = m_xConnection->createStatement(); xRes = xStmt->executeQuery(aStmt); @@ -256,7 +256,7 @@ OAdabasStatistics::OAdabasStatistics( Window* pParent, showError(); aStmt = ::rtl::OUString::createFromAscii("SELECT * FROM "); - aStmt += ::dbtools::quoteTableName(xMetaData,sSchema); + aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); aStmt += ::rtl::OUString::createFromAscii(".CONFIGURATION WHERE DESCRIPTION = 'TRANSACTION LOG NAME'"); xRes = xStmt->executeQuery(aStmt); if(xRes.is() && xRes->next()) diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx index 1eec8b8205f0..19889f7ff5b6 100644 --- a/dbaccess/source/ui/dlg/adtabdlg.cxx +++ b/dbaccess/source/ui/dlg/adtabdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: adtabdlg.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: oj $ $Date: 2002-08-19 07:43:45 $ + * last change: $Author: oj $ $Date: 2002-10-07 13:06:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -193,7 +193,7 @@ void OAddTableDlg::AddTable() ::rtl::OUString aComposedName; ::dbtools::composeTableName(m_pTableView->getDesignView()->getController()->getConnection()->getMetaData(), - aCatalog,aSchema,aTableName,aComposedName,sal_False); + aCatalog,aSchema,aTableName,aComposedName,sal_False,::dbtools::eInDataManipulation); // aOrigTableName is used because AddTabWin would like to have this // und das Ganze dem Container uebergeben m_pTableView->AddTabWin( aComposedName,aTableName, TRUE ); diff --git a/dbaccess/source/ui/dlg/dlgsave.cxx b/dbaccess/source/ui/dlg/dlgsave.cxx index 40be22387e57..d21f4b201af7 100644 --- a/dbaccess/source/ui/dlg/dlgsave.cxx +++ b/dbaccess/source/ui/dlg/dlgsave.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dlgsave.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: oj $ $Date: 2002-08-19 07:40:35 $ + * last change: $Author: oj $ $Date: 2002-10-07 13:06:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -230,7 +230,8 @@ OSaveAsDlg::OSaveAsDlg( Window * pParent, m_aName, sCatalog, sSchema, - sTable); + sTable, + ::dbtools::eInDataManipulation); m_aCatalog.SetText(sCatalog); if(sSchema.getLength()) @@ -316,7 +317,7 @@ IMPL_LINK(OSaveAsDlg, ButtonClickHdl, Button *, pButton) { OSL_ENSURE(m_xMetaData.is(),"The metadata can not be null!"); ::rtl::OUString sComposedName; - ::dbtools::composeTableName(m_xMetaData,getCatalog(),getSchema(),m_aName,sComposedName,sal_False); + ::dbtools::composeTableName(m_xMetaData,getCatalog(),getSchema(),m_aName,sComposedName,sal_False,::dbtools::eInDataManipulation); bError = m_xNames->hasByName(sComposedName); } if(bError) diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx index 80e2b2492ecb..d00f411b4b43 100644 --- a/dbaccess/source/ui/dlg/tablespage.cxx +++ b/dbaccess/source/ui/dlg/tablespage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tablespage.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: oj $ $Date: 2002-08-19 07:40:31 $ + * last change: $Author: oj $ $Date: 2002-10-07 13:06:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -343,7 +343,7 @@ namespace dbaui for (sal_Int32 i=0; i<_rTables.getLength(); ++i, ++pIncludeTable) { if (xMeta.is()) - qualifiedNameComponents(xMeta, pIncludeTable->getStr(), sCatalog, sSchema, sName); + qualifiedNameComponents(xMeta, pIncludeTable->getStr(), sCatalog, sSchema, sName,::dbtools::eInDataManipulation); else sName = pIncludeTable->getStr(); @@ -1477,6 +1477,9 @@ namespace dbaui /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.13 2002/08/19 07:40:31 oj + * #99473# change string resource files + * * Revision 1.12 2002/04/29 08:27:33 oj * #98772# impl toolbox hi contrast * |