diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-09 17:40:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-12 09:13:34 +0200 |
commit | 7912d5fb74ece92b2229c662a3a9aff8eb201c5a (patch) | |
tree | 020ab7ccd2e6cf5a99e9dcb2d8c5022b6489ed50 /extensions/source/propctrlr/usercontrol.hxx | |
parent | 70254f61ea889cde1eb49b417c8cd9819541b4f8 (diff) |
now we can get rid of the convoluted ControlWindow template
Change-Id: I4365e5819784a26f4a71eab8a64cc53ef35d9ad1
Diffstat (limited to 'extensions/source/propctrlr/usercontrol.hxx')
-rw-r--r-- | extensions/source/propctrlr/usercontrol.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx index 0fd96b9ba407..f10750bc1790 100644 --- a/extensions/source/propctrlr/usercontrol.hxx +++ b/extensions/source/propctrlr/usercontrol.hxx @@ -35,21 +35,21 @@ namespace pcr //= NumberFormatSampleField - class NumberFormatSampleField : public ControlWindow< FormattedField > + class NumberFormatSampleField : public FormattedField { - private: - typedef ControlWindow< FormattedField > BaseClass; - public: NumberFormatSampleField( vcl::Window* _pParent, WinBits _nStyle ) - :BaseClass( _pParent, _nStyle ) + :FormattedField( _pParent, _nStyle ) { } - void SetFormatSupplier( const SvNumberFormatsSupplierObj* pSupplier ); + void SetFormatSupplier( const SvNumberFormatsSupplierObj* pSupplier ); + void setControlHelper( CommonBehaviourControlHelper& _rControlHelper ) { m_pHelper = &_rControlHelper; } protected: virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; + private: + CommonBehaviourControlHelper* m_pHelper; }; @@ -95,7 +95,7 @@ namespace pcr //= OFormattedNumericControl - typedef CommonBehaviourControl< css::inspection::XPropertyControl, ControlWindow< FormattedField > > OFormattedNumericControl_Base; + typedef CommonBehaviourControl< css::inspection::XPropertyControl, FormattedField > OFormattedNumericControl_Base; class OFormattedNumericControl : public OFormattedNumericControl_Base { private: @@ -124,7 +124,7 @@ namespace pcr //= OFileUrlControl - typedef CommonBehaviourControl< css::inspection::XPropertyControl, ControlWindow< ::svt::FileURLBox > > OFileUrlControl_Base; + typedef CommonBehaviourControl< css::inspection::XPropertyControl, ::svt::FileURLBox > OFileUrlControl_Base; class OFileUrlControl : public OFileUrlControl_Base { public: |