summaryrefslogtreecommitdiff
path: root/svx/source/accessibility/DescriptionGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/accessibility/DescriptionGenerator.cxx')
-rw-r--r--svx/source/accessibility/DescriptionGenerator.cxx33
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: */