summaryrefslogtreecommitdiffstats
path: root/cpputools/source/regsingleton
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-15 17:29:53 -0200
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-17 17:15:53 +0400
commit1b99d8800e399f45404ab62827163a873d2a1aec (patch)
tree647c91cd0af1e671e490d369bba8d8a2efde46da /cpputools/source/regsingleton
parentfix decoration drawing (diff)
downloadcore-1b99d8800e399f45404ab62827163a873d2a1aec.tar.gz
core-1b99d8800e399f45404ab62827163a873d2a1aec.zip
Fix for fdo43460 Part X getLength() to isEmpty()
Part X Module cppu cppuhelper cpputools
Diffstat (limited to 'cpputools/source/regsingleton')
-rw-r--r--cpputools/source/regsingleton/regsingleton.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpputools/source/regsingleton/regsingleton.cxx b/cpputools/source/regsingleton/regsingleton.cxx
index 05fc7dafe67a..da6258f106a9 100644
--- a/cpputools/source/regsingleton/regsingleton.cxx
+++ b/cpputools/source/regsingleton/regsingleton.cxx
@@ -128,7 +128,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
if (insert_entry)
{
- if (service.getLength())
+ if (!service.isEmpty())
{
Reference< registry::XRegistryKey > xEntry( xKey->openKey( singleton ) );
if (! xEntry.is())