diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-05-06 16:32:22 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-05-06 16:51:45 +0200 |
commit | e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 (patch) | |
tree | 8063275cabcdf32e30c37451a32d96db5929561a /xmlreader/source | |
parent | d01768c31a0658c8a74e0dd3a95b2d781639d18e (diff) |
remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
Diffstat (limited to 'xmlreader/source')
-rw-r--r-- | xmlreader/source/xmlreader.cxx | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/xmlreader/source/xmlreader.cxx b/xmlreader/source/xmlreader.cxx index ca819c40a9e4..858e86097e18 100644 --- a/xmlreader/source/xmlreader.cxx +++ b/xmlreader/source/xmlreader.cxx @@ -251,8 +251,7 @@ bool XmlReader::skipComment() { if (i < 0) { throw css::uno::RuntimeException( (OUString( - RTL_CONSTASCII_USTRINGPARAM( - "premature end (within comment) of ")) + + "premature end (within comment) of ") + fileUrl_), css::uno::Reference< css::uno::XInterface >()); } @@ -260,8 +259,7 @@ bool XmlReader::skipComment() { if (read() != '>') { throw css::uno::RuntimeException( (OUString( - RTL_CONSTASCII_USTRINGPARAM( - "illegal \"--\" within comment in ")) + + "illegal \"--\" within comment in ") + fileUrl_), css::uno::Reference< css::uno::XInterface >()); } @@ -289,8 +287,7 @@ void XmlReader::skipDocumentTypeDeclaration() { case '\0': // i.e., EOF throw css::uno::RuntimeException( (OUString( - RTL_CONSTASCII_USTRINGPARAM( - "premature end (within DTD) of ")) + + "premature end (within DTD) of ") + fileUrl_), css::uno::Reference< css::uno::XInterface >()); case '"': @@ -301,8 +298,7 @@ void XmlReader::skipDocumentTypeDeclaration() { if (i < 0) { throw css::uno::RuntimeException( (OUString( - RTL_CONSTASCII_USTRINGPARAM( - "premature end (within DTD) of ")) + + "premature end (within DTD) of ") + fileUrl_), css::uno::Reference< css::uno::XInterface >()); } @@ -318,8 +314,7 @@ void XmlReader::skipDocumentTypeDeclaration() { case '\0': // i.e., EOF throw css::uno::RuntimeException( (OUString( - RTL_CONSTASCII_USTRINGPARAM( - "premature end (within DTD) of ")) + + "premature end (within DTD) of ") + fileUrl_), css::uno::Reference< css::uno::XInterface >()); case '"': @@ -330,8 +325,7 @@ void XmlReader::skipDocumentTypeDeclaration() { if (i < 0) { throw css::uno::RuntimeException( (OUString( - RTL_CONSTASCII_USTRINGPARAM( - "premature end (within DTD) of ")) + + "premature end (within DTD) of ") + fileUrl_), css::uno::Reference< css::uno::XInterface >()); } @@ -343,8 +337,7 @@ void XmlReader::skipDocumentTypeDeclaration() { case '\0': // i.e., EOF throw css::uno::RuntimeException( (OUString( - RTL_CONSTASCII_USTRINGPARAM( - "premature end (within DTD) of ")) + + "premature end (within DTD) of ") + fileUrl_), css::uno::Reference< css::uno::XInterface >()); case '!': @@ -362,8 +355,7 @@ void XmlReader::skipDocumentTypeDeclaration() { if (read() != '>') { throw css::uno::RuntimeException( (OUString( - RTL_CONSTASCII_USTRINGPARAM( - "missing \">\" of DTD in ")) + + "missing \">\" of DTD in ") + fileUrl_), css::uno::Reference< css::uno::XInterface >()); } @@ -393,8 +385,7 @@ Span XmlReader::scanCdataSection() { if (i < 0) { throw css::uno::RuntimeException( (OUString( - RTL_CONSTASCII_USTRINGPARAM( - "premature end (within CDATA section) of ")) + + "premature end (within CDATA section) of ") + fileUrl_), css::uno::Reference< css::uno::XInterface >()); } |