diff options
author | Christian Lippka <cl@openoffice.org> | 2002-11-29 13:23:07 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2002-11-29 13:23:07 +0000 |
commit | e8e72ce7b3c385ffbea93238f64983e39d4aef34 (patch) | |
tree | 3bb8713543339eadee1925a7e19293e1b5b1f808 /sd/source/ui/inc/futext.hxx | |
parent | 17840b8e57736fa02fe0165073a5b7d1ad36226f (diff) |
#105607# inserted a function to cancel the current action since posting a key event to cancel current function may have side effects
Diffstat (limited to 'sd/source/ui/inc/futext.hxx')
-rw-r--r-- | sd/source/ui/inc/futext.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sd/source/ui/inc/futext.hxx b/sd/source/ui/inc/futext.hxx index e59951de3ed8..ec68a1f4560c 100644 --- a/sd/source/ui/inc/futext.hxx +++ b/sd/source/ui/inc/futext.hxx @@ -2,9 +2,9 @@ * * $RCSfile: futext.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: aw $ $Date: 2002-02-15 17:02:42 $ + * last change: $Author: cl $ $Date: 2002-11-29 14:22:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -134,6 +134,14 @@ class FuText : public FuConstruct // #97016# virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle); + + /** is called when the currenct function should be aborted. <p> + This is used when a function gets a KEY_ESCAPE but can also + be called directly. + + @returns true if a active function was aborted + */ + virtual bool cancel(); }; |