diff options
author | Philipp Lohmann <Philipp.Lohmann@Sun.COM> | 2009-10-10 10:56:15 +0200 |
---|---|---|
committer | Philipp Lohmann <Philipp.Lohmann@Sun.COM> | 2009-10-10 10:56:15 +0200 |
commit | eca1b69c7f9f5d4a4966a19afdaa2c353e289ba0 (patch) | |
tree | 9f7b974be7c49185fcbfc1cedc6bbf7b133aa532 /sfx2 | |
parent | c51056b55e537374e1b279df87221deb06c144c8 (diff) |
SfxPrintAsync_Impl moved out in printerpullpages
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/viewimp.hxx | 4 | ||||
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sfx2/source/view/viewimp.hxx b/sfx2/source/view/viewimp.hxx index f75d68fe1413..e36e199a32bb 100644 --- a/sfx2/source/view/viewimp.hxx +++ b/sfx2/source/view/viewimp.hxx @@ -56,6 +56,7 @@ typedef SfxShell* SfxShellPtr_Impl; SV_DECL_PTRARR( SfxShellArr_Impl, SfxShellPtr_Impl, 4, 4 ) // struct SfxViewShell_Impl ---------------------------------------------- +#if 0 class SfxAsyncPrintExec_Impl : public SfxListener { SfxViewShell* pView; @@ -70,6 +71,7 @@ public: void AddRequest( SfxRequest& rReq ); }; +#endif struct SfxViewShell_Impl { @@ -94,7 +96,7 @@ struct SfxViewShell_Impl USHORT nFamily; SfxBaseController* pController; ::svt::AcceleratorExecute* pAccExec; - SfxAsyncPrintExec_Impl* pPrinterCommandQueue; +// SfxAsyncPrintExec_Impl* pPrinterCommandQueue; com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > aPrintOpts; SfxViewShell_Impl() diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index bfc6425111f5..4a9b9552d5c2 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -1254,7 +1254,7 @@ SfxViewShell::SfxViewShell { DBG_CTOR(SfxViewShell, 0); - pImp->pPrinterCommandQueue = new SfxAsyncPrintExec_Impl( this ); + //pImp->pPrinterCommandQueue = new SfxAsyncPrintExec_Impl( this ); pImp->pController = 0; pImp->bIsShowView = !(SFX_VIEW_NO_SHOW == (nFlags & SFX_VIEW_NO_SHOW)); @@ -1309,7 +1309,7 @@ SfxViewShell::~SfxViewShell() pImp->pAccExec = 0; } - delete pImp->pPrinterCommandQueue; + //delete pImp->pPrinterCommandQueue; delete pImp; delete pIPClientList; } |