From 2b4fd256e9f8594c31e7e8045dccae5afdc62e16 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Jan 2016 13:43:57 +0200 Subject: loplugin:unusedmethods unused return value in sw/ Change-Id: Iaec71124b04ed678686d646df3ff0892585d3d50 --- sw/source/uibase/config/caption.cxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sw/source/uibase/config') diff --git a/sw/source/uibase/config/caption.cxx b/sw/source/uibase/config/caption.cxx index bdc771779f88..ab56dbccf3f2 100644 --- a/sw/source/uibase/config/caption.cxx +++ b/sw/source/uibase/config/caption.cxx @@ -65,12 +65,4 @@ InsCaptionOpt& InsCaptionOpt::operator=( const InsCaptionOpt& rOpt ) return *this; } -bool InsCaptionOpt::operator==( const InsCaptionOpt& rOpt ) const -{ - return (eObjType == rOpt.eObjType && - aOleId == rOpt.aOleId); // So that identical Ole-IDs can't be added multiple - // times, don't compare against anything else. - -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit