summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-05 16:16:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-05 18:36:21 +0100
commit75c4bff5f402229267d53ca6f5ece28473bff7d8 (patch)
treeb2f98c5b97c17516c2126ae97bb27bcbcf40f4e4 /dbaccess
parent31c65a129afb3c1bf14a1acd88c60b64d4f555d1 (diff)
Get rid of DECLARE_STL_SET
Change-Id: Ie3e2fb6d9376e3b6e98bb17671b3e9e93cd69923
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/dlg/DbAdminImpl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.cxx b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
index 43abe7e4602c..be221ab362c2 100644
--- a/dbaccess/source/ui/dlg/DbAdminImpl.cxx
+++ b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
@@ -557,7 +557,7 @@ struct PropertyValueLess
{ return x.Name < y.Name ? true : false; } // construct prevents a MSVC6 warning
};
-DECLARE_STL_SET( PropertyValue, PropertyValueLess, PropertyValueSet);
+typedef std::set<PropertyValue, PropertyValueLess> PropertyValueSet;
void ODbDataSourceAdministrationHelper::translateProperties(const Reference< XPropertySet >& _rxSource, SfxItemSet& _rDest)
{
@@ -620,7 +620,7 @@ void ODbDataSourceAdministrationHelper::translateProperties(const Reference< XPr
++aIndirect)
{
aSearchFor.Name = aIndirect->second;
- ConstPropertyValueSetIterator aInfoPos = aInfos.find(aSearchFor);
+ PropertyValueSet::const_iterator aInfoPos = aInfos.find(aSearchFor);
if (aInfos.end() != aInfoPos)
// the property is contained in the info sequence
// -> transfer it into an item
@@ -745,7 +745,7 @@ void ODbDataSourceAdministrationHelper::fillDatasourceInfo(const SfxItemSet& _rS
for (sal_Int32 i = 0; i < nCount; ++i, ++pInfo)
{
aSearchFor.Name = pInfo->Name;
- PropertyValueSetIterator aOverwrittenSetting = aRelevantSettings.find(aSearchFor);
+ PropertyValueSet::iterator aOverwrittenSetting = aRelevantSettings.find(aSearchFor);
if (aRelevantSettings.end() != aOverwrittenSetting)
{ // the setting was present in the original sequence, and it is to be overwritten -> replace it
if ( !::comphelper::compare(pInfo->Value,aOverwrittenSetting->Value) )
@@ -815,8 +815,8 @@ void ODbDataSourceAdministrationHelper::fillDatasourceInfo(const SfxItemSet& _rS
sal_Int32 nOldLength = _rInfo.getLength();
_rInfo.realloc(nOldLength + aRelevantSettings.size());
PropertyValue* pAppendValues = _rInfo.getArray() + nOldLength;
- ConstPropertyValueSetIterator aRelevantEnd = aRelevantSettings.end();
- for ( ConstPropertyValueSetIterator aLoop = aRelevantSettings.begin();
+ PropertyValueSet::const_iterator aRelevantEnd = aRelevantSettings.end();
+ for ( PropertyValueSet::const_iterator aLoop = aRelevantSettings.begin();
aLoop != aRelevantEnd;
++aLoop, ++pAppendValues
)