[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 2 commits - sc/source sw/source

Pavel Janík paveljanik at apache.org
Tue Nov 26 14:08:43 PST 2013


 sc/source/core/data/documen2.cxx |    8 ++++----
 sw/source/core/access/accmap.cxx |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit e215b94aea58527bf76db44f0985b467502d457b
Author: Pavel Janík <paveljanik at apache.org>
Date:   Tue Nov 26 20:36:34 2013 +0000

    WaE: compare unsigned values.

diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index b7cb870..a2fef1e 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -1575,7 +1575,7 @@ void SwAccessibleMap::DoInvalidateShapeSelection(sal_Bool bInvalidateFocusMode /
             ++pShape;
         }
 
-        const int SELECTION_WITH_NUM =10;
+        const unsigned int SELECTION_WITH_NUM = 10;
         if (vecxShapeAdd.size() > SELECTION_WITH_NUM )
         {
             uno::Reference< XAccessible > xDoc = GetDocumentView( );
commit c70ed91694191aed2ebc46fd0e20496b6e0499bb
Author: Pavel Janík <paveljanik at apache.org>
Date:   Tue Nov 26 20:05:14 2013 +0000

    WaE: reorder initializations to prevent compiler warning.

diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index bcc0a9d..311bbde 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -216,15 +216,15 @@ ScDocument::ScDocument( ScDocumentMode  eMode,
         eGrammar( formula::FormulaGrammar::GRAM_NATIVE ),
         bStyleSheetUsageInvalid( sal_True ),
         mbUndoEnabled( true ),
-//IAccessibility2 Implementation 2009-----
-        bReadOnly(sal_False),
-//-----IAccessibility2 Implementation 2009
         mbAdjustHeightEnabled( true ),
         mbExecuteLinkEnabled( true ),
         mbChangeReadOnlyEnabled( false ),
         mbStreamValidLocked( false ),
         mbIsTemporary(false), // #118840#
-        mnNamedRangesLockCount( 0 )
+        mnNamedRangesLockCount( 0 ),
+//IAccessibility2 Implementation 2009-----
+        bReadOnly(sal_False)
+//-----IAccessibility2 Implementation 2009
 {
     SetStorageGrammar( formula::FormulaGrammar::GRAM_STORAGE_DEFAULT);
 


More information about the Libreoffice-commits mailing list