[Libreoffice-commits] core.git: include/vcl svtools/source toolkit/source vcl/source

Michael Meeks michael.meeks at suse.com
Mon May 20 04:18:58 PDT 2013


 include/vcl/combobox.hxx              |    2 +-
 svtools/source/brwbox/ebbcontrols.cxx |    4 ++--
 toolkit/source/awt/vclxtoolkit.cxx    |    4 ++--
 vcl/source/control/combobox.cxx       |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 662d96bc6260e2453a386021dbcfcc6c85ec3778
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Mon May 20 12:15:51 2013 +0100

    vcl: all EnableAutoSize methods take a bool.
    
    Change-Id: I6f974d6b82f6bb77996d20219b5c0ceb78596c5c

diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index 1fcfe31..aa19e9c 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -120,7 +120,7 @@ public:
     void            SetDropDownLineCount( sal_uInt16 nLines );
     sal_uInt16      GetDropDownLineCount() const;
 
-    void            EnableAutoSize( sal_Bool bAuto );
+    void            EnableAutoSize( bool bAuto );
     sal_Bool        IsAutoSizeEnabled() const               { return mbDDAutoSize; }
 
     void            EnableDDAutoWidth( sal_Bool b );
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index 022bc73..7e68ebf 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -44,7 +44,7 @@ namespace svt
     ComboBoxControl::ComboBoxControl(Window* pParent, WinBits nWinStyle)
                    :ComboBox(pParent, nWinStyle|WB_DROPDOWN|WB_NOBORDER)
     {
-        EnableAutoSize(sal_False);
+        EnableAutoSize(false);
         EnableAutocomplete(sal_True);
         SetDropDownLineCount(5);
     }
@@ -151,7 +151,7 @@ namespace svt
     ListBoxControl::ListBoxControl(Window* pParent, WinBits nWinStyle)
                   :ListBox(pParent, nWinStyle|WB_DROPDOWN|WB_NOBORDER)
     {
-        EnableAutoSize(sal_False);
+        EnableAutoSize(false);
         EnableMultiSelection(sal_False);
         SetDropDownLineCount(20);
     }
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 271ec31..21c5b6d 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -634,7 +634,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
             break;
             case WINDOW_COMBOBOX:
                 pNewWindow = new ComboBox( pParent, nWinBits|WB_AUTOHSCROLL );
-                ((ComboBox*)pNewWindow)->EnableAutoSize( sal_False );
+                ((ComboBox*)pNewWindow)->EnableAutoSize( false );
                 *ppNewComp = new VCLXComboBox;
             break;
             case WINDOW_CURRENCYBOX:
@@ -722,7 +722,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
             break;
             case WINDOW_LISTBOX:
                 pNewWindow = new ListBox( pParent, nWinBits|WB_SIMPLEMODE|WB_AUTOHSCROLL );
-                ((ListBox*)pNewWindow)->EnableAutoSize( sal_False );
+                ((ListBox*)pNewWindow)->EnableAutoSize( false );
                 *ppNewComp = new VCLXListBox;
             break;
             case WINDOW_LONGCURRENCYBOX:
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index 425bd5e..5234a52 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -531,7 +531,7 @@ void ComboBox::DoubleClick()
 
 // -----------------------------------------------------------------------
 
-void ComboBox::EnableAutoSize( sal_Bool bAuto )
+void ComboBox::EnableAutoSize( bool bAuto )
 {
     mbDDAutoSize = bAuto;
     if ( mpFloatWin )


More information about the Libreoffice-commits mailing list