From 0c3642e8e8c018bcc2ee57d4ccda0449df84364b Mon Sep 17 00:00:00 2001 From: David Tardon Date: Wed, 23 Dec 2015 12:02:53 +0100 Subject: [PATCH] restore removed function for umpteenth time It is used by the tubes collaboration stuff. Change-Id: I9e31f0588f6c400716fba29806c1dab462c32a43 --- sc/source/ui/inc/docsh.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index d5b2c9287ede..c41aaa44814f 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -226,6 +226,7 @@ public: ScDocument& GetDocument() { return aDocument; } ScDocFunc& GetDocFunc() { return *pDocFunc; } + void SetDocFunc( ScDocFunc *pDF ) { pDocFunc = pDF; } SfxPrinter* GetPrinter( bool bCreateIfNotExist = true ); sal_uInt16 SetPrinter( SfxPrinter* pNewPrinter, SfxPrinterChangeFlags nDiffFlags = SFX_PRINTER_ALL );