diff options
author | Dirk Völzke <dv@openoffice.org> | 2001-07-03 11:22:17 +0000 |
---|---|---|
committer | Dirk Völzke <dv@openoffice.org> | 2001-07-03 11:22:17 +0000 |
commit | 364b6ba94e5f150dde1bdb51e25868cde0c5ce22 (patch) | |
tree | 0b9da1ef02aae2d2eca34a53c452fcd62f284de8 /sfx2/source/view | |
parent | 8dcc2593b45dff7863d0187bec4750eb8ac7eaa3 (diff) |
#89176# Use AsynchronLink from svtools
Diffstat (limited to 'sfx2/source/view')
-rw-r--r-- | sfx2/source/view/prnmon.cxx | 11 | ||||
-rw-r--r-- | sfx2/source/view/topfrm.cxx | 11 | ||||
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 8 |
3 files changed, 19 insertions, 11 deletions
diff --git a/sfx2/source/view/prnmon.cxx b/sfx2/source/view/prnmon.cxx index 7f65ed096b48..5f39bd422927 100644 --- a/sfx2/source/view/prnmon.cxx +++ b/sfx2/source/view/prnmon.cxx @@ -2,9 +2,9 @@ * * $RCSfile: prnmon.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:52:36 $ + * last change: $Author: dv $ $Date: 2001-07-03 12:18:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,6 +65,11 @@ #ifndef _SV_MSGBOX_HXX #include <vcl/msgbox.hxx> #endif + +#ifndef SVTOOLS_ASYNCLINK_HXX +#include <svtools/asynclink.hxx> +#endif + #pragma hdrstop #include "prnmon.hxx" @@ -112,7 +117,7 @@ struct SfxPrintProgress_Impl BOOL bShow; BOOL bCallbacks; BOOL bOldEnablePrintFile; - AsynchronLink aDeleteLink; + svtools::AsynchronLink aDeleteLink; private: DECL_LINK( CancelHdl, Button * ); diff --git a/sfx2/source/view/topfrm.cxx b/sfx2/source/view/topfrm.cxx index 3198a2d41f57..a2983408aac1 100644 --- a/sfx2/source/view/topfrm.cxx +++ b/sfx2/source/view/topfrm.cxx @@ -2,9 +2,9 @@ * * $RCSfile: topfrm.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: mba $ $Date: 2001-06-29 11:29:48 $ + * last change: $Author: dv $ $Date: 2001-07-03 12:21:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -97,6 +97,9 @@ #ifndef _SFXSTRITEM_HXX //autogen #include <svtools/stritem.hxx> #endif +#ifndef SVTOOLS_ASYNCLINK_HXX +#include <svtools/asynclink.hxx> +#endif #ifndef _IPENV_HXX //autogen #include <so3/ipenv.hxx> #endif @@ -308,7 +311,7 @@ public: {} }; -static AsynchronLink* pPendingCloser = 0; +static svtools::AsynchronLink* pPendingCloser = 0; SfxTopFrame* SfxTopFrame::Create( SfxObjectShell* pDoc, USHORT nViewId, BOOL bHidden, const SfxItemSet* pSet ) { @@ -1032,7 +1035,7 @@ void SfxTopViewFrame::Exec_Impl(SfxRequest &rReq ) { if ( pPendingCloser ) pPendingCloser->ForcePendingCall(); - pCloser = new AsynchronLink( + pCloser = new svtools::AsynchronLink( Link( 0, SfxViewFrameClose_Impl ) ); pCloser->Call( this ); pPendingCloser = pCloser; diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 7dc065281ab9..e4a816b3b75e 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -2,9 +2,9 @@ * * $RCSfile: viewfrm.cxx,v $ * - * $Revision: 1.28 $ + * $Revision: 1.29 $ * - * last change: $Author: mba $ $Date: 2001-06-29 11:31:12 $ + * last change: $Author: dv $ $Date: 2001-07-03 12:22:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -213,7 +213,7 @@ struct SfxViewFrame_Impl String aActualPresentationURL; SfxFrame* pFrame; SfxCancelManager* pCancelMgr; - AsynchronLink* pReloader; + svtools::AsynchronLink* pReloader; SfxInPlaceFrame* pIPFrame; Window* pWindow; SfxViewFrame* pActiveChild; @@ -328,7 +328,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq, sal_Bool bAsync ) if( bAsync ) { if( !pImp->pReloader ) - pImp->pReloader = new AsynchronLink( + pImp->pReloader = new svtools::AsynchronLink( Link( this, ReloadDecouple_Impl ) ); pImp->pReloader->Call( new SfxRequest( rReq ) ); } |