diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-05-03 15:26:22 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-05-03 15:26:22 +0000 |
commit | ba7b2730f2ad017293f3f2ce4c8acd6c0ca59815 (patch) | |
tree | afd22a5db95f02425b2f623f17a7e44651039c41 /sfx2 | |
parent | f2bedd49e4a9e464b6e6027a4289030b6f755b51 (diff) |
#i10000# Prevent crash on exit in windows nonpro.
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/bastyp/progress.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx index a2460071d629..b32f3cde5976 100644 --- a/sfx2/source/bastyp/progress.cxx +++ b/sfx2/source/bastyp/progress.cxx @@ -4,9 +4,9 @@ * * $RCSfile: progress.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: rt $ $Date: 2006-05-02 16:25:12 $ + * last change: $Author: rt $ $Date: 2006-05-03 16:26:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -755,6 +755,9 @@ SfxProgress* SfxProgress::GetActiveProgress */ { + if ( !SfxApplication::Is_Impl() ) + return 0; + SfxProgress *pProgress = 0; if ( pDocSh ) pProgress = pDocSh->GetProgress(); |