summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2001-11-14 17:55:09 +0000
committerVladimir Glazounov <vg@openoffice.org>2001-11-14 17:55:09 +0000
commit808b66a2639517ba8f6591ba1c9c061a42a81883 (patch)
tree640040fb33cf090803a7194e8df7fec8300f0089
parentcff5022f6656f5a0f976259b50c4eb18a4be7b6d (diff)
#65293# temporary variable for gcc
-rw-r--r--sfx2/source/appl/appopen.cxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index ecf43ae7cafd..7848f1cb9ff8 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appopen.cxx,v $
*
- * $Revision: 1.40 $
+ * $Revision: 1.41 $
*
- * last change: $Author: mba $ $Date: 2001-11-09 15:21:56 $
+ * last change: $Author: vg $ $Date: 2001-11-14 18:55:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1072,12 +1072,14 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
catch ( ::com::sun::star::lang::IllegalArgumentException& )
{
vos::OGuard aGuard( Application::GetSolarMutex() );
- ErrorBox( SFX_APP()->GetTopWindow(), SfxResId( MSG_ERR_WEBBROWSER_NOT_STARTED )).Execute();
+ Window *pWindow = SFX_APP()->GetTopWindow();
+ ErrorBox( pWindow, SfxResId( MSG_ERR_WEBBROWSER_NOT_STARTED )).Execute();
}
catch ( ::com::sun::star::system::SystemShellExecuteException& )
{
vos::OGuard aGuard( Application::GetSolarMutex() );
- ErrorBox( SFX_APP()->GetTopWindow(), SfxResId( MSG_ERR_WEBBROWSER_NOT_STARTED )).Execute();
+ Window *pWindow = SFX_APP()->GetTopWindow();
+ ErrorBox( pWindow, SfxResId( MSG_ERR_WEBBROWSER_NOT_STARTED )).Execute();
}
return;
@@ -1099,12 +1101,14 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
catch ( ::com::sun::star::lang::IllegalArgumentException& )
{
vos::OGuard aGuard( Application::GetSolarMutex() );
- ErrorBox( SFX_APP()->GetTopWindow(), SfxResId( MSG_ERR_EXTERNAL_APP_NOT_FOUND )).Execute();
+ Window *pWindow = SFX_APP()->GetTopWindow();
+ ErrorBox( pWindow, SfxResId( MSG_ERR_EXTERNAL_APP_NOT_FOUND )).Execute();
}
catch ( ::com::sun::star::system::SystemShellExecuteException& )
{
vos::OGuard aGuard( Application::GetSolarMutex() );
- ErrorBox( SFX_APP()->GetTopWindow(), SfxResId( MSG_ERR_EXTERNAL_APP_NOT_FOUND )).Execute();
+ Window *pWindow = SFX_APP()->GetTopWindow();
+ ErrorBox( pWindow, SfxResId( MSG_ERR_EXTERNAL_APP_NOT_FOUND )).Execute();
}
}
}