diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 00:04:17 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 00:04:17 +0000 |
commit | 586e65ab62dbba972d7d0c8a80906388eec8ccb3 (patch) | |
tree | 069c1745cc1c40121538a4aa909baf5ce173d0b4 /connectivity/source/commontools | |
parent | 4899bbb5a44fb85e9f9d2f5c7b85864b500c1b0c (diff) |
INTEGRATION: CWS warnings01 (1.7.30); FILE MERGED
2005/11/16 12:58:45 fs 1.7.30.1: #i57457# warning free code
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r-- | connectivity/source/commontools/TKeys.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/connectivity/source/commontools/TKeys.cxx b/connectivity/source/commontools/TKeys.cxx index 60d2aa664a0b..421c54ce139e 100644 --- a/connectivity/source/commontools/TKeys.cxx +++ b/connectivity/source/commontools/TKeys.cxx @@ -4,9 +4,9 @@ * * $RCSfile: TKeys.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2005-09-08 05:12:25 $ + * last change: $Author: hr $ $Date: 2006-06-20 01:04:17 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -181,7 +181,7 @@ Reference< XPropertySet > OKeysHelper::createEmptyObject() // XAppend void OKeysHelper::appendObject( const Reference< XPropertySet >& descriptor ) { - ::dbtools::OPropertyMap& rPropMap = OMetaConnection::getPropMap(); + const ::dbtools::OPropertyMap& rPropMap = OMetaConnection::getPropMap(); ::rtl::OUString aName = getString(descriptor->getPropertyValue(rPropMap.getNameByIndex(PROPERTY_ID_NAME))); if ( !m_pTable->isNew() ) { @@ -243,7 +243,6 @@ void OKeysHelper::appendObject( const Reference< XPropertySet >& descriptor ) try { ::rtl::OUString aSchema,aTable; - ::dbtools::OPropertyMap& rPropMap = OMetaConnection::getPropMap(); m_pTable->getPropertyValue(rPropMap.getNameByIndex(PROPERTY_ID_SCHEMANAME)) >>= aSchema; m_pTable->getPropertyValue(rPropMap.getNameByIndex(PROPERTY_ID_NAME)) >>= aTable; Reference< XResultSet > xResult; |