summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/dlg/sdtreelb.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/dlg/sdtreelb.cxx
parentimport the document properties before the document (diff)
downloadcore-ba233e87efddf0a6751b35784dca1c805364ff3b.tar.gz
core-ba233e87efddf0a6751b35784dca1c805364ff3b.zip
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/dlg/sdtreelb.cxx')
-rw-r--r--sd/source/ui/dlg/sdtreelb.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index 0d9635b03db3..efe298eeb481 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -448,7 +448,7 @@ bool SdPageObjsTLB::SelectEntry( const OUString& rName )
}
}
}
- return( bFound );
+ return bFound;
}
/**
@@ -477,7 +477,7 @@ bool SdPageObjsTLB::HasSelectedChildren( const OUString& rName )
}
}
}
- return( bChildren );
+ return bChildren;
}
/**
@@ -857,7 +857,7 @@ bool SdPageObjsTLB::IsEqualToDoc( const SdDrawDocument* pInDoc )
}
// If there are still entries in the listbox,
// then objects (with names) or pages were deleted
- return( !pEntry );
+ return !pEntry;
}
/**
@@ -865,7 +865,7 @@ bool SdPageObjsTLB::IsEqualToDoc( const SdDrawDocument* pInDoc )
*/
OUString SdPageObjsTLB::GetSelectEntry()
{
- return( GetEntryText( GetCurEntry() ) );
+ return GetEntryText( GetCurEntry() );
}
std::vector<OUString> SdPageObjsTLB::GetSelectEntryList( const sal_uInt16 nDepth ) const
@@ -1010,7 +1010,7 @@ SdDrawDocument* SdPageObjsTLB::GetBookmarkDoc(SfxMedium* pMed)
}
}
- return( mpBookmarkDoc );
+ return mpBookmarkDoc;
}
/**