summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/sdxmlimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/sdxmlimp.cxx')
-rw-r--r--xmloff/source/draw/sdxmlimp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx
index c39d3eef80a1..63d113a2d294 100644
--- a/xmloff/source/draw/sdxmlimp.cxx
+++ b/xmloff/source/draw/sdxmlimp.cxx
@@ -874,19 +874,19 @@ void SdXMLImport::SetViewSettings(const com::sun::star::uno::Sequence<com::sun::
const OUString& rName = pValues->Name;
const uno::Any rValue = pValues->Value;
- if( rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("VisibleAreaTop") ) )
+ if ( rName == "VisibleAreaTop" )
{
rValue >>= aVisArea.Y;
}
- else if( rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("VisibleAreaLeft") ) )
+ else if ( rName == "VisibleAreaLeft" )
{
rValue >>= aVisArea.X;
}
- else if( rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("VisibleAreaWidth") ) )
+ else if ( rName == "VisibleAreaWidth" )
{
rValue >>= aVisArea.Width;
}
- else if( rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("VisibleAreaHeight") ) )
+ else if ( rName == "VisibleAreaHeight" )
{
rValue >>= aVisArea.Height;
}