summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-10-24 17:56:58 +0200
committerDavid Tardon <dtardon@redhat.com>2016-10-25 16:11:39 +0200
commit2dc528d85bf534af7921218ef822bb64ee0896d9 (patch)
treeeef46fe7cd6266692b088c6fecb2ccf371ca9bc0
parent0c3642e8e8c018bcc2ee57d4ccda0449df84364b (diff)
make this cond. to avoid another removal
Change-Id: I33793a1c82d7a3a8679964470057f2c3011fb145
-rw-r--r--sc/source/ui/inc/docsh.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index c41aaa44814f..2fde3629b2d0 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -226,7 +226,9 @@ public:
ScDocument& GetDocument() { return aDocument; }
ScDocFunc& GetDocFunc() { return *pDocFunc; }
+#if ENABLE_TELEPATHY
void SetDocFunc( ScDocFunc *pDF ) { pDocFunc = pDF; }
+#endif
SfxPrinter* GetPrinter( bool bCreateIfNotExist = true );
sal_uInt16 SetPrinter( SfxPrinter* pNewPrinter, SfxPrinterChangeFlags nDiffFlags = SFX_PRINTER_ALL );