cui,connectivity: inline some use-once typedefs

Change-Id: I1b043031014a3e823cd614966984a2ac2be1ac71
This commit is contained in:
Noel Grandin
2015-08-03 15:13:07 +02:00
parent 8e08edb1d9
commit 3ff2e30ff6
7 changed files with 19 additions and 26 deletions

View File

@@ -42,8 +42,6 @@ struct Bubble2DPointList
float yScale; float yScale;
}; };
typedef std::vector<GLfloat> Bubble2DCircle;
struct RectanglePointList struct RectanglePointList
{ {
float points[12]; float points[12];
@@ -159,7 +157,7 @@ private:
glm::vec4 m_2DColor; glm::vec4 m_2DColor;
Bubble2DCircle m_Bubble2DCircle; std::vector<GLfloat> m_Bubble2DCircle;
std::list <Bubble2DPointList> m_Bubble2DShapePointList; std::list <Bubble2DPointList> m_Bubble2DShapePointList;
GLint m_CommonProID; GLint m_CommonProID;

View File

@@ -40,14 +40,12 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans; using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang; using namespace ::com::sun::star::lang;
typedef std::map<OUString, Any> GenericAnyMapImpl;
namespace comphelper namespace comphelper
{ {
struct IMPL_GenericPropertySet_MutexContainer struct IMPL_GenericPropertySet_MutexContainer
{ {
Mutex maMutex ; Mutex maMutex;
} ; };
class GenericPropertySet : public OWeakAggObject, class GenericPropertySet : public OWeakAggObject,
public XServiceInfo, public XServiceInfo,
@@ -56,7 +54,7 @@ namespace comphelper
private IMPL_GenericPropertySet_MutexContainer private IMPL_GenericPropertySet_MutexContainer
{ {
private: private:
GenericAnyMapImpl maAnyMap; std::map<OUString, Any> maAnyMap;
cppu::OMultiTypeInterfaceContainerHelperVar<OUString> m_aListener; cppu::OMultiTypeInterfaceContainerHelperVar<OUString> m_aListener;
protected: protected:

View File

@@ -50,12 +50,13 @@ using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container; using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang; using namespace ::com::sun::star::lang;
namespace namespace
{ {
/// helper class for column property change events which holds the OComponentDefinition weak /// helper class for column property change events which holds the OComponentDefinition weak
typedef ::cppu::WeakImplHelper< XContainerListener > OTableContainerListener_BASE;
class OTableContainerListener: class OTableContainerListener:
public OTableContainerListener_BASE, private boost::noncopyable public ::cppu::WeakImplHelper< XContainerListener >,
private boost::noncopyable
{ {
OTableHelper* m_pComponent; OTableHelper* m_pComponent;
::std::map< OUString,bool> m_aRefNames; ::std::map< OUString,bool> m_aRefNames;

View File

@@ -61,9 +61,6 @@ struct ColDesc
class ResultSet; class ResultSet;
typedef std::vector< ColDesc > ColDescVector;
class ResultSetMetaData : class ResultSetMetaData :
public ::cppu::WeakImplHelper< com::sun::star::sdbc::XResultSetMetaData > public ::cppu::WeakImplHelper< com::sun::star::sdbc::XResultSetMetaData >
{ {
@@ -73,7 +70,7 @@ class ResultSetMetaData :
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_table; ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_table;
OUString m_tableName; OUString m_tableName;
OUString m_schemaName; OUString m_schemaName;
ColDescVector m_colDesc; std::vector< ColDesc > m_colDesc;
ResultSet *m_pResultSet; ResultSet *m_pResultSet;
bool m_checkedForTable; bool m_checkedForTable;

View File

@@ -211,7 +211,6 @@ struct DoubleString
}; };
typedef std::vector<DoubleString> DoubleStringArray; typedef std::vector<DoubleString> DoubleStringArray;
typedef std::map<LanguageType, DoubleStringArray> DoubleStringTable;
struct StringChangeList struct StringChangeList
{ {
@@ -240,8 +239,9 @@ private:
OUString sModify; OUString sModify;
OUString sNew; OUString sNew;
std::set<OUString> aFormatText; std::set<OUString> aFormatText;
DoubleStringTable aDoubleStringTable; std::map<LanguageType, DoubleStringArray>
aDoubleStringTable;
CollatorWrapper* pCompareClass; CollatorWrapper* pCompareClass;
CharClass* pCharClass; CharClass* pCharClass;
LanguageType eLang; LanguageType eLang;

View File

@@ -236,8 +236,6 @@ public:
static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet );
}; };
typedef ::std::vector< FilterEntry* > FilterEntryList_impl;
class TPGalleryThemeProperties : public SfxTabPage class TPGalleryThemeProperties : public SfxTabPage
{ {
friend class SearchThread; friend class SearchThread;
@@ -254,7 +252,8 @@ class TPGalleryThemeProperties : public SfxTabPage
ExchangeData* pData; ExchangeData* pData;
StringList aFoundList; StringList aFoundList;
FilterEntryList_impl aFilterEntryList; ::std::vector< FilterEntry* >
aFilterEntryList;
Timer aPreviewTimer; Timer aPreviewTimer;
OUString aLastFilterName; OUString aLastFilterName;
OUString aPreviewString; OUString aPreviewString;

View File

@@ -82,7 +82,6 @@ public:
/*************************************************************************/ /*************************************************************************/
struct SvxBmpItemInfo; struct SvxBmpItemInfo;
typedef ::std::vector< SvxBmpItemInfo* > SvxBmpItemInfoList;
class SvxLineTabPage : public SvxTabPage class SvxLineTabPage : public SvxTabPage
{ {
@@ -136,17 +135,18 @@ private:
VclPtr<MetricField> m_pSymbolWidthMF; VclPtr<MetricField> m_pSymbolWidthMF;
VclPtr<MetricField> m_pSymbolHeightMF; VclPtr<MetricField> m_pSymbolHeightMF;
VclPtr<CheckBox> m_pSymbolRatioCB; VclPtr<CheckBox> m_pSymbolRatioCB;
std::vector<OUString> aGrfNames; std::vector<OUString> aGrfNames;
SvxBmpItemInfoList aGrfBrushItems; ::std::vector< SvxBmpItemInfo* >
bool bLastWidthModified; aGrfBrushItems;
bool bLastWidthModified;
Size aSymbolLastSize; Size aSymbolLastSize;
Graphic aSymbolGraphic; Graphic aSymbolGraphic;
Size aSymbolSize; Size aSymbolSize;
bool bSymbols; bool bSymbols;
const SfxItemSet& rOutAttrs; const SfxItemSet& rOutAttrs;
RECT_POINT eRP; RECT_POINT eRP;
bool bObjSelected; bool bObjSelected;
XLineStyleItem aXLStyle; XLineStyleItem aXLStyle;
XLineWidthItem aXWidth; XLineWidthItem aXWidth;