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

Stephan Bergmann sbergman at redhat.com
Sun Feb 1 12:10:26 PST 2015


 svx/source/accessibility/AccessibleTextHelper.cxx |   20 --------------------
 1 file changed, 20 deletions(-)

New commits:
commit 36b74a58d6e4483895f5ba4eb0334e2b44c27f16
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Feb 1 21:09:49 2015 +0100

    loplugin:unreffun
    
    Change-Id: I25213abc84c3e512fa620aa7c08e0c2e1bc0159a

diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx
index 9b4f556..2331d84 100644
--- a/svx/source/accessibility/AccessibleTextHelper.cxx
+++ b/svx/source/accessibility/AccessibleTextHelper.cxx
@@ -118,10 +118,6 @@ namespace accessibility
         {
             mxFrontEnd = rInterface;
         }
-        uno::Reference< XAccessible > GetEventSource() const
-        {
-            return mxFrontEnd;
-        }
 
         void SetOffset( const Point& );
         Point GetOffset() const
@@ -141,8 +137,6 @@ namespace accessibility
 
         void SetAdditionalChildStates( const VectorOfStates& rChildStates );
 
-        bool IsSelected() const;
-
         void Dispose();
 
         // do NOT hold object mutex when calling this! Danger of deadlock
@@ -350,20 +344,6 @@ namespace accessibility
             throw uno::RuntimeException("AccessibleTextHelper_Impl::GetEditSource: no edit source", mxFrontEnd );
     }
 
-    bool AccessibleTextHelper_Impl::IsSelected() const
-    {
-        bool bRet = false;
-
-        try
-        {
-            ESelection aSelection;
-            bRet = GetEditViewForwarder().GetSelection( aSelection );
-        }
-        catch( const uno::Exception& ) {}
-
-        return bRet;
-    }
-
     // functor for sending child events (no stand-alone function, they are maybe not inlined)
     class AccessibleTextHelper_OffsetChildIndex : public ::std::unary_function< ::accessibility::AccessibleEditableTextPara&, void >
     {


More information about the Libreoffice-commits mailing list