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/ui/vba/vbaborders.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sw/source/ui/vba') diff --git a/sw/source/ui/vba/vbaborders.cxx b/sw/source/ui/vba/vbaborders.cxx index 85f3793715f6..ab8eee3b7f1f 100644 --- a/sw/source/ui/vba/vbaborders.cxx +++ b/sw/source/ui/vba/vbaborders.cxx @@ -46,7 +46,7 @@ class SwVbaBorder : public SwVbaBorder_Base private: uno::Reference< beans::XPropertySet > m_xProps; sal_Int32 m_LineType; - bool setBorderLine( table::BorderLine& rBorderLine ) + void setBorderLine( table::BorderLine& rBorderLine ) { table::TableBorder aTableBorder; m_xProps->getPropertyValue( "TableBorder" ) >>= aTableBorder; @@ -84,10 +84,9 @@ private: // nice to investigate what we can do here break; default: - return false; + return; } m_xProps->setPropertyValue( "TableBorder", uno::makeAny(aTableBorder) ); - return true; } bool getBorderLine( table::BorderLine& rBorderLine ) -- cgit