[Libreoffice-commits] core.git: rsc/inc sc/source

Noel Grandin noel.grandin at collabora.co.uk
Fri Apr 21 09:42:48 UTC 2017


 rsc/inc/rsctop.hxx                |    4 ++--
 sc/source/ui/inc/scuiimoptdlg.hxx |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit dc2598b7b45638847ac81c1b53bdbe43e5acef19
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Thu Apr 20 13:28:44 2017 +0200

    loplugin:unnecessaryvirtual
    
    Change-Id: Ibf396e5431d30cb62f086fa723b88c330c18961b
    Reviewed-on: https://gerrit.libreoffice.org/36771
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/rsc/inc/rsctop.hxx b/rsc/inc/rsctop.hxx
index e9dab39dbf1c..76c96844cb73 100644
--- a/rsc/inc/rsctop.hxx
+++ b/rsc/inc/rsctop.hxx
@@ -151,13 +151,13 @@ public:
                               sal_Int32 nValue );
 
                     // an assignment to a variable
-    virtual ERRTYPE SetNotConst( const RSCINST & rInst, Atom nId );
+    ERRTYPE SetNotConst( const RSCINST & rInst, Atom nId );
 
     virtual ERRTYPE SetString( const RSCINST & rInst, const char * pStr );
 
     virtual ERRTYPE GetNumber( const RSCINST & rInst, sal_Int32 * pN );
 
-    virtual ERRTYPE GetBool( const RSCINST & rInst, bool * pB );
+    ERRTYPE GetBool( const RSCINST & rInst, bool * pB );
 
     virtual ERRTYPE GetConst( const RSCINST & rInst, Atom * pH );
 
diff --git a/sc/source/ui/inc/scuiimoptdlg.hxx b/sc/source/ui/inc/scuiimoptdlg.hxx
index 76fa5deb9693..7b0ec78987a1 100644
--- a/sc/source/ui/inc/scuiimoptdlg.hxx
+++ b/sc/source/ui/inc/scuiimoptdlg.hxx
@@ -39,8 +39,8 @@ public:
     virtual ~ScImportOptionsDlg() override;
     virtual void dispose() override;
 
-    virtual void GetImportOptions( ScImportOptions& rOptions ) const;
-    virtual void SaveImportOptions() const;
+    void GetImportOptions( ScImportOptions& rOptions ) const;
+    void SaveImportOptions() const;
     virtual OString GetScreenshotId() const override;
 
 private:


More information about the Libreoffice-commits mailing list