diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-03-01 23:16:10 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-03-01 23:17:02 +0100 |
commit | 09155190d817dd880cc96a106114618b46a5a7e5 (patch) | |
tree | 70bcb9a7c89ac056343d7ad9959c16ba5f0d2636 /winaccessibility | |
parent | d5890e87ab5e298e9a74ed0d552b01a98e59b1fa (diff) |
Variable not used but remove some wrong characters
Change-Id: I2206225309becff134e8f719959d976f71fcde27
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/source/UAccCOM/EnumVariant.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/winaccessibility/source/UAccCOM/EnumVariant.cxx b/winaccessibility/source/UAccCOM/EnumVariant.cxx index cf403fa2455b..e47e5e52bc02 100644 --- a/winaccessibility/source/UAccCOM/EnumVariant.cxx +++ b/winaccessibility/source/UAccCOM/EnumVariant.cxx @@ -36,7 +36,7 @@ using namespace com::sun::star::accessibility; * enumarate method,get next element * @param cElements The number of elements to be returned. * @param pvar An array of at least size celt in which the elements are to be returned. - * @param pcElementFetched Pointer to the number of elements returned in rgVar, or NullĄŁ + * @param pcElementFetched Pointer to the number of elements returned in rgVar, or Null * @return Result. */ HRESULT STDMETHODCALLTYPE CEnumVariant::Next(ULONG cElements,VARIANT __RPC_FAR *pvar,ULONG __RPC_FAR *pcElementFetched) @@ -125,7 +125,7 @@ HRESULT STDMETHODCALLTYPE CEnumVariant::Reset( void) *copy current enumaration container and its state to *the new object *AT will use the copy object to get elements - * @param ppenum On return, pointer to the location of the clone enumeratorĄŁ + * @param ppenum On return, pointer to the location of the clone enumerator * @return Result. */ HRESULT STDMETHODCALLTYPE CEnumVariant::Clone(IEnumVARIANT __RPC_FAR *__RPC_FAR *ppenum) @@ -205,13 +205,10 @@ STDMETHODIMP CEnumVariant::ClearEnumeration() */ static Reference<XAccessibleSelection> GetXAccessibleSelection(XAccessible* pXAcc) { - XAccessibleSelection* pSelection = NULL; - Reference< XAccessibleContext > pRContext; - if( pXAcc == NULL) return NULL; - pRContext = pXAcc->getAccessibleContext(); + Reference< XAccessibleContext > pRContext = pXAcc->getAccessibleContext(); if( !pRContext.is() ) return NULL; |