diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-04-21 10:12:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-04-21 21:46:09 +0200 |
commit | f712c531336b2c44636a35ad682913550640e0d3 (patch) | |
tree | 17f96584923f9de4945479eb67d65fa7b2a2331e /sc | |
parent | 90cbe03a0bd65151c197d3d4aeaf48a696f13fad (diff) |
loplugin:unnecessarygetstr extend to checking std::string::c_str
Change-Id: I17398e2a6a31a2c98ba8e54b5c8045f22aee8759
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150749
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/orcus/xmlcontext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/orcus/xmlcontext.cxx b/sc/source/filter/orcus/xmlcontext.cxx index e9c844890978..1588fad3424f 100644 --- a/sc/source/filter/orcus/xmlcontext.cxx +++ b/sc/source/filter/orcus/xmlcontext.cxx @@ -227,7 +227,7 @@ void ScOrcusXMLContextImpl::importXML(const ScOrcusImportXMLParam& rParam) std::ostringstream os; os << "ns" << index; std::string alias = os.str(); - filter.set_namespace_alias(alias.c_str(), nsid); + filter.set_namespace_alias(alias, nsid); } // Set cell links. |