From afb82d3729bda2754d0add08cc6c4dce1dc76d59 Mon Sep 17 00:00:00 2001
From: Siqi Liu <me@siqi.fr>
Date: Tue, 14 Apr 2015 00:55:04 +0200
Subject: implement SfxObjectShell subclasses' LOK interface

Change-Id: Iee2fbf71375631a349992a90c67c1c4c34e6ba3b
---
 sc/inc/document.hxx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sc/inc')

diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index a9f538096c9b..b88ffecbc56c 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -766,6 +766,7 @@ public:
     SfxBindings*    GetViewBindings();
     SfxObjectShell* GetDocumentShell() const    { return pShell; }
     SC_DLLPUBLIC ScDrawLayer* GetDrawLayer() { return pDrawLayer;  }
+    SC_DLLPUBLIC const ScDrawLayer* GetDrawLayer() const { return pDrawLayer;  }
     SfxBroadcaster* GetDrawBroadcaster();       // to avoid header
     void            BeginDrawUndo();
 
-- 
cgit