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

Stephan Bergmann sbergman at redhat.com
Wed Nov 27 07:48:30 PST 2013


 svx/source/accessibility/ShapeTypeHandler.cxx             |    2 --
 svx/source/accessibility/svxpixelctlaccessiblecontext.cxx |    2 --
 2 files changed, 4 deletions(-)

New commits:
commit e556e2890ca2baaf05a2694463b15aee6b803454
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 27 16:48:05 2013 +0100

    -Werror,-Wunused-variable
    
    Change-Id: Ia202059eb891b1088dc276c963e16ede93fe8d05

diff --git a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
index e433f67..a4b25dd 100644
--- a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
@@ -345,7 +345,6 @@ void SvxPixelCtlAccessible::grabFocus(  ) throw (uno::RuntimeException)
 sal_Int32 SvxPixelCtlAccessible::getForeground(  )
         throw (::com::sun::star::uno::RuntimeException)
 {
-    uno::Any aRet;
     ::osl::MutexGuard   aGuard( m_aMutex );
     IsValid();
     return pPixelCtl->GetControlForeground().GetColor();
@@ -354,7 +353,6 @@ sal_Int32 SvxPixelCtlAccessible::getForeground(  )
 sal_Int32 SvxPixelCtlAccessible::getBackground(  )
         throw (::com::sun::star::uno::RuntimeException)
 {
-    uno::Any aRet;
     ::osl::MutexGuard   aGuard( m_aMutex );
     IsValid();
     return pPixelCtl->GetControlBackground().GetColor();
commit 2733831474036f4893e8a90795f5799279d151d0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 27 16:47:32 2013 +0100

    -Werror,-Wunused-variable
    
    Change-Id: Id3e24e7efd84db03d0d1636bf099bac3fede55db

diff --git a/svx/source/accessibility/ShapeTypeHandler.cxx b/svx/source/accessibility/ShapeTypeHandler.cxx
index f23b9ab..dc3fb56 100644
--- a/svx/source/accessibility/ShapeTypeHandler.cxx
+++ b/svx/source/accessibility/ShapeTypeHandler.cxx
@@ -306,8 +306,6 @@ OUString
                     SdrObject *pSdrObj = pShape->GetSdrObject();
                     if (pSdrObj)
                     {
-                        OUString aTmp(pSdrObj->TakeObjNameSingul());
-
                         if(pSdrObj->ISA(SdrObjCustomShape))
                         {
                             SdrObjCustomShape* pCustomShape = (SdrObjCustomShape*)pSdrObj;


More information about the Libreoffice-commits mailing list