diff options
Diffstat (limited to 'cui/source/inc/cuitbxform.hxx')
-rw-r--r-- | cui/source/inc/cuitbxform.hxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/cui/source/inc/cuitbxform.hxx b/cui/source/inc/cuitbxform.hxx index 044285bc030a..389690df409d 100644 --- a/cui/source/inc/cuitbxform.hxx +++ b/cui/source/inc/cuitbxform.hxx @@ -20,26 +20,22 @@ #define INCLUDED_CUI_SOURCE_INC_CUITBXFORM_HXX #include <sfx2/tbxctrl.hxx> -#include <vcl/field.hxx> -#include <vcl/dialog.hxx> - #include <vcl/button.hxx> +#include <vcl/dialog.hxx> +#include <vcl/field.hxx> //======================================================================== class FmInputRecordNoDialog : public ModalDialog { public: - FixedText m_aLabel; - NumericField m_aRecordNo; - OKButton m_aOk; - CancelButton m_aCancel; + NumericField* m_pRecordNo; public: FmInputRecordNoDialog(Window * pParent); - void SetValue(long dNew) { m_aRecordNo.SetValue(dNew); } - long GetValue() const { return static_cast<long>(m_aRecordNo.GetValue()); } + void SetValue(long dNew) { m_pRecordNo->SetValue(dNew); } + long GetValue() const { return static_cast<long>(m_pRecordNo->GetValue()); } }; #endif |