summaryrefslogtreecommitdiffstats
path: root/forms/source/xforms/model.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/model.cxx')
-rw-r--r--forms/source/xforms/model.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx
index 02b47256c341..91863d357877 100644
--- a/forms/source/xforms/model.cxx
+++ b/forms/source/xforms/model.cxx
@@ -402,7 +402,7 @@ void Model::loadInstance( sal_Int32 nInstance )
getInstanceData( aSequence, NULL, NULL, &sURL, &bOnce );
// if we have a URL, load the document and set it into the instance
- if( sURL.getLength() > 0 )
+ if( !sURL.isEmpty() )
{
try
{