summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-23 13:21:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-24 07:57:07 +0100
commitec02714d6cd5be67d03e333efddb42ab572cae77 (patch)
tree9e28e8a87c823b39a334830fcb6dfb564a967a08 /i18nutil
parent945a119675788f7c8f0a133ac0271f9340c1653a (diff)
loplugin:unused-returns in drawinglayer..svx
Change-Id: I033a78cc7fe7d8e5086f1c855c4aa371cc98dc7c Reviewed-on: https://gerrit.libreoffice.org/48400 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/paper.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx
index 0d4b434c061c..c2728f697183 100644
--- a/i18nutil/source/utility/paper.cxx
+++ b/i18nutil/source/utility/paper.cxx
@@ -157,10 +157,10 @@ static const size_t nTabSize = SAL_N_ELEMENTS(aDinTab);
#define MAXSLOPPY 21
-bool PaperInfo::doSloppyFit()
+void PaperInfo::doSloppyFit()
{
if (m_eType != PAPER_USER)
- return true;
+ return;
for ( size_t i = 0; i < nTabSize; ++i )
{
@@ -174,11 +174,9 @@ bool PaperInfo::doSloppyFit()
m_nPaperWidth = aDinTab[i].m_nWidth;
m_nPaperHeight = aDinTab[i].m_nHeight;
m_eType = static_cast<Paper>(i);
- return true;
+ return;
}
}
-
- return false;
}
bool PaperInfo::sloppyEqual(const PaperInfo &rOther) const
10 +0000'>2016-06-03tdf#96099 Reduce number of typedefs used for trivial container typeskrishna keshav1-4/+3 2016-06-03on switching to slide layouts panel move into slide layout contextCaolán McNamara1-0/+2 2016-06-03OpenThenSwitchToDeck actually *toggles* deck visibilityCaolán McNamara5-16/+61 2016-06-03Add an assert for a good measure.Jan Holesovsky1-0/+2 2016-06-03notebookbar: load ui for the start centerSzymon Kłos3-3/+20 2016-06-03tdf#89329: use unique_ptr for pImpl in sbxvarXisco Fauli2-21/+14 2016-06-03ignore comment WMF meta-actions in WMF writerNoel Grandin1-0/+3 2016-06-03script for grouping warning messages by most commonNoel Grandin1-0/+35 2016-06-03sw: replace some OSL_ENSURE with assertMichael Stahl1-11/+8 2016-06-03sw: convert some OSL_FAIL to assertMichael Stahl12-55/+57 2016-06-03Resolves: tdf#93971 freeze on load of specific html docCaolán McNamara2-1/+79 2016-06-03Use AtomicLong in ThreadId instead of synchronizingNoel Grandin1-8/+5 2016-06-03loplugin:constantparamsNoel Grandin39-118/+88 2016-06-03Teach loplugin:stringconstant about RTL_CONSTASCII_STRINGPARAMStephan Bergmann8-89/+86 2016-06-03Resolves: tdf#100199 crash: switch to Display Mode - Master Modes - NotesCaolán McNamara2-21/+39 2016-06-03Resolves: tdf#55566 opening two docs with open document mac