diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-03 14:08:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-04 07:17:23 +0100 |
commit | 21e0d8162a0e683558c4d042ce688fc9a6833809 (patch) | |
tree | 8c93a0158d7669b1e92a43c65b6b4a7a7eeca685 /sd | |
parent | 5de151f0fd7b590ae13560086b46ea84e4d9cf9c (diff) |
loplugin:unusedfields
fix the ReturnStmt check
Change-Id: I95076076bd1313d23798c4615ea12910c86ed9a8
Reviewed-on: https://gerrit.libreoffice.org/47309
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/stlsheet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index e0aacc949efa..507c5e787eb1 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -1045,11 +1045,11 @@ Any SAL_CALL SdStyleSheet::getPropertyValue( const OUString& PropertyName ) { const SdStyleSheet* pStyleSheet = GetPseudoStyleSheet(); if (pStyleSheet != nullptr) - aDisplayName = pStyleSheet->GetDisplayName(); + aDisplayName = pStyleSheet->GetName(); } if (aDisplayName.isEmpty()) - aDisplayName = GetDisplayName(); + aDisplayName = GetName(); aAny <<= aDisplayName; } |