From 09155190d817dd880cc96a106114618b46a5a7e5 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 1 Mar 2014 23:16:10 +0100 Subject: Variable not used but remove some wrong characters Change-Id: I2206225309becff134e8f719959d976f71fcde27 --- winaccessibility/source/UAccCOM/EnumVariant.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'winaccessibility') 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 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; -- cgit v1.2.3