summaryrefslogtreecommitdiff
path: root/framework/source/xml
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-16 09:58:03 +0200
committerNoel Grandin <noel@peralex.com>2013-09-17 09:05:49 +0200
commite8ecf30ea61625c3397a635c5c409bbc004685bc (patch)
tree36052ce7f57e3c39f5c96f9aaeaaf6cc469290ea /framework/source/xml
parent1591130dc2b62e5fdec45274b1b06d63df0051b3 (diff)
convert FRAMEWORK module from String to OUString
Change-Id: Iafa6b5f213d37093e7e46065c9264c7bb7fae377
Diffstat (limited to 'framework/source/xml')
-rw-r--r--framework/source/xml/imagesdocumenthandler.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx
index aae448ff8e31..2280126b22ee 100644
--- a/framework/source/xml/imagesdocumenthandler.cxx
+++ b/framework/source/xml/imagesdocumenthandler.cxx
@@ -283,7 +283,7 @@ throw( SAXException, RuntimeException )
}
} // for
- if ( m_pImages->aURL.Len() == 0 )
+ if ( m_pImages->aURL.isEmpty() )
{
delete m_pImages;
m_pImages = NULL;
@@ -356,7 +356,7 @@ throw( SAXException, RuntimeException )
}
// Check required attribute "command"
- if ( pItem->aCommandURL.Len() == 0 )
+ if ( pItem->aCommandURL.isEmpty() )
{
delete pItem;
delete m_pImages;
@@ -459,7 +459,7 @@ throw( SAXException, RuntimeException )
}
// Check required attribute "command"
- if ( pItem->aCommandURL.Len() == 0 )
+ if ( pItem->aCommandURL.isEmpty() )
{
delete pItem;
delete m_pImages;
@@ -473,7 +473,7 @@ throw( SAXException, RuntimeException )
}
// Check required attribute "href"
- if ( pItem->aURL.Len() == 0 )
+ if ( pItem->aURL.isEmpty() )
{
delete pItem;
delete m_pImages;
@@ -704,7 +704,7 @@ void OWriteImagesDocumentHandler::WriteImageList( const ImageListItemDescriptor*
m_aAttributeType,
pImageList->aMaskURL );
- if ( pImageList->aHighContrastMaskURL.Len() > 0 )
+ if ( !pImageList->aHighContrastMaskURL.isEmpty() )
{
pList->AddAttribute( m_aXMLImageNS + OUString( ATTRIBUTE_HIGHCONTRASTMASKURL ),
m_aAttributeType,
@@ -728,7 +728,7 @@ void OWriteImagesDocumentHandler::WriteImageList( const ImageListItemDescriptor*
OUString( ATTRIBUTE_MASKMODE_COLOR ) );
}
- if ( pImageList->aHighContrastURL.Len() > 0 )
+ if ( !pImageList->aHighContrastURL.isEmpty() )
{
pList->AddAttribute( m_aXMLImageNS + OUString( ATTRIBUTE_HIGHCONTRASTURL ),
m_aAttributeType,
@@ -798,14 +798,14 @@ void OWriteImagesDocumentHandler::WriteExternalImage( const ExternalImageItemDes
m_aAttributeType,
m_aAttributeValueSimple );
- if ( pExternalImage->aURL.Len() > 0 )
+ if ( !pExternalImage->aURL.isEmpty() )
{
pList->AddAttribute( m_aXMLXlinkNS + OUString( ATTRIBUTE_HREF ),
m_aAttributeType,
pExternalImage->aURL );
}
- if ( pExternalImage->aCommandURL.Len() > 0 )
+ if ( !pExternalImage->aCommandURL.isEmpty() )
{
pList->AddAttribute( m_aXMLImageNS + OUString( ATTRIBUTE_COMMAND ),
m_aAttributeType,