diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:43:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:43:25 +0200 |
commit | 915dc38b7cc956066736d7f1b3287e4fbd2efca6 (patch) | |
tree | f671056f459209c29379c7e84a020be883d43fb9 | |
parent | 6dbcb1a3d1abd2c7909fe0d447e434657d9a5187 (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I718cbc10c992b0515d3c4e2a62e38a6331a288d0
-rw-r--r-- | winaccessibility/source/UAccCOM/AccEditableText.cxx | 2 | ||||
-rw-r--r-- | winaccessibility/source/UAccCOM/MAccessible.cxx | 4 | ||||
-rw-r--r-- | winaccessibility/source/service/AccObject.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/winaccessibility/source/UAccCOM/AccEditableText.cxx b/winaccessibility/source/UAccCOM/AccEditableText.cxx index 701b04478489..f5d0d8e3dad0 100644 --- a/winaccessibility/source/UAccCOM/AccEditableText.cxx +++ b/winaccessibility/source/UAccCOM/AccEditableText.cxx @@ -417,7 +417,7 @@ void CAccEditableText::get_AnyFromOLECHAR(const ::rtl::OUString &ouName, const : } // Assign to Any object. - rAny.setValue(&seqTabStop, getCppuType((Sequence< ::com::sun::star::style::TabStop >*)0)); + rAny.setValue(&seqTabStop, cppu::UnoType<Sequence< ::com::sun::star::style::TabStop >>::get()); } else if(ouName.equals(L"ParaLineSpacing") ) { diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx index b6979a38cf92..a6bdc9095f4c 100644 --- a/winaccessibility/source/UAccCOM/MAccessible.cxx +++ b/winaccessibility/source/UAccCOM/MAccessible.cxx @@ -2805,7 +2805,7 @@ void CMAccessible::get_OLECHARFromAny(Any& pAny, OLECHAR* pChar) } case TypeClass_SEQUENCE: { - if(pAny.getValueType() == getCppuType( (Sequence< ::rtl::OUString > *)0 ) ) + if(pAny.getValueType() == cppu::UnoType<Sequence< ::rtl::OUString >>::get()) { Sequence < ::rtl::OUString > val; pAny >>= val; @@ -2820,7 +2820,7 @@ void CMAccessible::get_OLECHARFromAny(Any& pAny, OLECHAR* pChar) } wcscpy(pChar, pString.getStr()); } - else if (pAny.getValueType() == getCppuType( (Sequence< ::com::sun::star::style::TabStop >* )0 ) ) + else if (pAny.getValueType() == cppu::UnoType<Sequence< ::com::sun::star::style::TabStop >>::get()) { Sequence < ::com::sun::star::style::TabStop > val; pAny >>= val; diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx index fb4a864d48f1..17d35bdd5294 100644 --- a/winaccessibility/source/service/AccObject.cxx +++ b/winaccessibility/source/service/AccObject.cxx @@ -440,7 +440,7 @@ void AccObject::SetValue( Any pAny ) pAny >>= strValue ; } - else if(pAny.getValueType() == getCppuType( (Sequence< ::rtl::OUString > *)0 ) ) + else if(pAny.getValueType() == cppu::UnoType<Sequence< ::rtl::OUString >>::get()) { Sequence< ::rtl::OUString > val; if (pAny >>= val) |