Kaydet (Commit) 62be0271 authored tarafından Caolán McNamara's avatar Caolán McNamara

add EditBoxValue::clone

Change-Id: I03e74d766b85ddd61baa1dbf0f28a663931e7ec6
üst 6cc9f910
......@@ -487,6 +487,7 @@ public:
: ImplControlValue(CTRL_EDITBOX, BUTTONVALUE_DONTKNOW, nTextHeight)
{
}
virtual EditBoxValue* clone() const SAL_OVERRIDE;
};
#endif
......
......@@ -150,6 +150,12 @@ PushButtonValue* PushButtonValue::clone() const
return new PushButtonValue( *this );
}
EditBoxValue* EditBoxValue::clone() const
{
assert( typeid( const EditBoxValue ) == typeid( *this ));
return new EditBoxValue( *this );
}
// These functions are mainly passthrough functions that allow access to
// the SalFrame behind a Window object for native widget rendering purposes.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment