summaryrefslogtreecommitdiff
path: root/embeddedobj/source/inc/oleembobj.hxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-12-19 13:04:19 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-12-19 13:04:19 +0000
commit2823883cbea32af80b81d18fcec15f017b5bdb07 (patch)
tree95caad27a308719d0438715fe119d6bbc8c61247 /embeddedobj/source/inc/oleembobj.hxx
parent5d4d425754b6792900d894568219ec22e933b604 (diff)
INTEGRATION: CWS fwk56 (1.25.8); FILE MERGED
2006/10/27 10:09:18 mav 1.25.8.1: #i62872# do not allow stempit workaround to be activated on closing of other objects
Diffstat (limited to 'embeddedobj/source/inc/oleembobj.hxx')
-rw-r--r--embeddedobj/source/inc/oleembobj.hxx21
1 files changed, 19 insertions, 2 deletions
diff --git a/embeddedobj/source/inc/oleembobj.hxx b/embeddedobj/source/inc/oleembobj.hxx
index f0126e3db96b..aa142897dd1f 100644
--- a/embeddedobj/source/inc/oleembobj.hxx
+++ b/embeddedobj/source/inc/oleembobj.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: oleembobj.hxx,v $
*
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: obo $ $Date: 2006-10-13 11:30:21 $
+ * last change: $Author: ihi $ $Date: 2006-12-19 14:04:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -124,6 +124,23 @@ public:
void ObjectIsActive() { m_bWasEverActive = sal_True; }
};
+class VerbExecutionControllerGuard
+{
+ VerbExecutionController& m_rController;
+public:
+
+ VerbExecutionControllerGuard( VerbExecutionController& rController )
+ : m_rController( rController )
+ {
+ m_rController.LockNotification();
+ }
+
+ ~VerbExecutionControllerGuard()
+ {
+ m_rController.UnlockNotification();
+ }
+};
+
class OleComponent;
class OwnView_Impl;