summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-05 16:07:07 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-05 16:07:07 +0000
commite7ec6a22e0963e0cef349327dc8d17f9e04b0d98 (patch)
treee4acd384f743a2396fe80ed459c80d1d3231df52 /vcl/source/app
parent468d7fbdacca488313173f3de584e5f97c336602 (diff)
INTEGRATION: CWS aquavcl05_DEV300 (1.81.82); FILE MERGED
2008/02/15 10:55:56 pl 1.81.82.1: add: GetModalModeCount
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/svapp.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 4ba2455df231..71977bd8a355 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svapp.cxx,v $
*
- * $Revision: 1.81 $
+ * $Revision: 1.82 $
*
- * last change: $Author: vg $ $Date: 2007-10-15 13:07:17 $
+ * last change: $Author: kz $ $Date: 2008-03-05 17:07:07 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -638,6 +638,13 @@ BOOL Application::IsInModalMode()
// -----------------------------------------------------------------------
+USHORT Application::GetModalModeCount()
+{
+ return ImplGetSVData()->maAppData.mnModalMode;
+}
+
+// -----------------------------------------------------------------------
+
USHORT Application::GetDispatchLevel()
{
return ImplGetSVData()->maAppData.mnDispatchLevel;