diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-10-17 11:37:25 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-10-17 12:51:09 +0200 |
commit | 4477baeba5aec71098f374cf0b4bd4591e048809 (patch) | |
tree | 7b26fd4f72e03ee1176edbc9076dd44dbdfe74ba /xmloff/source/style/xmlimppr.cxx | |
parent | 74e738827ab2c6aa08ae4858a547f5fa75acfc6e (diff) |
Simplify Sequences in xmloff (+ merge 2 SetError)
Change-Id: If4055bbeb858b1b87ecb3f8c0b87da4b008e3c16
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123716
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmloff/source/style/xmlimppr.cxx')
-rw-r--r-- | xmloff/source/style/xmlimppr.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index f90aa7a75b9b..e8ecf4109772 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -266,12 +266,9 @@ void SvXMLImportPropertyMapper::importXMLAttribute( if( !bNoWarning && ((nFlags & MID_FLAG_MULTI_PROPERTY) == 0) ) { - Sequence<OUString> aSeq(2); - aSeq[0] = rAttrName; - aSeq[1] = sValue; rImport.SetError( XMLERROR_FLAG_WARNING | XMLERROR_STYLE_ATTR_VALUE, - aSeq ); + { rAttrName, sValue } ); } } } |