summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tabvwsh.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/tabvwsh.hxx')
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index 9eeb6f825dfe..33c5b7ae6873 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SC_SOURCE_UI_INC_TABVWSH_HXX
#define INCLUDED_SC_SOURCE_UI_INC_TABVWSH_HXX
+#include <svx/fmshell.hxx>
#include <svtools/htmlcfg.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/viewfac.hxx>
@@ -33,7 +34,6 @@
#include <boost/ptr_container/ptr_map.hpp>
-class FmFormShell;
class SbxObject;
class SdrOle2Obj;
class SfxBindings;
@@ -376,7 +376,8 @@ public:
inline void SetScSbxObject( SbxObject* pOb )
{ pScSbxObject = pOb; }
- FmFormShell* GetFormShell() const { return pFormShell; }
+ virtual const FmFormShell* GetFormShell() const SAL_OVERRIDE { return pFormShell; }
+ virtual FmFormShell* GetFormShell() SAL_OVERRIDE { return pFormShell; }
void InsertURL( const OUString& rName, const OUString& rURL, const OUString& rTarget,
sal_uInt16 nMode );