summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/svx/DescriptionGenerator.hxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/include/svx/DescriptionGenerator.hxx b/include/svx/DescriptionGenerator.hxx
index 7769a25dbe6a..562b3070bfd0 100644
--- a/include/svx/DescriptionGenerator.hxx
+++ b/include/svx/DescriptionGenerator.hxx
@@ -43,8 +43,7 @@ class SVX_DLLPUBLIC DescriptionGenerator
public:
enum class PropertyType {
Color,
- Integer,
- String
+ Integer
};
/** Creates a new description generator with an empty description
@@ -95,14 +94,10 @@ public:
@param sLocalizedName
Localized name of the property. An empty string tells the
method to use the property name instead.
- @param nWhichId
- This which id is used to localize the property value. If it is
- not known a value of -1 signals to use a default representation.
*/
void AddProperty (const OUString& sPropertyName,
PropertyType aType,
- const OUString& sLocalizedName=OUString(),
- sal_uInt16 nWhichId = 0xffff);
+ const OUString& sLocalizedName=OUString());
/** Add the given property name and its associated value to the
description string. If the property value does not differ from the
@@ -117,14 +112,10 @@ public:
into the value's string representation.
@param pResourceId
Id of the localized name of the property int the resource.
- @param nWhichId
- This which id is used to localize the property value. If it is
- not known a value of -1 signals to use a default representation.
*/
void AddProperty (const OUString& sPropertyName,
PropertyType aType,
- const char* pResourceId,
- sal_uInt16 nWhichId = 0xffff);
+ const char* pResourceId);
/** Append the given string as is to the current description.
@param sString