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>
This commit is contained in:
Arkadiy Illarionov
2018-05-26 11:58:26 +03:00
committed by Tor Lillqvist
parent 7f3c2ee6c1
commit f62243c7bb
4 changed files with 2 additions and 10 deletions

View File

@@ -26,7 +26,6 @@
#include <vector> #include <vector>
typedef std::vector< OUString > StringVector;
struct SbiParseStack; struct SbiParseStack;
@@ -72,8 +71,8 @@ public:
short nBase; // OPTION BASE-value short nBase; // OPTION BASE-value
bool bExplicit; // true: OPTION EXPLICIT bool bExplicit; // true: OPTION EXPLICIT
bool bClassModule; // true: OPTION ClassModule bool bClassModule; // true: OPTION ClassModule
StringVector aIfaceVector; // Holds all interfaces implemented by a class module std::vector<OUString> aIfaceVector; // Holds all interfaces implemented by a class module
StringVector aRequiredTypes; // Types used in Dim As New <type> outside subs std::vector<OUString> aRequiredTypes; // Types used in Dim As New <type> outside subs
# define N_DEF_TYPES 26 # define N_DEF_TYPES 26
SbxDataType eDefTypes[N_DEF_TYPES]; // DEFxxx data types SbxDataType eDefTypes[N_DEF_TYPES]; // DEFxxx data types

View File

@@ -18,13 +18,10 @@
#include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/sdbc/SQLException.hpp>
#include <vector>
namespace connectivity namespace connectivity
{ {
namespace firebird namespace firebird
{ {
typedef std::vector< OString > OStringVector;
// Type Blob has 2 subtypes values // Type Blob has 2 subtypes values
// 0 for BLOB, 1 for CLOB // 0 for BLOB, 1 for CLOB
// see http://www.firebirdfaq.org/faq48/ // see http://www.firebirdfaq.org/faq48/

View File

@@ -23,7 +23,6 @@
#include <sal/config.h> #include <sal/config.h>
#include <set> #include <set>
#include <vector>
#include <unotools/sharedunocomponent.hxx> #include <unotools/sharedunocomponent.hxx>
@@ -37,7 +36,6 @@ namespace dbaui
{ {
typedef std::set<OUString> StringBag; typedef std::set<OUString> StringBag;
typedef std::vector<OUString> StringArray;
typedef ::utl::SharedUNOComponent< css::sdbc::XConnection > SharedConnection; typedef ::utl::SharedUNOComponent< css::sdbc::XConnection > SharedConnection;

View File

@@ -55,8 +55,6 @@ public:
and the media type and the media type
*/ */
std::vector< std::pair< OUString, OUString> > items; std::vector< std::pair< OUString, OUString> > items;
typedef std::vector<
std::pair< OUString, OUString> >::const_iterator ITC_ITEMS;
}; };
public: public: