summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-22 10:04:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-28 12:56:17 +0000
commit8a22bc93e0988188a87c0a787a9b32a7f74da84d (patch)
tree5b0c9bd79ee88be0754687fe552729e8470f5db2 /lotuswordpro
parent99fbcffa3d85c00770977e205626493ec2be1883 (diff)
update unnecessaryoverride plugin to find pure forwarding methods
which can be replaced with using declarations. Is there a more efficient way to code the search? Seems to slow the build down a little. Change-Id: I08cda21fa70dce6572e1acc71bf5e6df36bb951f Reviewed-on: https://gerrit.libreoffice.org/30157 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpproplist.cxx5
-rw-r--r--lotuswordpro/source/filter/lwpproplist.hxx2
2 files changed, 1 insertions, 6 deletions
diff --git a/lotuswordpro/source/filter/lwpproplist.cxx b/lotuswordpro/source/filter/lwpproplist.cxx
index 119179e6ce73..4bf5d8c0d5b5 100644
--- a/lotuswordpro/source/filter/lwpproplist.cxx
+++ b/lotuswordpro/source/filter/lwpproplist.cxx
@@ -106,11 +106,6 @@ LwpPropListElement* LwpPropList::FindPropByName(const OUString& name)
return nullptr;
}
-void LwpPropList::Read(LwpObjectStream* pObjStrm)
-{
- LwpDLVListHead::Read(pObjStrm);
-}
-
LwpPropListElement* LwpPropList::GetFirst()
{
return dynamic_cast<LwpPropListElement*>(LwpDLVListHead::GetFirst().obj().get());
diff --git a/lotuswordpro/source/filter/lwpproplist.hxx b/lotuswordpro/source/filter/lwpproplist.hxx
index 3419ba0c6543..463c659b785c 100644
--- a/lotuswordpro/source/filter/lwpproplist.hxx
+++ b/lotuswordpro/source/filter/lwpproplist.hxx
@@ -86,7 +86,7 @@ class LwpPropList : public LwpDLVListHead
public:
LwpPropList(){}
~LwpPropList(){}
- void Read(LwpObjectStream* pObjStrm);
+ using LwpDLVListHead::Read;
LwpPropListElement* GetFirst();
OUString GetNamedProperty(const OUString& name);
OUString EnumNamedProperty(OUString& name,OUString& value);