summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-10-08 08:35:21 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-10-08 13:16:08 +0200
commit0a5ce68dc34d3e14a7abe9625f8f6c88c0f5581c (patch)
tree5f7f6576dd6ea76d2e41c9d74e6ae0a2830e7b1a /connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
parent8950ecd0718fdd5b773922b223d28deefe9adf59 (diff)
cid#1632259 COPY_INSTEAD_OF_MOVE
and cid#1632258 COPY_INSTEAD_OF_MOVE cid#1632257 COPY_INSTEAD_OF_MOVE cid#1632256 COPY_INSTEAD_OF_MOVE cid#1632255 COPY_INSTEAD_OF_MOVE cid#1632254 COPY_INSTEAD_OF_MOVE cid#1632253 COPY_INSTEAD_OF_MOVE cid#1632252 COPY_INSTEAD_OF_MOVE cid#1632251 COPY_INSTEAD_OF_MOVE cid#1632250 COPY_INSTEAD_OF_MOVE cid#1632249 COPY_INSTEAD_OF_MOVE cid#1632248 COPY_INSTEAD_OF_MOVE cid#1632247 COPY_INSTEAD_OF_MOVE cid#1632246 COPY_INSTEAD_OF_MOVE cid#1632245 COPY_INSTEAD_OF_MOVE cid#1632244 COPY_INSTEAD_OF_MOVE cid#1632243 COPY_INSTEAD_OF_MOVE cid#1632242 COPY_INSTEAD_OF_MOVE cid#1632241 COPY_INSTEAD_OF_MOVE cid#1632240 COPY_INSTEAD_OF_MOVE cid#1632239 COPY_INSTEAD_OF_MOVE cid#1632238 COPY_INSTEAD_OF_MOVE cid#1632237 COPY_INSTEAD_OF_MOVE cid#1632236 COPY_INSTEAD_OF_MOVE cid#1632235 COPY_INSTEAD_OF_MOVE cid#1632234 COPY_INSTEAD_OF_MOVE cid#1632233 COPY_INSTEAD_OF_MOVE cid#1632232 COPY_INSTEAD_OF_MOVE cid#1632231 COPY_INSTEAD_OF_MOVE cid#1558073 COPY_INSTEAD_OF_MOVE cid#1557945 COPY_INSTEAD_OF_MOVE cid#1557916 COPY_INSTEAD_OF_MOVE cid#1557898 COPY_INSTEAD_OF_MOVE cid#1557808 COPY_INSTEAD_OF_MOVE Change-Id: Ibf417c154255fe3b0598127df5b5805ed543c8d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174660 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx')
-rw-r--r--connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx90
1 files changed, 36 insertions, 54 deletions
diff --git a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
index ea3e70d73646..0e490e3b66ad 100644
--- a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
+++ b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
@@ -476,128 +476,110 @@ Any SAL_CALL ODatabaseMetaDataResultSet::getWarnings( )
void ODatabaseMetaDataResultSet::setProceduresMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setProceduresMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setProceduresMap();
}
void ODatabaseMetaDataResultSet::setCatalogsMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setCatalogsMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setCatalogsMap();
}
void ODatabaseMetaDataResultSet::setSchemasMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setSchemasMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setSchemasMap();
}
void ODatabaseMetaDataResultSet::setColumnPrivilegesMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setColumnPrivilegesMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setColumnPrivilegesMap();
}
void ODatabaseMetaDataResultSet::setColumnsMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setColumnsMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setColumnsMap();
}
void ODatabaseMetaDataResultSet::setTablesMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setTablesMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setTablesMap();
}
void ODatabaseMetaDataResultSet::setProcedureColumnsMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setProcedureColumnsMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setProcedureColumnsMap();
}
void ODatabaseMetaDataResultSet::setPrimaryKeysMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setPrimaryKeysMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setPrimaryKeysMap();
}
void ODatabaseMetaDataResultSet::setIndexInfoMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setIndexInfoMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setIndexInfoMap();
}
void ODatabaseMetaDataResultSet::setTablePrivilegesMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setTablePrivilegesMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setTablePrivilegesMap();
}
void ODatabaseMetaDataResultSet::setCrossReferenceMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setCrossReferenceMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setCrossReferenceMap();
}
void ODatabaseMetaDataResultSet::setVersionColumnsMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setVersionColumnsMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setVersionColumnsMap();
}
void ODatabaseMetaDataResultSet::setBestRowIdentifierMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setBestRowIdentifierMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setBestRowIdentifierMap();
}
void ODatabaseMetaDataResultSet::setTypeInfoMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setTypeInfoMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setTypeInfoMap();
}
void ODatabaseMetaDataResultSet::setUDTsMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setUDTsMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setUDTsMap();
}
void ODatabaseMetaDataResultSet::setTableTypes()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setTableTypes();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setTableTypes();
}
void ODatabaseMetaDataResultSet::setExportedKeysMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setExportedKeysMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setExportedKeysMap();
}
void ODatabaseMetaDataResultSet::setImportedKeysMap()
{
- rtl::Reference<ODatabaseMetaDataResultSetMetaData> pMetaData = new ODatabaseMetaDataResultSetMetaData();
- pMetaData->setImportedKeysMap();
- m_xMetaData = pMetaData;
+ m_xMetaData = new ODatabaseMetaDataResultSetMetaData();
+ m_xMetaData->setImportedKeysMap();
}
Reference< css::beans::XPropertySetInfo > SAL_CALL ODatabaseMetaDataResultSet::getPropertySetInfo( )