From 0b7337bfa049f4e3a8b87f7628025e40f5b3e825 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 5 Feb 2016 11:52:10 +0200 Subject: remove some dead code, found using LCOV Change-Id: Ibdca0a70722290bbb560726c88e9821c3ae0af14 Reviewed-on: https://gerrit.libreoffice.org/22151 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- idl/inc/basobj.hxx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'idl/inc/basobj.hxx') diff --git a/idl/inc/basobj.hxx b/idl/inc/basobj.hxx index 1768e0c9655f..5524df033f40 100644 --- a/idl/inc/basobj.hxx +++ b/idl/inc/basobj.hxx @@ -88,9 +88,8 @@ protected: SvString aName; SvHelpText aHelpText; - bool ReadNameSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ); - void DoReadContextSvIdl( SvIdlDataBase &, SvTokenStream & rInStm, - char c = '\0' ); + bool ReadNameSvIdl( SvTokenStream & rInStm ); + void DoReadContextSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ); virtual void ReadContextSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ); virtual void ReadAttributesSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm ); @@ -101,9 +100,9 @@ public: static void Back2Delemitter( SvStream & ); static void WriteStars( SvStream & ); - virtual bool SetName( const OString& rName, SvIdlDataBase * = nullptr ); - virtual const SvString & GetName() const { return aName; } - virtual const SvString & GetHelpText() const { return aHelpText; } + void SetName( const OString& rName ); + virtual const SvString & GetName() const { return aName; } + virtual const SvString & GetHelpText() const { return aHelpText; } virtual bool Test( SvIdlDataBase &, SvTokenStream & rInStm ); virtual bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ); @@ -167,8 +166,6 @@ class SvMetaExtern : public SvMetaReference public: SvMetaExtern(); - SvMetaModule * GetModule() const; - void SetModule( SvIdlDataBase & rBase ); virtual bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override; }; -- cgit