diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-01 13:42:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-01 15:35:41 +0200 |
commit | 6fb45286490f866013c90a9d5dc4d296e67c7d04 (patch) | |
tree | 4c7fc3ba0f592c80884d34f76e6b1f9a8e0532ad /svx/source/accessibility | |
parent | f767d5e2b017c0d0cfd23ff3318cb30901847722 (diff) |
loplugin:unusedmethods
Change-Id: Ifaf3860a31fc151bb7052db1b87962b8aba27c37
Reviewed-on: https://gerrit.libreoffice.org/78366
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/accessibility')
-rw-r--r-- | svx/source/accessibility/DescriptionGenerator.cxx | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/svx/source/accessibility/DescriptionGenerator.cxx b/svx/source/accessibility/DescriptionGenerator.cxx index 9afb976571ee..636baf66cefb 100644 --- a/svx/source/accessibility/DescriptionGenerator.cxx +++ b/svx/source/accessibility/DescriptionGenerator.cxx @@ -226,39 +226,6 @@ void DescriptionGenerator::AddInteger (const OUString& sPropertyName, } } - -void DescriptionGenerator::AddString (const OUString& sPropertyName, - const OUString& sLocalizedName, sal_uInt16 nWhichId) -{ - msDescription.append(sLocalizedName); - msDescription.append('='); - - try - { - if (mxSet.is()) - { - uno::Any aValue = mxSet->getPropertyValue (sPropertyName); - OUString sValue; - aValue >>= sValue; - - if (nWhichId != 0xffff) - { - SolarMutexGuard aGuard; - OUString sLocalizedValue = - SvxUnogetInternalNameForItem(nWhichId, sValue); - msDescription.append (sLocalizedValue); - } - else - msDescription.append (sValue); - } - } - catch (const css::beans::UnknownPropertyException &) - { - msDescription.append ("<unknown>"); - } -} - - } // end of namespace accessibility /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |