toolkit/source/awt/vclxwindows.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 9e1d1e2cab4933e586910604d2044c085666de93 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> AuthorDate: Wed Mar 27 21:26:21 2019 -0400 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Wed Jun 12 11:49:23 2019 +0200 toolkit: initialize primitive types explicitly Change-Id: I1e09d458d1c6c4842750368fbd45ef326fa1bedb Reviewed-on: https://gerrit.libreoffice.org/70160 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/73491 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <ke...@collabora.com> diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 8c1c69d2f792..f7281ced9c1d 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -1872,14 +1872,14 @@ void VCLXListBox::setProperty( const OUString& PropertyName, const css::uno::Any break; case BASEPROPERTY_READONLY: { - bool b = bool(); + bool b = false; if ( Value >>= b ) pListBox->SetReadOnly( b); } break; case BASEPROPERTY_MULTISELECTION: { - bool b = bool(); + bool b = false; if ( Value >>= b ) pListBox->EnableMultiSelection( b ); } @@ -1889,7 +1889,7 @@ void VCLXListBox::setProperty( const OUString& PropertyName, const css::uno::Any break; case BASEPROPERTY_LINECOUNT: { - sal_Int16 n = sal_Int16(); + sal_Int16 n = 0; if ( Value >>= n ) pListBox->SetDropDownLineCount( n ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits