summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-17 09:26:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-17 14:11:12 +0200
commitdd6db74abddfe27671c2593eefefa871466b02f5 (patch)
tree8d7c9f5d34d1faefec4ff550add51a263b1c4fd6 /dbaccess/source
parent28beaffba6a0ecaf351c84bed41443a6721d85b6 (diff)
inline some use-once typedefs
Change-Id: I683175c1e788a2a4cfec9504dc8dc3ebfee7c5de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100858 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/filter/hsqldb/hsqlbinarynode.cxx2
-rw-r--r--dbaccess/source/filter/hsqldb/parseschema.cxx2
-rw-r--r--dbaccess/source/ui/dlg/advancedsettings.hxx3
3 files changed, 1 insertions, 6 deletions
diff --git a/dbaccess/source/filter/hsqldb/hsqlbinarynode.cxx b/dbaccess/source/filter/hsqldb/hsqlbinarynode.cxx
index 6211916fcd05..c02da2c4b411 100644
--- a/dbaccess/source/filter/hsqldb/hsqlbinarynode.cxx
+++ b/dbaccess/source/filter/hsqldb/hsqlbinarynode.cxx
@@ -22,8 +22,6 @@
namespace dbahsql
{
-using ColumnTypeVector = std::vector<ColumnDefinition>;
-
HsqlBinaryNode::HsqlBinaryNode(sal_Int32 nPos)
: m_nPos(nPos)
{
diff --git a/dbaccess/source/filter/hsqldb/parseschema.cxx b/dbaccess/source/filter/hsqldb/parseschema.cxx
index d2215e96eb31..6dfc59778bf0 100644
--- a/dbaccess/source/filter/hsqldb/parseschema.cxx
+++ b/dbaccess/source/filter/hsqldb/parseschema.cxx
@@ -102,8 +102,6 @@ using namespace css::io;
using namespace css::uno;
using namespace css::embed;
-typedef std::vector<ColumnDefinition> ColumnTypeVector;
-
SchemaParser::SchemaParser(Reference<XStorage>& rStorage)
: m_rStorage(rStorage)
{
diff --git a/dbaccess/source/ui/dlg/advancedsettings.hxx b/dbaccess/source/ui/dlg/advancedsettings.hxx
index 8efc8642863d..80edec0d4a68 100644
--- a/dbaccess/source/ui/dlg/advancedsettings.hxx
+++ b/dbaccess/source/ui/dlg/advancedsettings.hxx
@@ -27,7 +27,6 @@
namespace dbaui
{
struct BooleanSettingDesc;
- typedef std::vector< BooleanSettingDesc > BooleanSettingDescs;
// SpecialSettingsPage
// implements the "Special Settings" page of the advanced database settings
@@ -58,7 +57,7 @@ namespace dbaui
std::map<weld::ToggleButton*, TriState> m_aTriStates;
- BooleanSettingDescs m_aBooleanSettings;
+ std::vector< BooleanSettingDesc > m_aBooleanSettings;
bool m_bHasBooleanComparisonMode;
bool m_bHasMaxRowScan;