Author: hdu
Date: Mon Jan 14 15:08:03 2013
New Revision: 1432943

URL: http://svn.apache.org/viewvc?rev=1432943&view=rev
Log:
make some important single-parameter constructors explicit

for symmetry also the other constructors in the same class
and mark their destructors as virtual if they are anyway

Modified:
    openoffice/trunk/main/vcl/inc/vcl/button.hxx
    openoffice/trunk/main/vcl/inc/vcl/combobox.hxx
    openoffice/trunk/main/vcl/inc/vcl/ctrl.hxx
    openoffice/trunk/main/vcl/inc/vcl/dialog.hxx
    openoffice/trunk/main/vcl/inc/vcl/dockingarea.hxx
    openoffice/trunk/main/vcl/inc/vcl/event.hxx
    openoffice/trunk/main/vcl/inc/vcl/field.hxx
    openoffice/trunk/main/vcl/inc/vcl/fixed.hxx
    openoffice/trunk/main/vcl/inc/vcl/floatwin.hxx
    openoffice/trunk/main/vcl/inc/vcl/fontmanager.hxx
    openoffice/trunk/main/vcl/inc/vcl/group.hxx
    openoffice/trunk/main/vcl/inc/vcl/lstbox.hxx
    openoffice/trunk/main/vcl/inc/vcl/menu.hxx
    openoffice/trunk/main/vcl/inc/vcl/menubtn.hxx
    openoffice/trunk/main/vcl/inc/vcl/metaact.hxx
    openoffice/trunk/main/vcl/inc/vcl/morebtn.hxx
    openoffice/trunk/main/vcl/inc/vcl/pngread.hxx
    openoffice/trunk/main/vcl/inc/vcl/scrbar.hxx
    openoffice/trunk/main/vcl/inc/vcl/spin.hxx
    openoffice/trunk/main/vcl/inc/vcl/spinfld.hxx
    openoffice/trunk/main/vcl/inc/vcl/split.hxx
    openoffice/trunk/main/vcl/inc/vcl/syschild.hxx
    openoffice/trunk/main/vcl/inc/vcl/tabpage.hxx
    openoffice/trunk/main/vcl/inc/vcl/virdev.hxx
    openoffice/trunk/main/vcl/inc/vcl/wrkwin.hxx

Modified: openoffice/trunk/main/vcl/inc/vcl/button.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/button.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/button.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/button.hxx Mon Jan 14 15:08:03 2013
@@ -66,12 +66,12 @@ public:
     SAL_DLLPRIVATE void             ImplSetSymbolRect(const Rectangle&);
 
 protected:
-                        Button( WindowType nType );
+    explicit            Button( WindowType nType );
 
 public:
-                        Button( Window* pParent, WinBits nStyle = 0 );
-                        Button( Window* pParent, const ResId& rResId );
-                       ~Button();
+    explicit            Button( Window* pParent, WinBits nStyle = 0 );
+    explicit            Button( Window* pParent, const ResId& );
+    virtual             ~Button();
 
     virtual void        Click();
 
@@ -149,7 +149,7 @@ public:
     SAL_DLLPRIVATE sal_Bool            ImplIsDefButton() const;
 
 protected:
-                    PushButton( WindowType nType );
+    explicit        PushButton( WindowType nType );
 
     virtual void    FillLayoutData() const;
     virtual const Font&
@@ -157,9 +157,9 @@ protected:
     virtual const Color&
                     GetCanonicalTextColor( const StyleSettings& _rStyle ) 
const;
 public:
-                    PushButton( Window* pParent, WinBits nStyle = 0 );
-                    PushButton( Window* pParent, const ResId& rResId );
-                    ~PushButton();
+    explicit        PushButton( Window* pParent, WinBits nStyle = 0 );
+    explicit        PushButton( Window* pParent, const ResId& );
+    virtual         ~PushButton();
 
     virtual void    MouseButtonDown( const MouseEvent& rMEvt );
     virtual void    Tracking( const TrackingEvent& rTEvt );
@@ -232,8 +232,8 @@ private:
        SAL_DLLPRIVATE                 OKButton & operator= (const OKButton &);
 
 public:
-                    OKButton( Window* pParent, WinBits nStyle = WB_DEFBUTTON );
-                    OKButton( Window* pParent, const ResId& rResId );
+    explicit        OKButton( Window* pParent, WinBits nStyle = WB_DEFBUTTON );
+    explicit        OKButton( Window* pParent, const ResId& );
 
     virtual void    Click();
 };
@@ -254,8 +254,8 @@ private:
        SAL_DLLPRIVATE      CancelButton & operator= (const CancelButton &);
 
 public:
-                    CancelButton( Window* pParent, WinBits nStyle = 0 );
-                    CancelButton( Window* pParent, const ResId& rResId );
+    explicit        CancelButton( Window* pParent, WinBits nStyle = 0 );
+    explicit        CancelButton( Window* pParent, const ResId& );
 
     virtual void    Click();
 };
@@ -276,8 +276,8 @@ private:
        SAL_DLLPRIVATE      HelpButton & operator= ( const HelpButton & );
 
 public:
-                    HelpButton( Window* pParent, WinBits nStyle = 0 );
-                    HelpButton( Window* pParent, const ResId& rResId );
+    explicit        HelpButton( Window* pParent, WinBits nStyle = 0 );
+    explicit        HelpButton( Window* pParent, const ResId& );
 
     virtual void    Click();
 };
@@ -344,9 +344,9 @@ protected:
     void                       DrawRadioButtonState( );
 
 public:
-                    RadioButton( Window* pParent, WinBits nWinStyle = 0 );
-                    RadioButton( Window* pParent, const ResId& rResId );
-                    ~RadioButton();
+    explicit        RadioButton( Window* pParent, WinBits nWinStyle = 0 );
+    explicit        RadioButton( Window* pParent, const ResId& );
+    virtual         ~RadioButton();
 
     virtual void    MouseButtonDown( const MouseEvent& rMEvt );
     virtual void    Tracking( const TrackingEvent& rTEvt );
@@ -450,8 +450,8 @@ public:
     SAL_DLLPRIVATE void         ImplCheck();    
     SAL_DLLPRIVATE void         ImplSetMinimumNWFSize();
 public:
-                    CheckBox( Window* pParent, WinBits nStyle = 0 );
-                    CheckBox( Window* pParent, const ResId& rResId );
+    explicit        CheckBox( Window* pParent, WinBits nStyle = 0 );
+    explicit        CheckBox( Window* pParent, const ResId& );
 
     virtual void    MouseButtonDown( const MouseEvent& rMEvt );
     virtual void    Tracking( const TrackingEvent& rTEvt );
@@ -515,12 +515,12 @@ private:
        SAL_DLLPRIVATE          ImageButton & operator= ( const ImageButton & );
 
 protected:
-                    ImageButton( WindowType nType );
+    explicit        ImageButton( WindowType nType );
 
 public:
-                    ImageButton( Window* pParent, WinBits nStyle = 0 );
-                    ImageButton( Window* pParent, const ResId& rResId );
-                    ~ImageButton();
+    explicit        ImageButton( Window* pParent, WinBits nStyle = 0 );
+    explicit        ImageButton( Window* pParent, const ResId& );
+    virtual         ~ImageButton();
 };
 
 class VCL_DLLPUBLIC ImageRadioButton : public RadioButton
@@ -530,9 +530,9 @@ class VCL_DLLPUBLIC ImageRadioButton : p
        SAL_DLLPRIVATE  ImageRadioButton & operator= ( const ImageRadioButton & 
);
 
 public:
-                    ImageRadioButton( Window* pParent, WinBits nStyle = 0 );
-                    ImageRadioButton( Window* pParent, const ResId& rResId );
-                    ~ImageRadioButton();
+    explicit        ImageRadioButton( Window* pParent, WinBits nStyle = 0 );
+    explicit        ImageRadioButton( Window* pParent, const ResId& );
+    virtual         ~ImageRadioButton();
 };
 
 class VCL_DLLPUBLIC TriStateBox : public CheckBox
@@ -542,9 +542,9 @@ class VCL_DLLPUBLIC TriStateBox : public
        SAL_DLLPRIVATE  TriStateBox & operator= ( const TriStateBox & );
 
 public:
-            TriStateBox( Window* pParent, WinBits nStyle = 0 );
-            TriStateBox( Window* pParent, const ResId& rResId );
-            ~TriStateBox();
+    explicit        TriStateBox( Window* pParent, WinBits nStyle = 0 );
+    explicit        TriStateBox( Window* pParent, const ResId& );
+    virtual         ~TriStateBox();
 };
 
 class VCL_DLLPUBLIC DisclosureButton : public CheckBox
@@ -552,10 +552,11 @@ class VCL_DLLPUBLIC DisclosureButton : p
 protected:
     SAL_DLLPRIVATE virtual void ImplDrawCheckBoxState();
 public:
-    DisclosureButton( Window* pParent, WinBits nStyle = 0 );
-    DisclosureButton( Window* pParent, const ResId& rResId );
+    explicit DisclosureButton( Window* pParent, WinBits nStyle = 0 );
+    explicit DisclosureButton( Window* pParent, const ResId& );
 
     virtual void    KeyInput( const KeyEvent& rKEvt );
 };
 
 #endif  // _SV_BUTTON_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/combobox.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/combobox.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/combobox.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/combobox.hxx Mon Jan 14 15:08:03 2013
@@ -77,14 +77,14 @@ protected:
 //#endif
 
 protected:
-                    ComboBox( WindowType nType );
+    explicit            ComboBox( WindowType nType );
     sal_Bool            IsDropDownBox() const { return mpFloatWin ? sal_True : 
sal_False; }
 
     virtual void  FillLayoutData() const;
 public:
-                    ComboBox( Window* pParent, WinBits nStyle = 0 );
-                    ComboBox( Window* pParent, const ResId& rResId );
-                    ~ComboBox();
+    explicit        ComboBox( Window* pParent, WinBits nStyle = 0 );
+    explicit        ComboBox( Window* pParent, const ResId& );
+    virtual         ~ComboBox();
 
     virtual void    Draw( OutputDevice* pDev, const Point& rPos, const Size& 
rSize, sal_uLong nFlags );
     virtual void    Resize();
@@ -224,3 +224,4 @@ public:
 };
 
 #endif  // _COMBOBOX_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/ctrl.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/ctrl.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/ctrl.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/ctrl.hxx Mon Jan 14 15:08:03 2013
@@ -130,9 +130,9 @@ public:
 //#endif    
 
 public:
-                                       Control( Window* pParent, WinBits 
nWinStyle = 0 );
-                                       Control( Window* pParent, const ResId& 
rResId );
-                               ~Control();
+       explicit                Control( Window* pParent, WinBits nWinStyle = 0 
);
+       explicit                Control( Window* pParent, const ResId& );
+       virtual                 ~Control();
 
        virtual void    GetFocus();
        virtual void    LoseFocus();

Modified: openoffice/trunk/main/vcl/inc/vcl/dialog.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/dialog.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/dialog.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/dialog.hxx Mon Jan 14 15:08:03 2013
@@ -74,8 +74,8 @@ protected:
        virtual void    Draw( OutputDevice* pDev, const Point& rPos, const 
Size& rSize, sal_uLong nFlags );
 
 public:
-                                       Dialog( Window* pParent, WinBits nStyle 
= WB_STDDIALOG );
-                                       Dialog( Window* pParent, const ResId& 
rResId );
+       explicit                Dialog( Window* pParent, WinBits nStyle = 
WB_STDDIALOG );
+       explicit                Dialog( Window* pParent, const ResId& );
     virtual         ~Dialog();
 
        virtual long    Notify( NotifyEvent& rNEvt );
@@ -128,8 +128,8 @@ class VCL_DLLPUBLIC ModelessDialog : pub
 //#endif
 
 public:
-                                       ModelessDialog( Window* pParent, 
WinBits nStyle = WB_STDMODELESS );
-                                       ModelessDialog( Window* pParent, const 
ResId& rResId );
+       explicit                ModelessDialog( Window* pParent, WinBits nStyle 
= WB_STDMODELESS );
+       explicit                ModelessDialog( Window* pParent, const ResId& );
 };
 
 // ---------------
@@ -139,8 +139,8 @@ public:
 class VCL_DLLPUBLIC ModalDialog : public Dialog
 {
 public:
-                                       ModalDialog( Window* pParent, WinBits 
nStyle = WB_STDMODAL );
-                                       ModalDialog( Window* pParent, const 
ResId& rResId );
+       explicit                ModalDialog( Window* pParent, WinBits nStyle = 
WB_STDMODAL );
+       explicit                ModalDialog( Window* pParent, const ResId& );
 
 private:
     using Window::Show;
@@ -156,3 +156,4 @@ private:
 };
 
 #endif // _SV_DIALOG_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/dockingarea.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/dockingarea.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/dockingarea.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/dockingarea.hxx Mon Jan 14 15:08:03 2013
@@ -44,8 +44,8 @@ private:
        SAL_DLLPRIVATE  DockingAreaWindow & operator= (const DockingAreaWindow 
&);
 
 public:
-                    DockingAreaWindow( Window *pParent );
-                    ~DockingAreaWindow();
+    explicit        DockingAreaWindow( Window* pParent );
+    virtual         ~DockingAreaWindow();
 
     void            SetAlign( WindowAlign eNewAlign );
     WindowAlign     GetAlign() const;

Modified: openoffice/trunk/main/vcl/inc/vcl/event.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/event.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/event.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/event.hxx Mon Jan 14 15:08:03 2013
@@ -128,8 +128,8 @@ private:
     sal_uInt16          mnCode;
 
 public:
-                    MouseEvent();
-                    MouseEvent( const Point& rPos, sal_uInt16 nClicks = 1,
+    explicit        MouseEvent();
+    explicit        MouseEvent( const Point& rPos, sal_uInt16 nClicks = 1,
                                 sal_uInt16 nMode = 0, sal_uInt16 nButtons = 0,
                                 sal_uInt16 nModifier = 0 );
 
@@ -207,9 +207,9 @@ private:
     sal_Bool            mbKeyboardActivated;
 
 public:
-                    HelpEvent();
-                    HelpEvent( sal_uInt16 nHelpMode );
-                    HelpEvent( const Point& rMousePos, sal_uInt16 nHelpMode );
+    explicit        HelpEvent();
+    explicit        HelpEvent( sal_uInt16 nHelpMode );
+    explicit        HelpEvent( const Point& rMousePos, sal_uInt16 nHelpMode );
 
     const Point&    GetMousePosPixel() const;
     sal_uInt16          GetMode() const { return mnMode; }
@@ -300,8 +300,8 @@ private:
     sal_uInt16              mnFlags;
 
 public:
-                        TrackingEvent();
-                        TrackingEvent( const MouseEvent& rMEvt,
+    explicit            TrackingEvent();
+    explicit            TrackingEvent( const MouseEvent&,
                                        sal_uInt16 nTrackFlags = 0 );
 
     const MouseEvent&   GetMouseEvent() const { return maMEvt; }
@@ -435,8 +435,8 @@ private:
     sal_uInt16                  mnType;
 
 public:
-                            DataChangedEvent();
-                            DataChangedEvent( sal_uInt16 nType,
+    explicit                DataChangedEvent();
+    explicit                DataChangedEvent( sal_uInt16 nType,
                                               const void* pData = NULL,
                                               sal_uLong nFlags = 0 );
 

Modified: openoffice/trunk/main/vcl/inc/vcl/field.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/field.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/field.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/field.hxx Mon Jan 14 15:08:03 2013
@@ -64,7 +64,7 @@ protected:
     sal_Bool                    IsDefaultLocale() const { return 
mbDefaultLocale; }
 
 public:
-                            FormatterBase( Edit* pField = NULL );
+    explicit                FormatterBase( Edit* pField = NULL );
     virtual                 ~FormatterBase();
 
     const LocaleDataWrapper& GetLocaleDataWrapper() const;
@@ -502,9 +502,9 @@ public:
 class VCL_DLLPUBLIC PatternField : public SpinField, public PatternFormatter
 {
 public:
-                            PatternField( Window* pParent, WinBits nWinStyle );
-                            PatternField( Window* pParent, const ResId& rResId 
);
-                            ~PatternField();
+    explicit                PatternField( Window* pParent, WinBits nWinStyle );
+    explicit                PatternField( Window* pParent, const ResId& );
+    virtual                 ~PatternField();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -522,9 +522,9 @@ protected:
     SAL_DLLPRIVATE void     ImplLoadRes( const ResId& rResId );
 
 public:
-                            NumericField( Window* pParent, WinBits nWinStyle );
-                            NumericField( Window* pParent, const ResId& rResId 
);
-                            ~NumericField();
+    explicit                NumericField( Window* pParent, WinBits nWinStyle );
+    explicit                NumericField( Window* pParent, const ResId& );
+    virtual                 ~NumericField();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -549,9 +549,9 @@ protected:
     SAL_DLLPRIVATE void     ImplLoadRes( const ResId& rResId );
 
 public:
-                            MetricField( Window* pParent, WinBits nWinStyle );
-                            MetricField( Window* pParent, const ResId& rResId 
);
-                            ~MetricField();
+    explicit                MetricField( Window* pParent, WinBits nWinStyle );
+    explicit                MetricField( Window* pParent, const ResId& );
+    virtual                 ~MetricField();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -616,9 +616,9 @@ protected:
     SAL_DLLPRIVATE void     ImplLoadRes( const ResId& rResId );
 
 public:
-                            CurrencyField( Window* pParent, WinBits nWinStyle 
);
-                            CurrencyField( Window* pParent, const ResId& 
rResId );
-                            ~CurrencyField();
+    explicit                CurrencyField( Window* pParent, WinBits nWinStyle 
);
+    explicit                CurrencyField( Window* pParent, const ResId& );
+    virtual                 ~CurrencyField();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -648,9 +648,9 @@ protected:
     SAL_DLLPRIVATE void     ImplLoadRes( const ResId& rResId );
 
 public:
-                            DateField( Window* pParent, WinBits nWinStyle );
-                            DateField( Window* pParent, const ResId& rResId );
-                            ~DateField();
+    explicit                DateField( Window* pParent, WinBits nWinStyle );
+    explicit                DateField( Window* pParent, const ResId& );
+    virtual                 ~DateField();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -684,9 +684,9 @@ protected:
     SAL_DLLPRIVATE void     ImplLoadRes( const ResId& rResId );
 
 public:
-                            TimeField( Window* pParent, WinBits nWinStyle );
-                            TimeField( Window* pParent, const ResId& rResId );
-                            ~TimeField();
+    explicit                TimeField( Window* pParent, WinBits nWinStyle );
+    explicit                TimeField( Window* pParent, const ResId& );
+    virtual                 ~TimeField();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -715,9 +715,9 @@ public:
 class VCL_DLLPUBLIC PatternBox : public ComboBox, public PatternFormatter
 {
 public:
-                            PatternBox( Window* pParent, WinBits nWinStyle );
-                            PatternBox( Window* pParent, const ResId& rResId );
-                            ~PatternBox();
+    explicit                PatternBox( Window* pParent, WinBits nWinStyle );
+    explicit                PatternBox( Window* pParent, const ResId& );
+    virtual                 ~PatternBox();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -742,9 +742,9 @@ public:
 class VCL_DLLPUBLIC NumericBox : public ComboBox, public NumericFormatter
 {
 public:
-                            NumericBox( Window* pParent, WinBits nWinStyle );
-                            NumericBox( Window* pParent, const ResId& rResId );
-                            ~NumericBox();
+    explicit                NumericBox( Window* pParent, WinBits nWinStyle );
+    explicit                NumericBox( Window* pParent, const ResId& );
+    virtual                 ~NumericBox();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -769,9 +769,9 @@ public:
 class VCL_DLLPUBLIC MetricBox : public ComboBox, public MetricFormatter
 {
 public:
-                            MetricBox( Window* pParent, WinBits nWinStyle );
-                            MetricBox( Window* pParent, const ResId& rResId );
-                            ~MetricBox();
+    explicit                MetricBox( Window* pParent, WinBits nWinStyle );
+    explicit                MetricBox( Window* pParent, const ResId& );
+    virtual                 ~MetricBox();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -802,9 +802,9 @@ public:
 class VCL_DLLPUBLIC CurrencyBox : public ComboBox, public CurrencyFormatter
 {
 public:
-                            CurrencyBox( Window* pParent, WinBits nWinStyle );
-                            CurrencyBox( Window* pParent, const ResId& rResId 
);
-                            ~CurrencyBox();
+    explicit                CurrencyBox( Window* pParent, WinBits nWinStyle );
+    explicit                CurrencyBox( Window* pParent, const ResId& );
+    virtual                 ~CurrencyBox();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -831,9 +831,9 @@ public:
 class VCL_DLLPUBLIC DateBox : public ComboBox, public DateFormatter
 {
 public:
-                            DateBox( Window* pParent, WinBits nWinStyle );
-                            DateBox( Window* pParent, const ResId& rResId );
-                            ~DateBox();
+    explicit                DateBox( Window* pParent, WinBits nWinStyle );
+    explicit                DateBox( Window* pParent, const ResId& );
+    virtual                 ~DateBox();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );
@@ -858,9 +858,9 @@ public:
 class VCL_DLLPUBLIC TimeBox : public ComboBox, public TimeFormatter
 {
 public:
-                            TimeBox( Window* pParent, WinBits nWinStyle );
-                            TimeBox( Window* pParent, const ResId& rResId );
-                            ~TimeBox();
+    explicit                TimeBox( Window* pParent, WinBits nWinStyle );
+    explicit                TimeBox( Window* pParent, const ResId& );
+    virtual                 ~TimeBox();
 
     virtual long            PreNotify( NotifyEvent& rNEvt );
     virtual long            Notify( NotifyEvent& rNEvt );

Modified: openoffice/trunk/main/vcl/inc/vcl/fixed.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/fixed.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/fixed.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/fixed.hxx Mon Jan 14 15:08:03 2013
@@ -58,9 +58,9 @@ protected:
                     GetCanonicalTextColor( const StyleSettings& _rStyle ) 
const;
 
 public:
-                    FixedText( Window* pParent, WinBits nStyle = 0 );
-                    FixedText( Window* pParent, const ResId& rResId );
-                    FixedText( Window* pParent, const ResId& rResId, bool 
bDisableAccessibleLabelForRelation );
+    explicit        FixedText( Window* pParent, WinBits nStyle = 0 );
+    explicit        FixedText( Window* pParent, const ResId& );
+    explicit        FixedText( Window* pParent, const ResId&, bool 
bDisableAccessibleLabelForRelation );
 
     virtual void    Paint( const Rectangle& rRect );
     virtual void    Draw( OutputDevice* pDev, const Point& rPos, const Size& 
rSize, sal_uLong nFlags );
@@ -95,8 +95,8 @@ protected:
                     GetCanonicalTextColor( const StyleSettings& _rStyle ) 
const;
 
 public:
-                    FixedLine( Window* pParent, WinBits nStyle = WB_HORZ );
-                    FixedLine( Window* pParent, const ResId& rResId );
+    explicit        FixedLine( Window* pParent, WinBits nStyle = WB_HORZ );
+    explicit        FixedLine( Window* pParent, const ResId& );
 
     virtual void    Paint( const Rectangle& rRect );
     virtual void    Draw( OutputDevice* pDev, const Point& rPos, const Size& 
rSize, sal_uLong nFlags );
@@ -129,9 +129,9 @@ protected:
     SAL_DLLPRIVATE void    ImplLoadRes( const ResId& rResId );
 
 public:
-                    FixedBitmap( Window* pParent, WinBits nStyle = 0 );
-                    FixedBitmap( Window* pParent, const ResId& rResId );
-                    ~FixedBitmap();
+    explicit        FixedBitmap( Window* pParent, WinBits nStyle = 0 );
+    explicit        FixedBitmap( Window* pParent, const ResId& );
+    virtual         ~FixedBitmap();
 
     virtual void    Paint( const Rectangle& rRect );
     virtual void    Draw( OutputDevice* pDev, const Point& rPos, const Size& 
rSize, sal_uLong nFlags );
@@ -170,9 +170,9 @@ protected:
     SAL_DLLPRIVATE void    ImplLoadRes( const ResId& rResId );
 
 public:
-                    FixedImage( Window* pParent, WinBits nStyle = 0 );
-                    FixedImage( Window* pParent, const ResId& rResId );
-                    ~FixedImage();
+    explicit        FixedImage( Window* pParent, WinBits nStyle = 0 );
+    explicit        FixedImage( Window* pParent, const ResId& );
+    virtual         ~FixedImage();
 
     virtual void    Paint( const Rectangle& rRect );
     virtual void    Draw( OutputDevice* pDev, const Point& rPos, const Size& 
rSize, sal_uLong nFlags );
@@ -193,3 +193,4 @@ public:
 };
 
 #endif  // _SV_FIXED_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/floatwin.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/floatwin.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/floatwin.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/floatwin.hxx Mon Jan 14 15:08:03 2013
@@ -121,9 +121,9 @@ public:
 //#endif
 
 public:
-                                       FloatingWindow( Window* pParent, 
WinBits nStyle = WB_STDFLOATWIN );
-                                       FloatingWindow( Window* pParent, const 
ResId& rResId );
-                                       ~FloatingWindow();
+       explicit                FloatingWindow( Window* pParent, WinBits nStyle 
= WB_STDFLOATWIN );
+       explicit                FloatingWindow( Window* pParent, const ResId& );
+       virtual                 ~FloatingWindow();
 
        virtual long    Notify( NotifyEvent& rNEvt );
        virtual void    StateChanged( StateChangedType nType );

Modified: openoffice/trunk/main/vcl/inc/vcl/fontmanager.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/fontmanager.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/fontmanager.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/fontmanager.hxx Mon Jan 14 15:08:03 2013
@@ -290,7 +290,7 @@ class VCL_PLUGIN_PUBLIC PrintFontManager
         std::map< sal_Unicode, sal_Int32 >                     
m_aEncodingVector;
         std::map< sal_Unicode, rtl::OString >          m_aNonEncoded;
 
-        PrintFont( fonttype::type eType );
+        explicit PrintFont( fonttype::type eType );
         virtual ~PrintFont();
         virtual bool queryMetricPage( int nPage, utl::MultiAtomProvider* 
pProvider ) = 0;
 

Modified: openoffice/trunk/main/vcl/inc/vcl/group.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/group.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/group.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/group.hxx Mon Jan 14 15:08:03 2013
@@ -50,8 +50,8 @@ private:
                     GetCanonicalTextColor( const StyleSettings& _rStyle ) 
const;
 
 public:
-                    GroupBox( Window* pParent, WinBits nStyle = 0 );
-                    GroupBox( Window* pParent, const ResId& rResId );
+    explicit        GroupBox( Window* pParent, WinBits nStyle = 0 );
+    explicit        GroupBox( Window* pParent, const ResId& );
 
     virtual void    Paint( const Rectangle& rRect );
     virtual void    Draw( OutputDevice* pDev, const Point& rPos, const Size& 
rSize, sal_uLong nFlags );
@@ -61,3 +61,4 @@ public:
 };
 
 #endif  // _SV_GROUP_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/lstbox.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/lstbox.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/lstbox.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/lstbox.hxx Mon Jan 14 15:08:03 2013
@@ -79,9 +79,9 @@ protected:
     virtual void        FillLayoutData() const;
 
 public:
-                                           ListBox( Window* pParent, WinBits 
nStyle = WB_BORDER );
-                        ListBox( Window* pParent, const ResId& rResId );
-                        ~ListBox();
+       explicit                    ListBox( Window* pParent, WinBits nStyle = 
WB_BORDER );
+       explicit                    ListBox( Window* pParent, const ResId& );
+    virtual             ~ListBox();
 
        virtual void        Draw( OutputDevice* pDev, const Point& rPos, const 
Size& rSize, sal_uLong nFlags );
        virtual void        Resize();
@@ -255,8 +255,9 @@ private:
        sal_uInt16                      GetSavedValue();
 
 public:
-                                       MultiListBox( Window* pParent, WinBits 
nStyle = 0 );
-                                       MultiListBox( Window* pParent, const 
ResId& rResId );
+       explicit                MultiListBox( Window* pParent, WinBits nStyle = 
0 );
+       explicit                MultiListBox( Window* pParent, const ResId& );
 };
 
 #endif // _SV_LSTBOX_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/menu.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/menu.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/menu.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/menu.hxx Mon Jan 14 15:08:03 2013
@@ -104,7 +104,7 @@ struct ImplMenuDelData
        ImplMenuDelData* mpNext;
        const Menu* mpMenu;
 
-       ImplMenuDelData( const Menu* pMenu );
+       explicit ImplMenuDelData( const Menu* );
        ~ImplMenuDelData();
 
        bool isDeleted() const { return mpMenu == 0; }
@@ -201,7 +201,7 @@ public:
     SAL_DLLPRIVATE Menu*            ImplGetStartedFrom() const;
 
                                                    Menu();
-                            Menu( sal_Bool bMenuBar );
+    explicit                Menu( sal_Bool bMenuBar );
        SAL_DLLPRIVATE Window*  ImplGetWindow() const { return pWindow; }
 
     
@@ -410,9 +410,9 @@ class VCL_DLLPUBLIC MenuBar : public Men
 
 public:
                                                MenuBar();
-                                               MenuBar( const ResId& rResId );
+       explicit                        MenuBar( const ResId& );
                                                MenuBar( const MenuBar& rMenu );
-                                               ~MenuBar();
+       virtual                         ~MenuBar();
 
        MenuBar&                        operator =( const MenuBar& rMenu );
 
@@ -500,8 +500,8 @@ protected:
 public:
                                                PopupMenu();
                                                PopupMenu( const PopupMenu& 
rMenu );
-                                               PopupMenu( const ResId& rResId 
);
-                                               ~PopupMenu();
+       explicit                        PopupMenu( const ResId& );
+       virtual                         ~PopupMenu();
 
        void                            SetText( const XubString& rTitle )      
{ aTitleText = rTitle; }
        const XubString&        GetText() const                                 
        { return aTitleText; }

Modified: openoffice/trunk/main/vcl/inc/vcl/menubtn.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/menubtn.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/menubtn.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/menubtn.hxx Mon Jan 14 15:08:03 2013
@@ -67,9 +67,9 @@ protected:
        SAL_DLLPRIVATE void    ImplLoadRes( const ResId& rResId );
 
 public:
-                                       MenuButton( Window* pParent, WinBits 
nStyle = 0 );
-                                       MenuButton( Window* pParent, const 
ResId& rResId );
-                                       ~MenuButton();
+       explicit                MenuButton( Window* pParent, WinBits nStyle = 0 
);
+       explicit                MenuButton( Window* pParent, const ResId& );
+       virtual                 ~MenuButton();
 
        virtual void    MouseButtonDown( const MouseEvent& rMEvt );
        virtual void    KeyInput( const KeyEvent& rKEvt );
@@ -92,3 +92,4 @@ public:
 };
 
 #endif // _SV_MENUBTN_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/metaact.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/metaact.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/metaact.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/metaact.hxx Mon Jan 14 15:08:03 2013
@@ -159,7 +159,7 @@ protected:
 
 public:
                                                MetaAction();
-                                               MetaAction( sal_uInt16 nType );
+       explicit                        MetaAction( sal_uInt16 nType );
 
        virtual void            Execute( OutputDevice* pOut );
 
@@ -221,7 +221,7 @@ private:
 public:
                                                DECL_META_ACTION( Point, 
META_POINT_ACTION )
 
-                                               MetaPointAction( const Point& 
rPt );
+       explicit                        MetaPointAction( const Point& );
 
        virtual void            Move( long nHorzMove, long nVertMove );
        virtual void            Scale( double fScaleX, double fScaleY );
@@ -272,7 +272,7 @@ private:
 public:
                                                DECL_META_ACTION( Rect, 
META_RECT_ACTION )
 
-                                               MetaRectAction( const 
Rectangle& rRect );
+       explicit                        MetaRectAction( const Rectangle& );
 
        virtual void            Move( long nHorzMove, long nVertMove );
        virtual void            Scale( double fScaleX, double fScaleY );
@@ -323,7 +323,7 @@ private:
 public:
                                                DECL_META_ACTION( Ellipse, 
META_ELLIPSE_ACTION )
 
-                                               MetaEllipseAction( const 
Rectangle& rRect );
+       explicit                        MetaEllipseAction( const Rectangle& );
 
        virtual void            Move( long nHorzMove, long nVertMove );
        virtual void            Scale( double fScaleX, double fScaleY );
@@ -431,8 +431,8 @@ private:
 public:
                                                DECL_META_ACTION( PolyLine, 
META_POLYLINE_ACTION )
 
-                                               MetaPolyLineAction( const 
Polygon& rPoly );
-                                               MetaPolyLineAction( const 
Polygon& rPoly, const LineInfo& rLineInfo );
+       explicit                        MetaPolyLineAction( const Polygon& );
+       explicit                        MetaPolyLineAction( const Polygon&, 
const LineInfo& );
 
        virtual void            Move( long nHorzMove, long nVertMove );
        virtual void            Scale( double fScaleX, double fScaleY );
@@ -456,7 +456,7 @@ private:
 public:
                                                DECL_META_ACTION( Polygon, 
META_POLYGON_ACTION )
 
-                                               MetaPolygonAction( const 
Polygon& rPoly );
+       explicit                        MetaPolygonAction( const Polygon& );
 
        virtual void            Move( long nHorzMove, long nVertMove );
        virtual void            Scale( double fScaleX, double fScaleY );
@@ -479,7 +479,7 @@ private:
 public:
                                                DECL_META_ACTION( PolyPolygon, 
META_POLYPOLYGON_ACTION )
 
-                                               MetaPolyPolygonAction( const 
PolyPolygon& rPolyPoly );
+       explicit                        MetaPolyPolygonAction( const 
PolyPolygon& );
 
        virtual void            Move( long nHorzMove, long nVertMove );
        virtual void            Scale( double fScaleX, double fScaleY );
@@ -1065,7 +1065,7 @@ private:
 public:
                                                DECL_META_ACTION( 
ISectRectClipRegion, META_ISECTRECTCLIPREGION_ACTION )
 
-                                               MetaISectRectClipRegionAction( 
const Rectangle& rRect );
+       explicit                        MetaISectRectClipRegionAction( const 
Rectangle& );
 
        virtual void            Move( long nHorzMove, long nVertMove );
        virtual void            Scale( double fScaleX, double fScaleY );
@@ -1088,7 +1088,7 @@ private:
 public:
                                                DECL_META_ACTION( 
ISectRegionClipRegion, META_ISECTREGIONCLIPREGION_ACTION )
 
-                                               
MetaISectRegionClipRegionAction( const Region& rRegion );
+       explicit                        MetaISectRegionClipRegionAction( const 
Region& );
 
        virtual void            Move( long nHorzMove, long nVertMove );
        virtual void            Scale( double fScaleX, double fScaleY );
@@ -1179,7 +1179,7 @@ private:
 public:
                                                DECL_META_ACTION( TextColor, 
META_TEXTCOLOR_ACTION )
 
-                                               MetaTextColorAction( const 
Color& rColor );
+       explicit                        MetaTextColorAction( const Color& );
 
        const Color&            GetColor() const { return maColor; }
 };
@@ -1265,7 +1265,7 @@ private:
 public:
                                                DECL_META_ACTION( TextAlign, 
META_TEXTALIGN_ACTION )
 
-                                               MetaTextAlignAction( TextAlign 
aAlign );
+       explicit                        MetaTextAlignAction( TextAlign eAlign );
 
        TextAlign                       GetTextAlign() const { return maAlign; }
 };
@@ -1285,7 +1285,7 @@ private:
 public:
                                                DECL_META_ACTION( MapMode, 
META_MAPMODE_ACTION )
 
-                                               MetaMapModeAction( const 
MapMode& rMapMode );
+       explicit                        MetaMapModeAction( const MapMode& );
 
        virtual void            Scale( double fScaleX, double fScaleY );
 
@@ -1307,7 +1307,7 @@ private:
 public:
                                                DECL_META_ACTION( Font, 
META_FONT_ACTION )
 
-                                               MetaFontAction( const Font& 
rFont );
+       explicit                        MetaFontAction( const Font& );
 
        virtual void            Scale( double fScaleX, double fScaleY );
 
@@ -1329,7 +1329,7 @@ private:
 public:
                                                DECL_META_ACTION( Push, 
META_PUSH_ACTION )
 
-                                               MetaPushAction( sal_uInt16 
nFlags );
+       explicit                        MetaPushAction( sal_uInt16 nFlags );
 
        sal_uInt16                              GetFlags() const { return 
mnFlags; }
 };
@@ -1360,7 +1360,7 @@ private:
 public:
                                                DECL_META_ACTION( RasterOp, 
META_RASTEROP_ACTION )
 
-                                               MetaRasterOpAction( RasterOp 
eRasterOp );
+       explicit                        MetaRasterOpAction( RasterOp eRasterOp 
);
 
        RasterOp                        GetRasterOp() const { return 
meRasterOp; }
 };
@@ -1489,13 +1489,13 @@ private:
        virtual sal_Bool        Compare( const MetaAction& ) const;
 
 protected:
-                                               ~MetaCommentAction();
+       virtual                         ~MetaCommentAction();
 
 public:
-                                               MetaCommentAction( sal_Int32 
nValue = 0L );
-                                               MetaCommentAction( const 
MetaCommentAction& rAct );
-                                               MetaCommentAction( const 
ByteString& rComment, sal_Int32 nValue = 0L, const sal_uInt8* pData = NULL, 
sal_uInt32 nDataSize = 0UL );
-                                               MetaCommentAction( const 
sal_uInt8* pData, sal_uInt32 nDataSize );
+       explicit                        MetaCommentAction( sal_Int32 nValue = 
0L );
+       explicit                        MetaCommentAction( const 
MetaCommentAction& );
+       explicit                        MetaCommentAction( const ByteString& 
rComment, sal_Int32 nValue = 0L, const sal_uInt8* pData = NULL, sal_uInt32 
nDataSize = 0UL );
+       explicit                        MetaCommentAction( const sal_uInt8* 
pData, sal_uInt32 nDataSize );
 
        virtual void            Move( long nHorzMove, long nVertMove );
        virtual void            Scale( double fScaleX, double fScaleY );
@@ -1525,7 +1525,7 @@ private:
 public:
                                                DECL_META_ACTION( LayoutMode, 
META_LAYOUTMODE_ACTION )
 
-                                               MetaLayoutModeAction( 
sal_uInt32 nLayoutMode );
+       explicit                        MetaLayoutModeAction( sal_uInt32 
nLayoutMode );
 
     sal_uInt32                 GetLayoutMode() const { return mnLayoutMode; }
 };
@@ -1544,9 +1544,10 @@ private:
 public:
                                                DECL_META_ACTION( TextLanguage, 
META_TEXTLANGUAGE_ACTION )
 
-                                               MetaTextLanguageAction( 
LanguageType );
+       explicit                        MetaTextLanguageAction( LanguageType );
 
     LanguageType               GetTextLanguage() const { return 
meTextLanguage; }
 };
 
 #endif // _SV_METAACT_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/morebtn.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/morebtn.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/morebtn.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/morebtn.hxx Mon Jan 14 15:08:03 2013
@@ -54,9 +54,9 @@ protected:
        SAL_DLLPRIVATE void     ImplLoadRes( const ResId& rResId );
 
 public:
-                        MoreButton( Window* pParent, WinBits nStyle = 0 );
-                        MoreButton( Window* pParent, const ResId& rResId );
-                        ~MoreButton();
+    explicit            MoreButton( Window* pParent, WinBits nStyle = 0 );
+    explicit            MoreButton( Window* pParent, const ResId& );
+    virtual             ~MoreButton();
 
     void                Click();
 
@@ -89,3 +89,4 @@ inline void MoreButton::SetState( sal_Bo
 }
 
 #endif  // _SV_MOREBTN_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/pngread.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/pngread.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/pngread.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/pngread.hxx Mon Jan 14 15:08:03 2013
@@ -44,7 +44,7 @@ namespace vcl
 
                /* the PNG chunks are read within the c'tor, so the stream will
                be positioned at the end of the PNG */
-               PNGReader( SvStream& rStm );
+               explicit PNGReader( SvStream& rStm );
                ~PNGReader();
 
         /* an empty preview size hint (=default) will read the whole image

Modified: openoffice/trunk/main/vcl/inc/vcl/scrbar.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/scrbar.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/scrbar.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/scrbar.hxx Mon Jan 14 15:08:03 2013
@@ -93,9 +93,9 @@ private:
        DECL_DLLPRIVATE_LINK(       ImplAutoTimerHdl, AutoTimer* );
 
 public:
-                    ScrollBar( Window* pParent, WinBits nStyle = WB_VERT );
-                    ScrollBar( Window* pParent, const ResId& rResId );
-                    ~ScrollBar();
+    explicit        ScrollBar( Window* pParent, WinBits nStyle = WB_VERT );
+    explicit        ScrollBar( Window* pParent, const ResId& );
+    virtual         ~ScrollBar();
 
     virtual void    MouseButtonDown( const MouseEvent& rMEvt );
     virtual void    Tracking( const TrackingEvent& rTEvt );
@@ -156,11 +156,12 @@ private:
     SAL_DLLPRIVATE void ImplInitSettings();
 
 public:
-                    ScrollBarBox( Window* pParent, WinBits nStyle = 0 );
-                    ScrollBarBox( Window* pParent, const ResId& rResId );
+    explicit        ScrollBarBox( Window* pParent, WinBits nStyle = 0 );
+    explicit        ScrollBarBox( Window* pParent, const ResId& );
 
     virtual void    StateChanged( StateChangedType nType );
     virtual void    DataChanged( const DataChangedEvent& rDCEvt );
 };
 
 #endif // _SV_SCRBAR_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/spin.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/spin.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/spin.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/spin.hxx Mon Jan 14 15:08:03 2013
@@ -60,9 +60,9 @@ private:
     DECL_DLLPRIVATE_LINK(     ImplTimeout, Timer* );
 
 public:
-                    SpinButton( Window* pParent, WinBits nStyle = 0 );
-                    SpinButton( Window* pParent, const ResId& rResId );
-                    ~SpinButton();
+    explicit        SpinButton( Window* pParent, WinBits nStyle = 0 );
+    explicit        SpinButton( Window* pParent, const ResId& );
+    virtual         ~SpinButton();
 
     virtual void    Up();
     virtual void    Down();
@@ -111,3 +111,4 @@ private:
 };
 
 #endif  // _SV_SPIN_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/spinfld.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/spinfld.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/spinfld.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/spinfld.hxx Mon Jan 14 15:08:03 2013
@@ -63,7 +63,7 @@ private:
        SAL_DLLPRIVATE void       ImplCalcButtonAreas( OutputDevice* pDev, 
const Size& rOutSz, Rectangle& rDDArea, Rectangle& rSpinUpArea, Rectangle& 
rSpinDownArea );
 
 protected:
-                                       SpinField( WindowType nTyp );
+       explicit                SpinField( WindowType nTyp );
 
        virtual long    Notify( NotifyEvent& rNEvt );
        virtual void    Command( const CommandEvent& rCEvt );
@@ -73,9 +73,9 @@ protected:
     virtual void    FillLayoutData() const;
     Rectangle *     ImplFindPartRect( const Point& rPt );
 public:
-                                       SpinField( Window* pParent, WinBits 
nWinStyle = 0 );
-                                       SpinField( Window* pParent, const 
ResId& rResId );
-                                       ~SpinField();
+       explicit                SpinField( Window* pParent, WinBits nWinStyle = 
0 );
+       explicit                SpinField( Window* pParent, const ResId& );
+       virtual                 ~SpinField();
 
        virtual sal_Bool        ShowDropDown( sal_Bool bShow );
 
@@ -109,3 +109,4 @@ public:
 };
 
 #endif // _SV_SPINFLD_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/split.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/split.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/split.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/split.hxx Mon Jan 14 15:08:03 2013
@@ -70,9 +70,9 @@ protected:
        SAL_DLLPRIVATE void      ImplInit( Window* pParent, WinBits nWinStyle );
 
 public:
-                        Splitter( Window* pParent, WinBits nStyle = WB_VSCROLL 
);
-                        Splitter( Window* pParent, const ResId& rResId );
-                        ~Splitter();
+    explicit            Splitter( Window* pParent, WinBits nStyle = WB_VSCROLL 
);
+    explicit            Splitter( Window* pParent, const ResId& );
+    virtual             ~Splitter();
 
     virtual void        StartSplit();
        virtual void        EndSplit();
@@ -120,3 +120,4 @@ public:
 };
 
 #endif  // _SV_SPLIT_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/syschild.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/syschild.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/syschild.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/syschild.hxx Mon Jan 14 15:08:03 2013
@@ -47,11 +47,11 @@ private:
        SAL_DLLPRIVATE          SystemChildWindow & operator= (const 
SystemChildWindow &);
 
 public:
-                                                       SystemChildWindow( 
Window* pParent, WinBits nStyle = 0 );
+       explicit                                SystemChildWindow( Window* 
pParent, WinBits nStyle = 0 );
                             // create a SystemChildWindow using the given 
SystemWindowData
-                                                       SystemChildWindow( 
Window* pParent, WinBits nStyle, SystemWindowData *pData, sal_Bool bShow = 
sal_True );
-                                                       SystemChildWindow( 
Window* pParent, const ResId& rResId );
-                                                       ~SystemChildWindow();
+       explicit                                SystemChildWindow( Window* 
pParent, WinBits nStyle, SystemWindowData* pData, sal_Bool bShow = sal_True );
+       explicit                                SystemChildWindow( Window* 
pParent, const ResId& );
+       virtual                                 ~SystemChildWindow();
 
        const SystemEnvData*    GetSystemData() const;
 

Modified: openoffice/trunk/main/vcl/inc/vcl/tabpage.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/tabpage.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/tabpage.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/tabpage.hxx Mon Jan 14 15:08:03 2013
@@ -40,8 +40,8 @@ private:
        SAL_DLLPRIVATE void     ImplInitSettings();
 
 public:
-                                       TabPage( Window* pParent, WinBits 
nStyle = 0 );
-                                       TabPage( Window* pParent, const ResId& 
rResId );
+       explicit                TabPage( Window* pParent, WinBits nStyle = 0 );
+       explicit                TabPage( Window* pParent, const ResId& );
 
     virtual void    Paint( const Rectangle& rRect );
     virtual void    Draw( OutputDevice* pDev, const Point& rPos, const Size& 
rSize, sal_uLong nFlags );
@@ -56,3 +56,4 @@ public:
 };
 
 #endif // _SV_TABPAGE_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/virdev.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/virdev.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/virdev.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/virdev.hxx Mon Jan 14 15:08:03 2013
@@ -68,8 +68,8 @@ private:
     SAL_DLLPRIVATE bool ForceZeroExtleadBug() const
         { return ((meRefDevMode & REFDEV_FORCE_ZERO_EXTLEAD) != 0); }
 public:
-                                               VirtualDevice( sal_uInt16 
nBitCount = 0 );
-                                               VirtualDevice( const 
OutputDevice& rCompDev,
+       explicit                        VirtualDevice( sal_uInt16 nBitCount = 0 
);
+       explicit                        VirtualDevice( const OutputDevice& 
rCompDev,
                                                                           
sal_uInt16 nBitCount = 0 );
     /** Create a virtual device with alpha channel
 
@@ -94,7 +94,7 @@ public:
         Any rendering will happen directly on the context and not on any 
intermediate bitmap.
         Note: This might not be suported on all platforms !
     */
-                                               VirtualDevice( const 
SystemGraphicsData *pData, sal_uInt16 nBitCount );
+       explicit                        VirtualDevice( const SystemGraphicsData 
*pData, sal_uInt16 nBitCount );
 
        virtual                         ~VirtualDevice();
 
@@ -123,3 +123,4 @@ private:
 };
 
 #endif // _SV_VIRDEV_HXX
+

Modified: openoffice/trunk/main/vcl/inc/vcl/wrkwin.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/wrkwin.hxx?rev=1432943&r1=1432942&r2=1432943&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/inc/vcl/wrkwin.hxx (original)
+++ openoffice/trunk/main/vcl/inc/vcl/wrkwin.hxx Mon Jan 14 15:08:03 2013
@@ -67,11 +67,11 @@ protected:
     SAL_DLLPRIVATE void ImplSetFrameState( sal_uLong aFrameState );
 
 public:
-                    WorkWindow( Window* pParent, const ResId& rResId );
-                    WorkWindow( Window* pParent, WinBits nStyle = WB_STDWORK );
-                    WorkWindow( Window* pParent, const 
::com::sun::star::uno::Any& aSystemWorkWindowToken, WinBits nStyle = WB_STDWORK 
);
-                    WorkWindow( SystemParentData* pParent ); // Not in the 
REMOTE-Version
-                    ~WorkWindow();
+    explicit        WorkWindow( Window* pParent, const ResId& );
+    explicit        WorkWindow( Window* pParent, WinBits nStyle = WB_STDWORK );
+    explicit        WorkWindow( Window* pParent, const 
::com::sun::star::uno::Any& aSystemWorkWindowToken, WinBits nStyle = WB_STDWORK 
);
+    explicit        WorkWindow( SystemParentData* pParent ); // Not in the 
REMOTE-Version
+    virtual         ~WorkWindow();
 
     virtual sal_Bool    Close();
 
@@ -102,3 +102,4 @@ public:
 };
 
 #endif // _SV_WRKWIN_HXX
+


Reply via email to