summaryrefslogtreecommitdiff
path: root/linguistic
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 /linguistic
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 'linguistic')
-rw-r--r--linguistic/source/convdicxml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx
index 8b23e93981af..46b5ec69d320 100644
--- a/linguistic/source/convdicxml.cxx
+++ b/linguistic/source/convdicxml.cxx
@@ -265,7 +265,7 @@ ErrCode ConvDicXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum /*eClass
// Add xmlns line and some other arguments
AddAttribute( GetNamespaceMap_().GetAttrNameByKey( XML_NAMESPACE_TCD ),
GetNamespaceMap_().GetNameByKey( XML_NAMESPACE_TCD ) );
- AddAttributeASCII( XML_NAMESPACE_TCD, "package", "org.openoffice.Office" );
+ AddAttribute( XML_NAMESPACE_TCD, "package", "org.openoffice.Office" );
OUString aIsoLang( LanguageTag::convertToBcp47( rDic.nLanguage ) );
AddAttribute( XML_NAMESPACE_TCD, "lang", aIsoLang );