summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2001-05-04 10:18:03 +0000
committerArmin Weiss <aw@openoffice.org>2001-05-04 10:18:03 +0000
commitbddd4f969e81fb1c1c8ce9656560c232cab1b72c (patch)
tree636a783ea0559ec9813baf9308e5c52802a70313 /xmloff/source
parentbc907bbb3298cc751e1ff47fcdfcbb3b28048490 (diff)
Replaced some if's with else_if's
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/draw/layerimp.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx
index 923675be140e..fb317dab98ad 100644
--- a/xmloff/source/draw/layerimp.cxx
+++ b/xmloff/source/draw/layerimp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: layerimp.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: sab $ $Date: 2001-03-16 14:35:56 $
+ * last change: $Author: aw $ $Date: 2001-05-04 11:18:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -155,15 +155,15 @@ SvXMLImportContext * SdXMLLayerSetContext::CreateChildContext( USHORT nPrefix, c
{
aName = sValue;
}
- if( aLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_locked ) ) )
+ else if( aLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_locked ) ) )
{
bIsLocked = sValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_true ) );
}
- if( aLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_printable ) ) )
+ else if( aLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_printable ) ) )
{
bIsPrintable = sValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_true ) );
}
- if( aLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_visible ) ) )
+ else if( aLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_visible ) ) )
{
bIsVisible = sValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_true ) );
}