From dc04d67e94d9302278fc049d6617b62fe461ac66 Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Sat, 14 Jan 2012 12:10:39 -0200 Subject: Fix for fdo43460 Part XXXVIII getLength() to isEmpty() Part XXXVIII Modules svx --- svx/source/form/fmscriptingenv.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/form/fmscriptingenv.cxx') diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index 0b47c5c22f61..d604cb22bc4e 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -476,7 +476,7 @@ namespace svxform sScriptCode = sScriptCode.copy( nPrefixLen + 1 ); } - if ( !sMacroLocation.getLength() ) + if ( sMacroLocation.isEmpty() ) { // legacy format: use the app-wide Basic, if it has a respective method, otherwise fall back to the doc's Basic if ( SFX_APP()->GetBasicManager()->HasMacro( sScriptCode ) ) -- cgit