From d1660f19d5c8c60d8549b594a36d13a5edcf15a3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 6 Dec 2012 21:05:57 +0000 Subject: an app can have print options without a print options dialog e.g. draw and impress have print options, but no print options dialog (It's plausible that we should merge the print options in the print dialog with the print options in the options... dialog of the printer settings dialog) Change-Id: I25c029ad8ba482b1e8d8d5974cc8de99584b9a55 --- sd/source/ui/inc/ViewShellBase.hxx | 5 ----- sd/source/ui/view/ViewShellBase.cxx | 12 ------------ 2 files changed, 17 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx index 9377c83093e8..458896a042f8 100644 --- a/sd/source/ui/inc/ViewShellBase.hxx +++ b/sd/source/ui/inc/ViewShellBase.hxx @@ -139,11 +139,6 @@ public: SfxPrinter* pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINTER_ALL, bool bIsApi=false); - /// Forwarded to the print manager. - virtual SfxTabPage* CreatePrintOptionsPage ( - ::Window *pParent, - const SfxItemSet &rOptions); - /// Forward methods to main sub shell. virtual void WriteUserDataSequence ( ::com::sun::star::uno::Sequence < diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index d7322801290b..0cd5c67b7902 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -626,18 +626,6 @@ sal_uInt16 ViewShellBase::SetPrinter ( -SfxTabPage* ViewShellBase::CreatePrintOptionsPage( - ::Window *pParent, - const SfxItemSet &rOptions) -{ - (void)pParent; - (void)rOptions; - return NULL; -} - - - - void ViewShellBase::UIActivating( SfxInPlaceClient* pClient ) { mpImpl->ShowViewTabBar(false); -- cgit