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;
};
typedef std::vector<GLfloat> Bubble2DCircle;
struct RectanglePointList
{
float points[12];
@@ -159,7 +157,7 @@ private:
glm::vec4 m_2DColor;
Bubble2DCircle m_Bubble2DCircle;
std::vector<GLfloat> m_Bubble2DCircle;
std::list <Bubble2DPointList> m_Bubble2DShapePointList;
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::lang;
typedef std::map<OUString, Any> GenericAnyMapImpl;
namespace comphelper
{
struct IMPL_GenericPropertySet_MutexContainer
{
Mutex maMutex ;
} ;
Mutex maMutex;
};
class GenericPropertySet : public OWeakAggObject,
public XServiceInfo,
@@ -56,7 +54,7 @@ namespace comphelper
private IMPL_GenericPropertySet_MutexContainer
{
private:
GenericAnyMapImpl maAnyMap;
std::map<OUString, Any> maAnyMap;
cppu::OMultiTypeInterfaceContainerHelperVar<OUString> m_aListener;
protected:

View File

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

View File

@@ -61,9 +61,6 @@ struct ColDesc
class ResultSet;
typedef std::vector< ColDesc > ColDescVector;
class ResultSetMetaData :
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;
OUString m_tableName;
OUString m_schemaName;
ColDescVector m_colDesc;
std::vector< ColDesc > m_colDesc;
ResultSet *m_pResultSet;
bool m_checkedForTable;

View File

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

View File

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

View File

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