summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-30 13:45:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-31 08:33:40 +0200
commit307be8c9cedb32560419bbb09e029b906e5f1acd (patch)
treecda408f6f320e7e7cb24dd7e022259c807f0c89e /lotuswordpro
parent7c41a3e50433fe67eb361f79121d103929946d23 (diff)
clang-tidy readability-redundant-control-flow
Change-Id: I832f7ef0f1bd55e365db7e49823fe8bc30390c04 Reviewed-on: https://gerrit.libreoffice.org/38215 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/explode.cxx1
-rw-r--r--lotuswordpro/source/filter/lwpcelllayout.cxx3
-rw-r--r--lotuswordpro/source/filter/utbenvs.cxx3
3 files changed, 0 insertions, 7 deletions
diff --git a/lotuswordpro/source/filter/explode.cxx b/lotuswordpro/source/filter/explode.cxx
index edaad856836c..2e95dd03d34b 100644
--- a/lotuswordpro/source/filter/explode.cxx
+++ b/lotuswordpro/source/filter/explode.cxx
@@ -343,7 +343,6 @@ void Decompression::ToString(sal_uInt32 nBits, sal_Char *pChar, sal_uInt32 nLen)
pChar[nLen - i] = nBit ? '1':'0';
}
pChar[nLen] = '\0';
- return;
}
/**
diff --git a/lotuswordpro/source/filter/lwpcelllayout.cxx b/lotuswordpro/source/filter/lwpcelllayout.cxx
index 3024e53ce1a0..dbec3ce35eb1 100644
--- a/lotuswordpro/source/filter/lwpcelllayout.cxx
+++ b/lotuswordpro/source/filter/lwpcelllayout.cxx
@@ -289,8 +289,6 @@ void LwpCellLayout::ApplyFmtStyle(XFCellStyle *pCellStyle)
pCellStyle->SetDataStyle(m_NumfmtName);
}
}
-
- return;
}
/**
* @short get style name according to cell position, only table default cells use this function
@@ -855,7 +853,6 @@ LwpHiddenCellLayout::~LwpHiddenCellLayout()
*/
void LwpHiddenCellLayout::SetCellMap()
{
- return;
}
/**
* @short Read hidden cell layout
diff --git a/lotuswordpro/source/filter/utbenvs.cxx b/lotuswordpro/source/filter/utbenvs.cxx
index 64c19679484c..aac43171f8cd 100644
--- a/lotuswordpro/source/filter/utbenvs.cxx
+++ b/lotuswordpro/source/filter/utbenvs.cxx
@@ -111,8 +111,6 @@ sal_uInt64 LtcUtBenValueStream::SeekPos(sal_uInt64 const nPos)
{
//pLtcBenContainer pContainer = cpValue->GetContainer();
//pContainer->GetStream()->SetStreamSize(nSize);
-
- return;
}
/**
* Flush data function, not supported now
@@ -124,7 +122,6 @@ void LtcUtBenValueStream::FlushData()
pLtcBenContainer pContainer = cpValue->GetContainer();
pContainer->GetStream()->Flush();*/
assert(false);
- return;
}
/**
* Construction