summaryrefslogtreecommitdiff
path: root/cpputools/source/regsingleton/regsingleton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cpputools/source/regsingleton/regsingleton.cxx')
-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())