summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/DomainMapperTableManager.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 20:35:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 22:12:28 +0200
commit57c9a995bafcaeb9ab00facb9b7f3ed52c7e7d2a (patch)
tree0694b1f49f2e51e533fe2a571b5aefbc9049fc54 /writerfilter/source/dmapper/DomainMapperTableManager.cxx
parent592c31a8fa8729259cf42440a0a26c0322bbbba5 (diff)
loplugin:returnconstval in test..writerfilter
Change-Id: Iea7d15f0a54921514cc4b71c5dc8caaa2ee573c8 Reviewed-on: https://gerrit.libreoffice.org/78063 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapperTableManager.cxx')
-rw-r--r--writerfilter/source/dmapper/DomainMapperTableManager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.cxx b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
index 2c33628615be..9b9f884e7b5a 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
@@ -400,12 +400,12 @@ DomainMapperTableManager::IntVectorPtr const & DomainMapperTableManager::getCurr
return m_aCellWidths.back( );
}
-const uno::Sequence<beans::PropertyValue> DomainMapperTableManager::getCurrentTablePosition( )
+uno::Sequence<beans::PropertyValue> DomainMapperTableManager::getCurrentTablePosition( )
{
if ( !m_aTablePositions.empty( ) && m_aTablePositions.back() )
return m_aTablePositions.back( )->getTablePosition();
else
- return uno::Sequence< beans::PropertyValue >( 0 );
+ return uno::Sequence< beans::PropertyValue >();
}
TablePositionHandler* DomainMapperTableManager::getCurrentTableRealPosition()