diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-25 13:24:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-25 13:25:29 +0200 |
commit | 753fa20383568b3fc568f209328fdf50f25274a1 (patch) | |
tree | 7b7725f5cedfddcda23a73483bd0cc8ca6e2f44d /connectivity/source | |
parent | 7812f966ced53be01e9fc52301f9157edcc65303 (diff) |
fix Windows build
Change-Id: I35b0d9a1ed6b4929217e75a03132f53844acd5b9
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/commontools/propertyids.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/commontools/propertyids.cxx b/connectivity/source/commontools/propertyids.cxx index ca91112abb97..b653d0f8eb4a 100644 --- a/connectivity/source/commontools/propertyids.cxx +++ b/connectivity/source/commontools/propertyids.cxx @@ -24,7 +24,8 @@ namespace dbtools { OPropertyMap::OPropertyMap() { - m_aPropertyMap = { + // MSVC complains about ambiguous operator= + m_aPropertyMap.insert({ {PROPERTY_ID_QUERYTIMEOUT, "QueryTimeOut"}, {PROPERTY_ID_MAXFIELDSIZE, "MaxFieldSize"}, {PROPERTY_ID_MAXROWS, "MaxRows"}, @@ -88,7 +89,7 @@ namespace dbtools {PROPERTY_ID_FIELDTYPE, "FieldType"}, {PROPERTY_ID_VALUE, "Value"}, {PROPERTY_ID_ACTIVE_CONNECTION, "ActiveConnection"}, - }; + } ); } const OUString& OPropertyMap::getNameByIndex(sal_Int32 _nIndex) const |