summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-30 10:29:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-01 10:43:24 +0000
commit58aea3f36c14414f95668e229a7350598f6c53a8 (patch)
tree70c115dffd44576313cefd49e4164d293895e4bd /idl
parent3fcbfe10857631212d8b8db9a079bb9692ed78bc (diff)
loplugin:unusedmethods
- improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/bastype.hxx4
-rw-r--r--idl/inc/command.hxx1
-rw-r--r--idl/source/objects/bastype.cxx7
3 files changed, 0 insertions, 12 deletions
diff --git a/idl/inc/bastype.hxx b/idl/inc/bastype.hxx
index 40e990af6442..fcfc8d0cdd32 100644
--- a/idl/inc/bastype.hxx
+++ b/idl/inc/bastype.hxx
@@ -105,7 +105,6 @@ public:
{
return !m_aStr.isEmpty();
}
- friend SvStream& operator >> (SvStream &, SvString &);
bool ReadSvIdl( SvStringHashEntry * pName, SvTokenStream & rInStm );
};
@@ -147,9 +146,6 @@ public:
return !(*this == r);
}
- sal_uInt16 GetMajorVersion() const { return nMajorVersion; }
- sal_uInt16 GetMinorVersion() const { return nMinorVersion; }
-
friend SvStream& operator >> (SvStream &, SvVersion &);
bool ReadSvIdl( SvTokenStream & rInStm );
};
diff --git a/idl/inc/command.hxx b/idl/inc/command.hxx
index 04c5ea08d613..fdcd89d565cd 100644
--- a/idl/inc/command.hxx
+++ b/idl/inc/command.hxx
@@ -44,7 +44,6 @@ public:
void Init();
class SvIdlWorkingBase;
bool ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand );
-void DeInit();
#endif // INCLUDED_IDL_INC_COMMAND_HXX
diff --git a/idl/source/objects/bastype.cxx b/idl/source/objects/bastype.cxx
index 06a79b6f8df4..196b2aae6b11 100644
--- a/idl/source/objects/bastype.cxx
+++ b/idl/source/objects/bastype.cxx
@@ -223,13 +223,6 @@ bool SvString::ReadSvIdl( SvStringHashEntry * pName, SvTokenStream & rInStm )
return false;
}
-SvStream& operator >> (SvStream & rStm, SvString & r )
-{
- r.setString(read_uInt16_lenPrefixed_uInt8s_ToOString(rStm));
- return rStm;
-}
-
-
bool SvHelpText::ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm )
{
return SvString::ReadSvIdl( SvHash_HelpText(), rInStm );