summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-08-27 18:34:02 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-09-01 03:20:52 -0500
commit15cea073e7ed4970e60967fe036fc492e2052203 (patch)
treebe449340f060b94428221538b64b0a290509aec6 /sc
parentc369013edb76cd47ef7e8c193a18a57ff165ddfb (diff)
fdo#44081 don't remove 'edit' pop-up menu entry from form in design mode
Change-Id: I9700d0d729a8f2d1255fcd03a07e05799e21f8d0 Reviewed-on: https://gerrit.libreoffice.org/11152 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index b20b82973be0..d1be5015b855 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -366,7 +366,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 );