diff options
author | Gustavo Buzzatti Pacheco <gbpacheco@gmail.com> | 2012-01-04 11:38:41 -0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-01-05 15:07:34 +0100 |
commit | c47f3523338b8e58c1ea18cc583064761f60df90 (patch) | |
tree | b4fa717b768e4445e66a9345119103689f4fdd57 /jvmfwk/source/framework.cxx | |
parent | 77d05dfa5ba3f81844b093808246d60504cfabda (diff) |
Fix for fdo43460 Part XXII getLength() to isEmpty()
Part XXII
modules
jvmfwk, l10ntools, lingucomponent
Diffstat (limited to 'jvmfwk/source/framework.cxx')
-rw-r--r-- | jvmfwk/source/framework.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx index 99f543f90b06..0fc3b5ae3697 100644 --- a/jvmfwk/source/framework.cxx +++ b/jvmfwk/source/framework.cxx @@ -510,7 +510,7 @@ javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo **pInfo) JavaInfo* pJInfo = arInfos[ii]; //We remember the very first installation in aCurrentInfo - if (aCurrentInfo.getLocation().getLength() == 0) + if (aCurrentInfo.getLocation().isEmpty()) aCurrentInfo = pJInfo; // compare features // If the user does not require any features (nFeatureFlags = 0) @@ -588,7 +588,7 @@ javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo **pInfo) if (aInfo) { //We remember the very first installation in aCurrentInfo - if (aCurrentInfo.getLocation().getLength() == 0) + if (aCurrentInfo.getLocation().isEmpty()) aCurrentInfo = aInfo; // compare features // If the user does not require any features (nFeatureFlags = 0) |