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 --- starmath/source/view.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'starmath/source') diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 2c12b3c4cdef..f2713f576ca0 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1381,6 +1381,10 @@ sal_uInt16 SmViewShell::SetPrinter(SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlag return 0; } +bool SmViewShell::HasPrintOptionsPage() const +{ + return true; +} SfxTabPage* SmViewShell::CreatePrintOptionsPage(Window *pParent, const SfxItemSet &rOptions) -- cgit