winaccessibility/source/service/AccObjectWinManager.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 470ed0ff78a8b07d5aa02e0bba97bfa479860cf3
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Mon Feb 28 08:23:05 2022 +0000
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Mon Feb 28 17:42:18 2022 +0100

    wina11y: Drop useless #ifdef block
    
    `ACC_DEBUG` isn't defined anywhere and the
    `pFile` variable/member used inside of the `ifedf`ed block
    doesn't exist either.
    
    Change-Id: I0d04ca71dbc9a731a6673fad9b69c1229c472d16
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130696
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx 
b/winaccessibility/source/service/AccObjectWinManager.cxx
index 341d108e1bff..0f37eeb2628f 100644
--- a/winaccessibility/source/service/AccObjectWinManager.cxx
+++ b/winaccessibility/source/service/AccObjectWinManager.cxx
@@ -79,10 +79,6 @@ AccObjectWinManager::~AccObjectWinManager()
     HwndXAcc.clear();
     XResIdAccList.clear();
     XHWNDDocList.clear();
-#ifdef ACC_DEBUG
-
-    fclose( pFile );
-#endif
 }
 
 

Reply via email to