summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-10-07 08:46:27 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2021-10-09 07:08:24 +0200
commit4d82c1d8a3160719f694df98a4db6b9b8c7664bd (patch)
tree2e0fd754bd15d74171f07b77dbd4a00612d13f7c /include/xmloff
parenta5ba8d94e6c36a7d79276416cc5acad9a1f6e54e (diff)
Simplify SvXMLExport::AddAttribute overloads
Remove overloads taking const char* which were not needed, because every their use eventually took a string literal convertible to OUString directly. Many other literals were converted to OUStringLiterals. Change-Id: Ia1e742a8087776cd20bf5094dc415dafd9a8834a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123155 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/xmlexp.hxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index 5b72788313ef..e9dcd2bfebdf 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -337,10 +337,6 @@ public:
void ClearAttrList();
// Add an attribute to the common attribute list.
- void AddAttributeASCII( sal_uInt16 nPrefix, const char *pName,
- const char *pValue );
- void AddAttribute( sal_uInt16 nPrefix, const char *pName,
- const OUString& rValue );
void AddAttribute( sal_uInt16 nPrefix, const OUString& rName,
const OUString& rValue );
void AddAttribute( sal_uInt16 nPrefix,