summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-17 17:21:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-18 08:49:37 +0200
commiteea6d3951b66f85df60574e10f19a81bfd7529cc (patch)
tree0509297cd8fb5e59750f45099e04bbea7be968cc /sd
parent0501869949b65b27303a41fd235a6ec32a4c90a7 (diff)
loplugin:unnecessaryparen
look for statements like return (function()); Change-Id: I906cf2183489f87225b99b987caca67e39b26cc3 Reviewed-on: https://gerrit.libreoffice.org/41260 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/stlsheet.cxx2
-rw-r--r--sd/source/ui/dlg/ins_paste.cxx2
-rw-r--r--sd/source/ui/dlg/inspagob.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index cbf3475fd9a1..4275663e8ed3 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -272,7 +272,7 @@ SfxItemSet& SdStyleSheet::GetItemSet()
if (pSdSheet)
{
- return(pSdSheet->GetItemSet());
+ return pSdSheet->GetItemSet();
}
else
{
diff --git a/sd/source/ui/dlg/ins_paste.cxx b/sd/source/ui/dlg/ins_paste.cxx
index 2b4a592ef63f..09f5d54297d0 100644
--- a/sd/source/ui/dlg/ins_paste.cxx
+++ b/sd/source/ui/dlg/ins_paste.cxx
@@ -42,7 +42,7 @@ void SdInsertPasteDlg::dispose()
bool SdInsertPasteDlg::IsInsertBefore() const
{
- return( m_pRbBefore->IsChecked() );
+ return m_pRbBefore->IsChecked();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/dlg/inspagob.cxx b/sd/source/ui/dlg/inspagob.cxx
index 80379f718023..ce291508083c 100644
--- a/sd/source/ui/dlg/inspagob.cxx
+++ b/sd/source/ui/dlg/inspagob.cxx
@@ -116,7 +116,7 @@ std::vector<OUString> SdInsertPagesObjsDlg::GetList( const sal_uInt16 nType )
*/
bool SdInsertPagesObjsDlg::IsLink()
{
- return( m_pCbxLink->IsChecked() );
+ return m_pCbxLink->IsChecked();
}
/**
@@ -124,7 +124,7 @@ bool SdInsertPagesObjsDlg::IsLink()
*/
bool SdInsertPagesObjsDlg::IsRemoveUnnessesaryMasterPages() const
{
- return( m_pCbxMasters->IsChecked() );
+ return m_pCbxMasters->IsChecked();
}
/**