summaryrefslogtreecommitdiff
path: root/extensions/source/dbpilots
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/dbpilots')
-rw-r--r--extensions/source/dbpilots/dbptypes.hxx3
-rw-r--r--extensions/source/dbpilots/groupboxwiz.cxx4
2 files changed, 4 insertions, 3 deletions
diff --git a/extensions/source/dbpilots/dbptypes.hxx b/extensions/source/dbpilots/dbptypes.hxx
index 1b409b3a98a6..4ac0eb28e810 100644
--- a/extensions/source/dbpilots/dbptypes.hxx
+++ b/extensions/source/dbpilots/dbptypes.hxx
@@ -23,6 +23,7 @@
#include <sal/config.h>
#include <set>
+#include <vector>
#include <comphelper/stl_types.hxx>
@@ -31,7 +32,7 @@ namespace dbp
{
//.........................................................................
- DECLARE_STL_VECTOR( OUString, StringArray );
+ typedef std::vector<OUString> StringArray;
typedef std::set<OUString> StringBag;
DECLARE_STL_STDKEY_MAP( sal_uInt32, OUString, MapInt2String );
diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx
index 7c3ec932edf5..6df275e9d775 100644
--- a/extensions/source/dbpilots/groupboxwiz.cxx
+++ b/extensions/source/dbpilots/groupboxwiz.cxx
@@ -367,7 +367,7 @@ namespace dbp
// fill the listbox
m_aDefSelection.Clear();
- for ( ConstStringArrayIterator aLoop = rSettings.aLabels.begin();
+ for ( StringArray::const_iterator aLoop = rSettings.aLabels.begin();
aLoop != rSettings.aLabels.end();
++aLoop
)
@@ -452,7 +452,7 @@ namespace dbp
// fill the list with all available options
m_aOptions.Clear();
m_nLastSelection = -1;
- for ( ConstStringArrayIterator aLoop = rSettings.aLabels.begin();
+ for ( StringArray::const_iterator aLoop = rSettings.aLabels.begin();
aLoop != rSettings.aLabels.end();
++aLoop
)