Kaydet (Commit) f62243c7 authored tarafından Arkadiy Illarionov's avatar Arkadiy Illarionov Kaydeden (comit) Tor Lillqvist

tdf#96099 Remove some trivial typedef std::vector

Change-Id: I41fff78c10d46bde50063536d8cf1a3942dbf6af
Reviewed-on: https://gerrit.libreoffice.org/54834Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
Tested-by: 's avatarTor Lillqvist <tml@collabora.com>
üst 7f3c2ee6
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <vector> #include <vector>
typedef std::vector< OUString > StringVector;
struct SbiParseStack; struct SbiParseStack;
...@@ -72,8 +71,8 @@ public: ...@@ -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
......
...@@ -18,13 +18,10 @@ ...@@ -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/
......
...@@ -23,7 +23,6 @@ ...@@ -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 ...@@ -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;
......
...@@ -55,8 +55,6 @@ public: ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment