[Libreoffice-commits] core.git: winaccessibility/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Oct 20 17:50:12 UTC 2018


 winaccessibility/source/service/AccObject.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 3421107a2bb5defc99a59fd0683a7b3014bc5444
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 19 17:24:16 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Oct 20 19:49:52 2018 +0200

    unused pUNumberString buffer
    
    Change-Id: Ib17f5344b9bdf3710a49fc054dd96d5998e6b822
    Reviewed-on: https://gerrit.libreoffice.org/62065
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx
index eabed2cc219b..abcaaf7c2a67 100644
--- a/winaccessibility/source/service/AccObject.cxx
+++ b/winaccessibility/source/service/AccObject.cxx
@@ -380,9 +380,6 @@ void AccObject::UpdateDefaultAction( )
    */
 void  AccObject::SetValue( Any pAny )
 {
-    unsigned short pUNumberString[100];
-    memset( pUNumberString, 0 , sizeof( pUNumberString) );
-
     if( nullptr == m_pIMAcc || !m_xAccContextRef.is() )
     {
         assert(false);
@@ -423,9 +420,8 @@ void  AccObject::SetValue( Any pAny )
     }
 
     return;
-
-
 }
+
 ::rtl::OUString AccObject::GetMAccessibleValueFromAny(Any pAny)
 {
     ::rtl::OUString strValue;


More information about the Libreoffice-commits mailing list