From 21e0d8162a0e683558c4d042ce688fc9a6833809 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 3 Jan 2018 14:08:19 +0200 Subject: loplugin:unusedfields fix the ReturnStmt check Change-Id: I95076076bd1313d23798c4615ea12910c86ed9a8 Reviewed-on: https://gerrit.libreoffice.org/47309 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svl/source/items/style.cxx | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'svl') diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 281a4d8d8472..673874496093 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -190,18 +190,6 @@ bool SfxStyleSheetBase::SetName(const OUString& rName, bool bReIndexNow) return true; } -OUString const & SfxStyleSheetBase::GetDisplayName() const -{ - if( maDisplayName.isEmpty() ) - { - return aName; - } - else - { - return maDisplayName; - } -} - // Change Parent const OUString& SfxStyleSheetBase::GetParent() const { -- cgit