summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/usercontrol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-09 17:40:07 +0200
committerNoel Grandin <noel@peralex.com>2015-10-12 09:13:34 +0200
commit7912d5fb74ece92b2229c662a3a9aff8eb201c5a (patch)
tree020ab7ccd2e6cf5a99e9dcb2d8c5022b6489ed50 /extensions/source/propctrlr/usercontrol.cxx
parent70254f61ea889cde1eb49b417c8cd9819541b4f8 (diff)
now we can get rid of the convoluted ControlWindow template
Change-Id: I4365e5819784a26f4a71eab8a64cc53ef35d9ad1
Diffstat (limited to 'extensions/source/propctrlr/usercontrol.cxx')
-rw-r--r--extensions/source/propctrlr/usercontrol.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx
index be37b74b3b59..a11962a2a53a 100644
--- a/extensions/source/propctrlr/usercontrol.cxx
+++ b/extensions/source/propctrlr/usercontrol.cxx
@@ -61,7 +61,7 @@ namespace pcr
}
}
- return BaseClass::PreNotify( rNEvt );
+ return FormattedField::PreNotify( rNEvt );
}
@@ -90,6 +90,7 @@ namespace pcr
OFormatSampleControl::OFormatSampleControl( vcl::Window* pParent, WinBits nWinStyle )
:OFormatSampleControl_Base( PropertyControlType::Unknown, pParent, nWinStyle )
{
+ getTypedControlWindow()->setControlHelper(*this);
}