From ef4926fe6640cc8ba48117075b0b5871f02e34f3 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 4 Jul 2013 17:17:58 +0200 Subject: svx: add SvxRectCtl::SetCS() This way CTL_STYLE can be set after the control has been created. Change-Id: Ifaa93cdc17e6e0c694d2aa308d19ff996dd28a16 --- svx/source/dialog/dlgctrl.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'svx') diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index 29ac4d234ea4..247c6cb09839 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -731,6 +731,11 @@ void SvxRectCtl::DoCompletelyDisable(sal_Bool bNew) Invalidate(); } +void SvxRectCtl::SetCS(CTL_STYLE eNew) +{ + eCS = eNew; +} + // Control for editing bitmaps SvxPixelCtl::SvxPixelCtl( Window* pParent, const ResId& rResId, sal_uInt16 nNumber ) : -- cgit