diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-08 03:59:11 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-08 04:00:42 +0100 |
commit | b5d7f9208294803cc7a2dfb4c2a4cb17d7739947 (patch) | |
tree | f2d2e57e8cf02a20cd298d29c6d60084b90c7d89 /framework/source/xml | |
parent | fd4380759d67bcfa582dd8880077ea8445ab8a06 (diff) |
fwk: some follow up of rtl cleanup
Change-Id: I434e714b6e5a38795c0baca85b51eef85a4732fd
Diffstat (limited to 'framework/source/xml')
-rw-r--r-- | framework/source/xml/imagesdocumenthandler.cxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx index 99959adc1ffa..5821266c4fbe 100644 --- a/framework/source/xml/imagesdocumenthandler.cxx +++ b/framework/source/xml/imagesdocumenthandler.cxx @@ -159,7 +159,7 @@ throw( SAXException, RuntimeException ) ( !m_bImageContainerStartFound && m_bImageContainerEndFound ) ) { OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "No matching start or end element 'image:imagecontainer' found!" ); + aErrorMessage += "No matching start or end element 'image:imagecontainer' found!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } } @@ -181,7 +181,7 @@ throw( SAXException, RuntimeException ) if ( m_bImageContainerStartFound ) { OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Element 'image:imagecontainer' cannot be embeded into 'image:imagecontainer'!" ); + aErrorMessage += "Element 'image:imagecontainer' cannot be embeded into 'image:imagecontainer'!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } @@ -194,14 +194,14 @@ throw( SAXException, RuntimeException ) if ( !m_bImageContainerStartFound ) { OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Element 'image:images' must be embeded into element 'image:imagecontainer'!" ); + aErrorMessage += "Element 'image:images' must be embeded into element 'image:imagecontainer'!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } if ( m_bImagesStartFound ) { OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Element 'image:images' cannot be embeded into 'image:images'!" ); + aErrorMessage += "Element 'image:images' cannot be embeded into 'image:images'!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } @@ -260,7 +260,7 @@ throw( SAXException, RuntimeException ) m_pImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Attribute image:maskmode must be 'maskcolor' or 'maskbitmap'!" ); + aErrorMessage += "Attribute image:maskmode must be 'maskcolor' or 'maskbitmap'!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } } @@ -290,7 +290,7 @@ throw( SAXException, RuntimeException ) m_pImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Required attribute xlink:href must have a value!" ); + aErrorMessage += "Required attribute xlink:href must have a value!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } } @@ -305,7 +305,7 @@ throw( SAXException, RuntimeException ) m_pImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Element 'image:entry' must be embeded into element 'image:images'!" ); + aErrorMessage += "Element 'image:entry' must be embeded into element 'image:images'!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } @@ -352,7 +352,7 @@ throw( SAXException, RuntimeException ) m_pImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Required attribute 'image:bitmap-index' must have a value >= 0!" ); + aErrorMessage += "Required attribute 'image:bitmap-index' must have a value >= 0!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } @@ -364,7 +364,7 @@ throw( SAXException, RuntimeException ) m_pImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Required attribute 'image:command' must have a value!" ); + aErrorMessage += "Required attribute 'image:command' must have a value!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } @@ -382,7 +382,7 @@ throw( SAXException, RuntimeException ) m_pImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Element 'image:externalimages' must be embeded into element 'image:imagecontainer'!" ); + aErrorMessage += "Element 'image:externalimages' must be embeded into element 'image:imagecontainer'!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } @@ -393,7 +393,7 @@ throw( SAXException, RuntimeException ) m_pImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Element 'image:externalimages' cannot be embeded into 'image:externalimages'!" ); + aErrorMessage += "Element 'image:externalimages' cannot be embeded into 'image:externalimages'!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } @@ -413,7 +413,7 @@ throw( SAXException, RuntimeException ) m_pExternalImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Element 'image:externalentry' must be embeded into 'image:externalimages'!" ); + aErrorMessage += "Element 'image:externalentry' must be embeded into 'image:externalimages'!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } @@ -425,7 +425,7 @@ throw( SAXException, RuntimeException ) m_pExternalImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Element 'image:externalentry' cannot be embeded into 'image:externalentry'!" ); + aErrorMessage += "Element 'image:externalentry' cannot be embeded into 'image:externalentry'!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } @@ -469,7 +469,7 @@ throw( SAXException, RuntimeException ) m_pExternalImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Required attribute 'image:command' must have a value!" ); + aErrorMessage += "Required attribute 'image:command' must have a value!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } @@ -483,7 +483,7 @@ throw( SAXException, RuntimeException ) m_pExternalImages = NULL; OUString aErrorMessage = getErrorLineString(); - aErrorMessage += OUString( "Required attribute 'xlink:href' must have a value!" ); + aErrorMessage += "Required attribute 'xlink:href' must have a value!"; throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } |