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

Tor Lillqvist tml at collabora.com
Mon Dec 2 03:13:19 PST 2013


 sw/inc/accmap.hxx                 |    3 ---
 sw/source/core/access/accmap.cxx  |    2 --
 sw/source/core/access/accpara.cxx |    2 +-
 3 files changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 0c07e71fbd2c7dcc28434878e274f01d6441ed8f
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Dec 2 13:09:24 2013 +0200

    WaE: unused variable
    
    Change-Id: I2a479f87c63044d83a8271c0b1dc1698d52245a8

diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index 1fca127..fa1ce1a 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -2521,7 +2521,7 @@ void SwAccessibleParagraph::_correctValues( const sal_Int32 nIndex,
         {
             if ( GetPortionData().IsIndexInFootnode(nIndex) )
             {
-                const OUString sEscapmentName = OUString::createFromAscii( GetPropName( UNO_NAME_CHAR_ESCAPEMENT ).pName );
+                GetPropName( UNO_NAME_CHAR_ESCAPEMENT );
                 rValue.Value <<= (sal_Int32)101;
             }
             continue;
commit 4ae2c3c3dc0be4b511ab07b6f9bd1806f2789725
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Dec 2 13:08:09 2013 +0200

    WaE: unused private fields
    
    Change-Id: I2084fa7cc0af9385b532c6beab0368bc2e45e29e

diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx
index 731518c..0329cf7 100644
--- a/sw/inc/accmap.hxx
+++ b/sw/inc/accmap.hxx
@@ -95,9 +95,6 @@ class SwAccessibleMap : public ::accessibility::IAccessibleViewForwarder,
     ::com::sun::star::uno::WeakReference < ::com::sun::star::accessibility::XAccessible > mxCursorContext;
 
     sal_Int32 mnPara;
-    sal_Int32 mnFootnote;
-    sal_Int32 mnEndnote;
-
 
     bool mbShapeSelected;
 
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index f9d9c56..a79b2d6 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -1611,8 +1611,6 @@ SwAccessibleMap::SwAccessibleMap( SwViewShell *pSh ) :
     mpVSh( pSh ),
         mpPreview( 0 ),
     mnPara( 1 ),
-    mnFootnote( 1 ),
-    mnEndnote( 1 ),
     mbShapeSelected( false ),
     mpSeletedFrmMap(NULL)
 {


More information about the Libreoffice-commits mailing list