summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-18 10:12:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-18 10:38:08 +0000
commit53f16c39f5c4c69ab603bf9098daec71f7a0acb8 (patch)
tree00b3166ecff36bb55dcf0b8c2122a08b72656ab5 /cui/source/inc
parent4c1f958634ae88614a794bf232c67e9e785bf703 (diff)
remove unused typedefs and inline use-once typedefs
and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/treeopt.hxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx
index 5c481423e229..f35d8fcef933 100644
--- a/cui/source/inc/treeopt.hxx
+++ b/cui/source/inc/treeopt.hxx
@@ -37,15 +37,14 @@ struct OrderedEntry
m_nIndex( nIndex ), m_sId( rId ) {}
};
-typedef std::vector< OrderedEntry* > VectorOfOrderedEntries;
// struct Module ---------------------------------------------------------
struct Module
{
- OUString m_sName;
- bool m_bActive;
- VectorOfOrderedEntries m_aNodeList;
+ OUString m_sName;
+ bool m_bActive;
+ std::vector< OrderedEntry* > m_aNodeList;
Module( const OUString& rName ) : m_sName( rName ), m_bActive( false ) {}
};
@@ -76,7 +75,6 @@ struct OptionsLeaf
};
typedef ::std::vector< OptionsLeaf* > VectorOfLeaves;
-typedef ::std::vector< VectorOfLeaves > VectorOfGroupedLeaves;
// struct OptionsNode ----------------------------------------------------
@@ -89,7 +87,8 @@ struct OptionsNode
OUString m_sGroupId;
sal_Int32 m_nGroupIndex;
VectorOfLeaves m_aLeaves;
- VectorOfGroupedLeaves m_aGroupedLeaves;
+ ::std::vector< VectorOfLeaves >
+ m_aGroupedLeaves;
OptionsNode( const OUString& rId,
const OUString& rLabel,
@@ -133,7 +132,6 @@ struct OptionsPageInfo;
struct Module;
class ExtensionsTabPage;
class SvxColorTabPage;
-typedef std::vector< ExtensionsTabPage* > VectorOfPages;
class OfaTreeOptionsDialog : public SfxModalDialog
{