diff options
author | Malte Timmermann <mt@openoffice.org> | 2001-10-11 14:21:14 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2001-10-11 14:21:14 +0000 |
commit | e1dba987150678599b5f7a0ef25b5f4d491810ca (patch) | |
tree | 24b0052f5038295d68f6c09867f006b7a9dbe7b7 /toolkit/inc/toolkit/controls | |
parent | 20da1a8084680c1835bfe3cf619068b86c87c8f5 (diff) |
#88465# Keep Text in UnoEditControl, maybe there is no Text Property!
Diffstat (limited to 'toolkit/inc/toolkit/controls')
-rw-r--r-- | toolkit/inc/toolkit/controls/unocontrols.hxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/toolkit/inc/toolkit/controls/unocontrols.hxx b/toolkit/inc/toolkit/controls/unocontrols.hxx index 1410a7634291..bca38b49ef36 100644 --- a/toolkit/inc/toolkit/controls/unocontrols.hxx +++ b/toolkit/inc/toolkit/controls/unocontrols.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unocontrols.hxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: hr $ $Date: 2001-09-28 09:52:24 $ + * last change: $Author: mt $ $Date: 2001-10-11 15:21:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -334,6 +334,15 @@ class UnoEditControl : public UnoControlBase, private: TextListenerMultiplexer maTextListeners; + // Not all fields derived from UnoEditCOntrol have the property "Text" + // They only support ::com::sun::star::awt::XTextComponent, so keep the text + // here, maybe there is no Peer when calling setText()... + ::rtl::OUString maText; + BOOL mbSetTextInPeer; + + USHORT mnMaxTextLen; + BOOL mbSetMaxTextLenInPeer; + public: UnoEditControl(); |