Kaydet (Commit) 9bdca001 authored tarafından Caolán McNamara's avatar Caolán McNamara

crash in tools->options->advanced

regression from...

commit 06562c67
Date:   Sat Oct 18 10:36:36 2014 +0200

    convert SV_BMP_ constants to enum

    Change-Id: I46cb7f649fa44d8967e0e7da03583157d2706f05
    Reviewed-on: https://gerrit.libreoffice.org/12018Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>

Change-Id: I29486e8fe17d9e06e01c33f93d99ffc6ae3d017c
üst af748c7f
...@@ -35,12 +35,12 @@ struct SvLBoxButtonData_Impl ...@@ -35,12 +35,12 @@ struct SvLBoxButtonData_Impl
SvLBoxButtonData_Impl() : pEntry( NULL ), bDefaultImages( false ), bShowRadioButton( false ) {} SvLBoxButtonData_Impl() : pEntry( NULL ), bDefaultImages( false ), bShowRadioButton( false ) {}
}; };
void SvLBoxButtonData::InitData( bool bImagesFromDefault, bool _bRadioBtn, const Control* pCtrl ) void SvLBoxButtonData::InitData( bool bImagesFromDefault, bool _bRadioBtn, const Control* pCtrl )
{ {
nWidth = nHeight = 0; nWidth = nHeight = 0;
aBmps.resize((int)SvBmp::STATICIMAGE+1);
pImpl = new SvLBoxButtonData_Impl; pImpl = new SvLBoxButtonData_Impl;
bDataOk = false; bDataOk = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment