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

Miklos Vajna vmiklos at collabora.co.uk
Mon Feb 13 11:11:04 UTC 2017


 sw/source/core/access/acctable.cxx |   12 ++++++------
 sw/source/core/access/acctable.hxx |    4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 2bb20f5bcf5b44be2e401a0bb95e4b3cea5f052c
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Feb 13 10:19:13 2017 +0100

    sw: prefix members of SwAccessibleTable
    
    Change-Id: I1b69dd4f5f98a3aade59ecf9b380c7afd9367450

diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx
index bca6e1d..11beb63 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -777,7 +777,7 @@ SwAccessibleTable::SwAccessibleTable(
     const OUString sArg1( static_cast< const SwTabFrame * >( GetFrame() )->GetFormat()->GetName() );
     const OUString sArg2( GetFormattedPageNumber() );
 
-    sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sArg1, &sArg2 );
+    m_sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sArg1, &sArg2 );
     UpdateTableData();
 }
 
@@ -814,16 +814,16 @@ void SwAccessibleTable::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew
                 FireAccessibleEvent( aEvent );
             }
 
-            const OUString sOldDesc( sDesc );
+            const OUString sOldDesc( m_sDesc );
             const OUString sArg2( GetFormattedPageNumber() );
 
-            sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sNewTabName, &sArg2 );
-            if( sDesc != sOldDesc )
+            m_sDesc = GetResource( STR_ACCESS_TABLE_DESC, &sNewTabName, &sArg2 );
+            if( m_sDesc != sOldDesc )
             {
                 AccessibleEventObject aEvent;
                 aEvent.EventId = AccessibleEventId::DESCRIPTION_CHANGED;
                 aEvent.OldValue <<= sOldDesc;
-                aEvent.NewValue <<= sDesc;
+                aEvent.NewValue <<= m_sDesc;
                 FireAccessibleEvent( aEvent );
             }
         }
@@ -913,7 +913,7 @@ OUString SAL_CALL SwAccessibleTable::getAccessibleDescription()
 
     CHECK_FOR_DEFUNC( XAccessibleContext )
 
-    return sDesc;
+    return m_sDesc;
 }
 
 sal_Int32 SAL_CALL SwAccessibleTable::getAccessibleRowCount()
diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx
index db4e9c3..a7e4003 100644
--- a/sw/source/core/access/acctable.hxx
+++ b/sw/source/core/access/acctable.hxx
@@ -44,7 +44,7 @@ class SwAccessibleTable :
         public SwClient
 {
     SwAccessibleTableData_Impl *mpTableData;    // the table's data, prot by Sol-Mutex
-    OUString sDesc;
+    OUString m_sDesc;
     const SwSelBoxes *GetSelBoxes() const;
 
     void FireTableChangeEvent( const SwAccessibleTableData_Impl& rTableData );
@@ -66,7 +66,7 @@ protected:
     // #i77106#
     inline void SetDesc( const OUString& sNewDesc )
     {
-        sDesc = sNewDesc;
+        m_sDesc = sNewDesc;
     }
 
     virtual SwAccessibleTableData_Impl* CreateNewTableData(); // #i77106#


More information about the Libreoffice-commits mailing list