summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/ximpshap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/ximpshap.cxx')
-rw-r--r--xmloff/source/draw/ximpshap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 9f67a8225821..43ca70cb59ed 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -2867,7 +2867,7 @@ void SdXMLAppletShapeContext::EndElement()
xProps->setPropertyValue("VisibleArea", Any(aRect) );
}
- if( maParams.getLength() )
+ if( maParams.hasElements() )
{
xProps->setPropertyValue("AppletCommands", Any(maParams) );
}
@@ -3083,7 +3083,7 @@ void SdXMLPluginShapeContext::EndElement()
if( !mbMedia )
{
// in case we have a plugin object
- if( maParams.getLength() )
+ if( maParams.hasElements() )
{
xProps->setPropertyValue("PluginCommands", Any(maParams) );
}