summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/grfpage.cxx
diff options
context:
space:
mode:
authormelikeyurtoglu <aysemelikeyurtoglu@gmail.com>2016-11-03 02:35:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-03 06:37:42 +0000
commit164d8e3b1aa660d65c1af9570e67b66520bd953a (patch)
tree97506a9a691a08b50a2290606e58a35cd1c2fe73 /cui/source/tabpages/grfpage.cxx
parent10197c094b3267adc8071bcef482b64dc291deed (diff)
tdf#91222 VclBuilder constructor cleanup
Change-Id: I53bca2a9113862b8e7058937e231721c5f81a9de Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/30511 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/tabpages/grfpage.cxx')
-rw-r--r--cui/source/tabpages/grfpage.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx
index 0e0965819b27..a6972ef572ee 100644
--- a/cui/source/tabpages/grfpage.cxx
+++ b/cui/source/tabpages/grfpage.cxx
@@ -777,14 +777,7 @@ Size SvxCropExample::GetOptimalSize() const
return LogicToPixel(Size(78, 78), MapUnit::MapAppFont);
}
-VCL_BUILDER_DECL_FACTORY(SvxCropExample)
-{
- WinBits nWinStyle = 0;
- OString sBorder = VclBuilder::extractCustomProperty(rMap);
- if (!sBorder.isEmpty())
- nWinStyle |= WB_BORDER;
- rRet = VclPtr<SvxCropExample>::Create(pParent, nWinStyle);
-}
+VCL_BUILDER_FACTORY_CONSTRUCTOR(SvxCropExample, 0)
void SvxCropExample::Paint(vcl::RenderContext& rRenderContext, const Rectangle&)
{