diff options
author | melikeyurtoglu <aysemelikeyurtoglu@gmail.com> | 2016-11-04 00:37:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-04 07:18:19 +0000 |
commit | 02eaf40ba04e970d88e37ef15963a409e375a7ad (patch) | |
tree | d4508eef26fc944172167b814d639553e131cfd2 /sc | |
parent | fc8f32adc2c940f4e35f7bd2acae5e5ff5f71971 (diff) |
tdf#91222 VclBuilder constructor cleanup
Change-Id: I619cb50c3475519921ffd318b32875ae4ff2c0b8
Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/30545
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/condformat/condformatdlg.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx index 4d03fcfb890f..22bd55a87168 100644 --- a/sc/source/ui/condformat/condformatdlg.cxx +++ b/sc/source/ui/condformat/condformatdlg.cxx @@ -144,16 +144,7 @@ void ScCondFormatList::init(ScDocument* pDoc, ScCondFormatDlg* pDialogParent, RecalcAll(); } -VCL_BUILDER_DECL_FACTORY(ScCondFormatList) -{ - WinBits nWinBits = 0; - - OString sBorder = VclBuilder::extractCustomProperty(rMap); - if (!sBorder.isEmpty()) - nWinBits |= WB_BORDER; - - rRet = VclPtr<ScCondFormatList>::Create(pParent, nWinBits); -} +VCL_BUILDER_FACTORY_CONSTRUCTOR(ScCondFormatList, 0) Size ScCondFormatList::GetOptimalSize() const { |