summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/sdview.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-11 13:20:49 +0200
committerNoel Grandin <noel@peralex.com>2015-02-23 09:26:58 +0200
commitba233e87efddf0a6751b35784dca1c805364ff3b (patch)
tree9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /sd/source/ui/view/sdview.cxx
parenta2fa9e2468aa5c4fd4b610c5d0ebc8959e87a072 (diff)
remove unnecessary parenthesis in return statements
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'sd/source/ui/view/sdview.cxx')
-rw-r--r--sd/source/ui/view/sdview.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index ff3c6668e2ae..8224d7cc4ebc 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -525,12 +525,12 @@ void View::MarkListHasChanged()
bool View::SetAttributes(const SfxItemSet& rSet, bool bReplaceAll)
{
bool bOk = FmFormView::SetAttributes(rSet, bReplaceAll);
- return (bOk);
+ return bOk;
}
bool View::GetAttributes( SfxItemSet& rTargetSet, bool bOnlyHardAttr ) const
{
- return( FmFormView::GetAttributes( rTargetSet, bOnlyHardAttr ) );
+ return FmFormView::GetAttributes( rTargetSet, bOnlyHardAttr );
}
/**
@@ -597,7 +597,7 @@ bool View::IsPresObjSelected(bool bOnPage, bool bOnMasterPage, bool bCheckPresOb
delete pMarkList;
}
- return (bSelected);
+ return bSelected;
}
void View::SelectAll()
@@ -806,7 +806,7 @@ SdrEndTextEditKind View::SdrEndTextEdit(bool bDontDeleteReally)
pPage->onEndTextEdit( xObj.get() );
}
- return(eKind);
+ return eKind;
}
/** restores the default text if the given text object is currently in edit mode and