summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-26 14:33:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-26 18:51:01 +0200
commit568eea45de027c418bffdb8b9886fe38f9de8d8f (patch)
treed1781efeae74404593ff0a86a32767a6b01e77c4 /svx
parentaded8531db7247cceb8960278169bd7eff918ca7 (diff)
loplugin:unusedenumconstants
Change-Id: I4c75db3931e234d04a8d14f0a9dc9103132b0e72 Reviewed-on: https://gerrit.libreoffice.org/78137 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/DescriptionGenerator.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/svx/source/accessibility/DescriptionGenerator.cxx b/svx/source/accessibility/DescriptionGenerator.cxx
index ff5bb21f20eb..9afb976571ee 100644
--- a/svx/source/accessibility/DescriptionGenerator.cxx
+++ b/svx/source/accessibility/DescriptionGenerator.cxx
@@ -124,20 +124,19 @@ OUString DescriptionGenerator::operator() ()
void DescriptionGenerator::AddProperty (
const OUString& sPropertyName,
PropertyType aType,
- const char* pLocalizedNameId,
- sal_uInt16 nWhichId)
+ const char* pLocalizedNameId)
{
OUString sLocalizedName;
{
SolarMutexGuard aGuard;
sLocalizedName = SvxResId(pLocalizedNameId);
}
- AddProperty (sPropertyName, aType, sLocalizedName, nWhichId);
+ AddProperty (sPropertyName, aType, sLocalizedName);
}
void DescriptionGenerator::AddProperty (const OUString& sPropertyName,
- PropertyType aType, const OUString& sLocalizedName, sal_uInt16 nWhichId)
+ PropertyType aType, const OUString& sLocalizedName)
{
uno::Reference<beans::XPropertyState> xState (mxShape, uno::UNO_QUERY);
if (xState.is()
@@ -166,9 +165,6 @@ void DescriptionGenerator::AddProperty (const OUString& sPropertyName,
case PropertyType::Integer:
AddInteger (sPropertyName, sLocalizedName);
break;
- case PropertyType::String:
- AddString (sPropertyName, sLocalizedName, nWhichId);
- break;
}
}
}