diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-27 00:46:59 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-27 01:07:00 -0600 |
commit | 7d6fbec1378cfc304ff36c46d24764aeec501887 (patch) | |
tree | 95af998903ee2a6b2aabef3bc278cc6f305e1074 /svx | |
parent | d57fad937caff40819afddeadfd8b36b8d27e418 (diff) |
coverity#1103750 : Uninitialized scalar field
Change-Id: Id7c5f53f604240b85ab6b48f641c57f31e74c08a
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 725c50c004f7..a2369dc9a87a 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -327,27 +327,25 @@ class SfxStyleControllerItem_Impl : public SfxStatusListener // class SvxStyleBox_Impl ----------------------------------------------------- //======================================================================== -SvxStyleBox_Impl::SvxStyleBox_Impl( - Window* pParent, - const OUString& rCommand, - SfxStyleFamily eFamily, - const Reference< XDispatchProvider >& rDispatchProvider, - const Reference< XFrame >& _xFrame, - const OUString& rClearFormatKey, - const OUString& rMoreKey, - bool bInSpec) : - - ComboBox( pParent, SVX_RES( RID_SVXTBX_STYLE ) ), - - eStyleFamily( eFamily ), - bRelease ( true ), - bVisible(false), - m_xDispatchProvider( rDispatchProvider ), - m_xFrame(_xFrame), - m_aCommand ( rCommand ), - aClearFormatKey ( rClearFormatKey ), - aMoreKey ( rMoreKey ), - bInSpecialMode ( bInSpec ) +SvxStyleBox_Impl::SvxStyleBox_Impl(Window* pParent, + const OUString& rCommand, + SfxStyleFamily eFamily, + const Reference< XDispatchProvider >& rDispatchProvider, + const Reference< XFrame >& _xFrame, + const OUString& rClearFormatKey, + const OUString& rMoreKey, + bool bInSpec) + : ComboBox( pParent, SVX_RES( RID_SVXTBX_STYLE ) ) + , eStyleFamily( eFamily ) + , nCurSel(0) + , bRelease( true ) + , bVisible(false) + , m_xDispatchProvider( rDispatchProvider ) + , m_xFrame(_xFrame) + , m_aCommand( rCommand ) + , aClearFormatKey( rClearFormatKey ) + , aMoreKey( rMoreKey ) + , bInSpecialMode( bInSpec ) { aLogicalSize = PixelToLogic( GetSizePixel(), MAP_APPFONT ); EnableAutocomplete( sal_True ); |