[Libreoffice-commits] core.git: basic/source connectivity/source dbaccess/source desktop/source
Arkadiy Illarionov
qarkai at gmail.com
Mon May 28 07:40:07 UTC 2018
basic/source/inc/parser.hxx | 5 ++---
connectivity/source/drivers/firebird/Util.hxx | 3 ---
dbaccess/source/ui/inc/commontypes.hxx | 2 --
desktop/source/deployment/registry/package/dp_extbackenddb.hxx | 2 --
4 files changed, 2 insertions(+), 10 deletions(-)
New commits:
commit f62243c7bb620d821ae84366235111c47a99bae0
Author: Arkadiy Illarionov <qarkai at gmail.com>
Date: Sat May 26 11:58:26 2018 +0300
tdf#96099 Remove some trivial typedef std::vector
Change-Id: I41fff78c10d46bde50063536d8cf1a3942dbf6af
Reviewed-on: https://gerrit.libreoffice.org/54834
Reviewed-by: Tor Lillqvist <tml at collabora.com>
Tested-by: Tor Lillqvist <tml at collabora.com>
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:
More information about the Libreoffice-commits
mailing list