diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-11-04 11:40:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-11-04 11:42:22 +0000 |
commit | 859204a52351c4d5d146e8b22d14bd4a44f294e9 (patch) | |
tree | cb2545d92c5c79bed831854bd713cf8080b979ce | |
parent | d0edff60c786c4975b433890d277397673871418 (diff) |
customize dialog crashes, since...
commit 164d8e3b1aa660d65c1af9570e67b66520bd953a
Date: Thu Nov 3 02:35:00 2016 +0200
tdf#91222 VclBuilder constructor cleanup
so revert problematic bit of that.
The impl is called SfxAccCfgTabListBox_Impl, but the
widget name is SfxAccCfgTabListBox
Change-Id: I8e800b376afa48090fde1074350c1c8ce39a27bf
-rw-r--r-- | cui/source/customize/acccfg.cxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 1c98ae853757..ae7d1cc5d26f 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -664,7 +664,16 @@ void SfxAccCfgLBoxString_Impl::Paint(const Point& aPos, SvTreeListBox& /*rDevice } -VCL_BUILDER_FACTORY_CONSTRUCTOR(SfxAccCfgTabListBox_Impl, WB_TABSTOP) +VCL_BUILDER_DECL_FACTORY(SfxAccCfgTabListBox) +{ + WinBits nWinBits = WB_TABSTOP; + + OString sBorder = VclBuilder::extractCustomProperty(rMap); + if (!sBorder.isEmpty()) + nWinBits |= WB_BORDER; + + rRet = VclPtr<SfxAccCfgTabListBox_Impl>::Create(pParent, nWinBits); +} SfxAccCfgTabListBox_Impl::~SfxAccCfgTabListBox_Impl() { |