diff options
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r-- | vcl/source/app/svapp.cxx | 11 |
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; |