diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-20 17:13:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-20 17:19:09 +0100 |
commit | 9bdca0019bd3781f15e542becca5537fac2e0a9d (patch) | |
tree | ffd63e8b9cd5a5b07b7be55b799394b75d2cab5b /svtools | |
parent | af748c7fff9e57a5b95bdc569456cc0da93a1f90 (diff) |
crash in tools->options->advanced
regression from...
commit 06562c678410e425de629109ce92933c2d89a8f6
Date: Sat Oct 18 10:36:36 2014 +0200
convert SV_BMP_ constants to enum
Change-Id: I46cb7f649fa44d8967e0e7da03583157d2706f05
Reviewed-on: https://gerrit.libreoffice.org/12018
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Change-Id: I29486e8fe17d9e06e01c33f93d99ffc6ae3d017c
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/svlbitm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/svlbitm.cxx b/svtools/source/contnr/svlbitm.cxx index 0711589cd14f..014a36a448ef 100644 --- a/svtools/source/contnr/svlbitm.cxx +++ b/svtools/source/contnr/svlbitm.cxx @@ -35,12 +35,12 @@ struct SvLBoxButtonData_Impl SvLBoxButtonData_Impl() : pEntry( NULL ), bDefaultImages( false ), bShowRadioButton( false ) {} }; - - void SvLBoxButtonData::InitData( bool bImagesFromDefault, bool _bRadioBtn, const Control* pCtrl ) { nWidth = nHeight = 0; + aBmps.resize((int)SvBmp::STATICIMAGE+1); + pImpl = new SvLBoxButtonData_Impl; bDataOk = false; |