summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appmisc.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-11-15 14:03:07 +0000
committerMathias Bauer <mba@openoffice.org>2001-11-15 14:03:07 +0000
commit1e6628b27ebde2ab5ec9e84a67820354c1261c1d (patch)
treed370d5def8f1f65b0a079b9196630382372bc420 /sfx2/source/appl/appmisc.cxx
parent8445298228d4fa9af2c8ce4c2f9ea6a5749db88d (diff)
#93980#: StopButtonTimer moved to topframe
Diffstat (limited to 'sfx2/source/appl/appmisc.cxx')
-rw-r--r--sfx2/source/appl/appmisc.cxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx
index ad8612784237..5be3b17ca24f 100644
--- a/sfx2/source/appl/appmisc.cxx
+++ b/sfx2/source/appl/appmisc.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appmisc.cxx,v $
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: hr $ $Date: 2001-10-10 15:06:42 $
+ * last change: $Author: mba $ $Date: 2001-11-15 15:03:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -865,3 +865,15 @@ SfxMenuBarManager* SfxApplication::GetMenuBarManager() const
else
return 0;
}
+
+SfxCancelManager *SfxApplication::GetCancelManager() const
+{
+ if ( !pAppData_Impl->pCancelMgr )
+ {
+ pAppData_Impl->pCancelMgr = new SfxCancelManager;
+ pAppData_Impl->StartListening( *pAppData_Impl->pCancelMgr );
+ }
+ return pAppData_Impl->pCancelMgr;
+}
+
+