From e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 6 May 2013 16:32:22 +0200 Subject: remove usage of RTL_CONSTASCII_USTRINGPARAM Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5 --- xmlreader/source/xmlreader.cxx | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) (limited to 'xmlreader') 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 >()); } -- cgit