diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-21 12:42:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-21 14:17:56 +0200 |
commit | 2f3ea8dfbc7dedc785cd07ad0b681a0da3904a80 (patch) | |
tree | 533c450fb3e8e5b75d5ccdc9dc6c358da481513f /chart2 | |
parent | 54409159b8a12ca3d387e2ff2a2e1ff9dad1a2a3 (diff) |
refactor out some com::sun::star typedefs
which mostly serve to make the code harder to read
Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/inc/AccessibleBase.hxx | 6 | ||||
-rw-r--r-- | chart2/source/view/inc/PropertyMapper.hxx | 15 |
2 files changed, 5 insertions, 16 deletions
diff --git a/chart2/source/controller/inc/AccessibleBase.hxx b/chart2/source/controller/inc/AccessibleBase.hxx index b70115dbaa0f..398f200502e9 100644 --- a/chart2/source/controller/inc/AccessibleBase.hxx +++ b/chart2/source/controller/inc/AccessibleBase.hxx @@ -313,15 +313,13 @@ private: sal_Int32 getColor( eColorType eColType ); private: - typedef ::com::sun::star::uno::Reference< - ::com::sun::star::accessibility::XAccessible > tAccessible; /** type of the vector containing the accessible children */ - typedef ::std::vector< tAccessible > ChildListVectorType; + typedef ::std::vector< css::uno::Reference< css::accessibility::XAccessible > > ChildListVectorType; /** type of the hash containing a vector index for every AccessibleUniqueId of the object in the child list */ - typedef ::std::map< ObjectIdentifier, tAccessible > ChildOIDMap; + typedef ::std::map< ObjectIdentifier, css::uno::Reference< css::accessibility::XAccessible > > ChildOIDMap; bool m_bIsDisposed; const bool m_bMayHaveChildren; diff --git a/chart2/source/view/inc/PropertyMapper.hxx b/chart2/source/view/inc/PropertyMapper.hxx index 171e30244bbe..6591254968c1 100644 --- a/chart2/source/view/inc/PropertyMapper.hxx +++ b/chart2/source/view/inc/PropertyMapper.hxx @@ -28,20 +28,11 @@ namespace chart { -/** -*/ - -typedef ::std::map< OUString, OUString > tPropertyNameMap; -typedef ::comphelper::MakeMap< OUString, OUString > tMakePropertyNameMap; - +typedef ::std::map< OUString, OUString > tPropertyNameMap; +typedef ::comphelper::MakeMap< OUString, OUString > tMakePropertyNameMap; typedef ::std::map< OUString, ::com::sun::star::uno::Any > tPropertyNameValueMap; -typedef ::comphelper::MakeMap< OUString, ::com::sun::star::uno::Any > tMakePropertyNameValueMap; - -typedef ::com::sun::star::uno::Sequence< OUString > tNameSequence; -typedef ::comphelper::MakeSequence< OUString > tMakeNameSequence; - +typedef ::com::sun::star::uno::Sequence< OUString > tNameSequence; typedef ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > tAnySequence; -typedef ::comphelper::MakeSequence< ::com::sun::star::uno::Any > tMakeAnySequence; /** * PropertyMapper provides easy mapping of the property names of various |