summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/view.hxx1
-rw-r--r--starmath/source/view.cxx4
2 files changed, 5 insertions, 0 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index f508cf5a87a1..cdfb6143569b 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -266,6 +266,7 @@ protected:
bool Insert( SfxMedium& rMedium );
bool InsertFrom(SfxMedium &rMedium);
+ virtual bool HasPrintOptionsPage() const;
virtual SfxTabPage *CreatePrintOptionsPage(Window *pParent,
const SfxItemSet &rOptions);
virtual void Deactivate(sal_Bool IsMDIActivate);
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)