[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 3 commits - cui/source sc/source sfx2/source

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


 cui/source/customize/macropg.cxx                  |    4 ++--
 sc/source/ui/Accessibility/AccessibleDocument.cxx |    2 +-
 sfx2/source/dialog/templdlg.hrc                   |    5 -----
 3 files changed, 3 insertions(+), 8 deletions(-)

New commits:
commit b01b45e9d73a318e983fa5f023d6167218ed2558
Author: Pavel Janík <paveljanik at apache.org>
Date:   Tue Nov 26 19:43:10 2013 +0000

    WaE: initialize boolean variable to prevent compiler warning.

diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index 7cc0fb2..620cec9 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -2554,7 +2554,7 @@ com::sun::star::uno::Sequence< com::sun::star::uno::Any > ScAccessibleDocument::
     }
     else if ( nType == FINDREPLACEFLOWTO )
     {
-        sal_Bool bSuccess;
+        sal_Bool bSuccess(sal_False);
         rAny >>= bSuccess;
         if ( bSuccess )
         {
commit 581e812b783e76b0f00cfebb3ea2cd99fd87c84d
Author: Pavel Janík <paveljanik at apache.org>
Date:   Tue Nov 26 18:56:35 2013 +0000

    WaE: reorder initializations to prevent compiler warnings.

diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index f8834ab..13cb241 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -162,8 +162,8 @@ long _HeaderTabListBox::Notify( NotifyEvent& rNEvt )
 
 _HeaderTabListBox::_HeaderTabListBox( Window* pParent, const ResId& rId ) :
     Control( pParent, rId ),
-    maListBox( this, WB_HSCROLL | WB_CLIPCHILDREN | WB_TABSTOP ),
-    maHeaderBar( this, WB_BUTTONSTYLE | WB_BOTTOMBORDER )
+    maHeaderBar( this, WB_BUTTONSTYLE | WB_BOTTOMBORDER ),
+    maListBox( this, WB_HSCROLL | WB_CLIPCHILDREN | WB_TABSTOP )
 {
     maListBox.SetHelpId( HID_MACRO_HEADERTABLISTBOX );
 
commit 826b91f50c9ec6d0b12dc30c40d0c8fb239b3a4e
Author: Pavel Janík <paveljanik at apache.org>
Date:   Tue Nov 26 18:26:31 2013 +0000

    Remove duplicate define STR_STYLE_ELEMTLIST.

diff --git a/sfx2/source/dialog/templdlg.hrc b/sfx2/source/dialog/templdlg.hrc
index 3d2c85e..6d04803 100644
--- a/sfx2/source/dialog/templdlg.hrc
+++ b/sfx2/source/dialog/templdlg.hrc
@@ -44,8 +44,3 @@
 #define BT_FLIST 8
 #define BT_VLIST 9
 #define BT_TOOL 10
-
-//IAccessibility2 Implementation 2009-----
-#define STR_STYLE_ELEMTLIST 18
-//-----IAccessibility2 Implementation 2009
-


More information about the Libreoffice-commits mailing list