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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Feb 25 09:42:45 UTC 2019


 editeng/source/accessibility/AccessibleStaticTextBase.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 26a9a179097cf7b50b27b57f744a99355ffeb60e
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Feb 25 10:42:03 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Feb 25 10:42:03 2019 +0100

    -Werror,-Wunused-private-field
    
    Change-Id: Ief089d6d2a43b4fbd18519cb2c8ab1d867c47118

diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx
index b37d62d57979..048f757542fe 100644
--- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx
+++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx
@@ -27,7 +27,6 @@
 #include <vector>
 #include <algorithm>
 #include <functional>
-#include <osl/mutex.hxx>
 #include <tools/debug.hxx>
 #include <vcl/window.hxx>
 #include <vcl/svapp.hxx>
@@ -170,9 +169,6 @@ namespace accessibility
 
         // a wrapper for the text forwarders (guarded by solar mutex)
         mutable SvxEditSourceAdapter maEditSource;
-
-        // guard for maOffset
-        mutable ::osl::Mutex maMutex;
     };
 
 
@@ -181,8 +177,7 @@ namespace accessibility
 
     AccessibleStaticTextBase_Impl::AccessibleStaticTextBase_Impl() :
         mxTextParagraph( new AccessibleEditableTextPara(nullptr) ),
-        maEditSource(),
-        maMutex()
+        maEditSource()
     {
 
         // TODO: this is still somewhat of a hack, all the more since


More information about the Libreoffice-commits mailing list