summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 13:43:57 +0200
committerNoel Grandin <noel@peralex.com>2016-01-13 13:59:52 +0200
commit2b4fd256e9f8594c31e7e8045dccae5afdc62e16 (patch)
tree09d248841a5f0765516a7cf82b72cec529287eb7 /sw/source/ui/vba
parent20b0c8fc3bb5bcf4ae8ba81c88aaa5726dbcf9e2 (diff)
loplugin:unusedmethods unused return value in sw/
Change-Id: Iaec71124b04ed678686d646df3ff0892585d3d50
Diffstat (limited to 'sw/source/ui/vba')
-rw-r--r--sw/source/ui/vba/vbaborders.cxx5
1 files changed, 2 insertions, 3 deletions
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 )