summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2018-05-26 11:58:26 +0300
committerTor Lillqvist <tml@collabora.com>2018-05-28 09:39:47 +0200
commitf62243c7bb620d821ae84366235111c47a99bae0 (patch)
treee429299e4ea151af9eb1ce8f6db06f565b359fcd
parent7f3c2ee6c135773c98ded063bdf10ec8900bf00f (diff)
tdf#96099 Remove some trivial typedef std::vector
Change-Id: I41fff78c10d46bde50063536d8cf1a3942dbf6af Reviewed-on: https://gerrit.libreoffice.org/54834 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--basic/source/inc/parser.hxx5
-rw-r--r--connectivity/source/drivers/firebird/Util.hxx3
-rw-r--r--dbaccess/source/ui/inc/commontypes.hxx2
-rw-r--r--desktop/source/deployment/registry/package/dp_extbackenddb.hxx2
4 files changed, 2 insertions, 10 deletions
diff --git a/basic/source/inc/parser.hxx b/basic/source/inc/parser.hxx
index 4ff5baf83518..bee2a188c1fc 100644
--- a/basic/source/inc/parser.hxx
+++ b/basic/source/inc/parser.hxx
@@ -26,7 +26,6 @@
#include <vector>
-typedef std::vector< OUString > StringVector;
struct SbiParseStack;
@@ -72,8 +71,8 @@ public:
short nBase; // OPTION BASE-value
bool bExplicit; // true: OPTION EXPLICIT
bool bClassModule; // true: OPTION ClassModule
- StringVector aIfaceVector; // Holds all interfaces implemented by a class module
- StringVector aRequiredTypes; // Types used in Dim As New <type> outside subs
+ std::vector<OUString> aIfaceVector; // Holds all interfaces implemented by a class module
+ std::vector<OUString> aRequiredTypes; // Types used in Dim As New <type> outside subs
# define N_DEF_TYPES 26
SbxDataType eDefTypes[N_DEF_TYPES]; // DEFxxx data types
diff --git a/connectivity/source/drivers/firebird/Util.hxx b/connectivity/source/drivers/firebird/Util.hxx
index 0b06e3c18fb8..dbff25356205 100644
--- a/connectivity/source/drivers/firebird/Util.hxx
+++ b/connectivity/source/drivers/firebird/Util.hxx
@@ -18,13 +18,10 @@
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
-#include <vector>
-
namespace connectivity
{
namespace firebird
{
- typedef std::vector< OString > OStringVector;
// Type Blob has 2 subtypes values
// 0 for BLOB, 1 for CLOB
// see http://www.firebirdfaq.org/faq48/
diff --git a/dbaccess/source/ui/inc/commontypes.hxx b/dbaccess/source/ui/inc/commontypes.hxx
index 18ba066f816a..74402d59bcd7 100644
--- a/dbaccess/source/ui/inc/commontypes.hxx
+++ b/dbaccess/source/ui/inc/commontypes.hxx
@@ -23,7 +23,6 @@
#include <sal/config.h>
#include <set>
-#include <vector>
#include <unotools/sharedunocomponent.hxx>
@@ -37,7 +36,6 @@ namespace dbaui
{
typedef std::set<OUString> StringBag;
- typedef std::vector<OUString> StringArray;
typedef ::utl::SharedUNOComponent< css::sdbc::XConnection > SharedConnection;
diff --git a/desktop/source/deployment/registry/package/dp_extbackenddb.hxx b/desktop/source/deployment/registry/package/dp_extbackenddb.hxx
index 1c220ff91485..ac91a62e9252 100644
--- a/desktop/source/deployment/registry/package/dp_extbackenddb.hxx
+++ b/desktop/source/deployment/registry/package/dp_extbackenddb.hxx
@@ -55,8 +55,6 @@ public:
and the media type
*/
std::vector< std::pair< OUString, OUString> > items;
- typedef std::vector<
- std::pair< OUString, OUString> >::const_iterator ITC_ITEMS;
};
public: