From d9e627039245dc42f003a7cf75642f619a621513 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 17 Nov 2015 11:16:07 +0200 Subject: loplugin:unnecessaryvirtual update the plugin with lessons learned from the mergeclasses plugin and re-run it Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711 Reviewed-on: https://gerrit.libreoffice.org/20015 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/inc/drawdoc.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sd') diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx index 6343217ced19..23e5ecf2984d 100644 --- a/sd/inc/drawdoc.hxx +++ b/sd/inc/drawdoc.hxx @@ -139,12 +139,12 @@ class SD_DLLPUBLIC SdDrawDocument : public FmFormModel private: OUString msDocAccTitle; public: - SAL_DLLPRIVATE virtual void setDocAccTitle( const OUString& rTitle ) { msDocAccTitle = rTitle; } - SAL_DLLPRIVATE virtual const OUString getDocAccTitle() const { return msDocAccTitle; } + SAL_DLLPRIVATE void setDocAccTitle( const OUString& rTitle ) { msDocAccTitle = rTitle; } + SAL_DLLPRIVATE const OUString getDocAccTitle() const { return msDocAccTitle; } private: bool bReadOnly; public: - SAL_DLLPRIVATE virtual bool getDocReadOnly() const { return bReadOnly; } + SAL_DLLPRIVATE bool getDocReadOnly() const { return bReadOnly; } private: ::sd::Outliner* mpOutliner; ///< local outliner for outline mode ::sd::Outliner* mpInternalOutliner; ///< internal outliner for creation of text objects -- cgit