diff options
Diffstat (limited to 'vcl/source/helper/smartid.cxx')
-rw-r--r-- | vcl/source/helper/smartid.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/helper/smartid.cxx b/vcl/source/helper/smartid.cxx index 41a4cbe814ea..d96539494906 100644 --- a/vcl/source/helper/smartid.cxx +++ b/vcl/source/helper/smartid.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -227,7 +227,7 @@ BOOL SmartId::Matches( const SmartId &rId ) const return FALSE; else if ( HasString() && rId.HasString() ) return Matches( rId.GetStr() ); - else + else return rId.HasNumeric() && Matches( rId.GetNum() ); } @@ -240,7 +240,7 @@ BOOL SmartId::Equals( const SmartId &rId ) const && mpData->bHasNumericId == rId.mpData->bHasNumericId; else if ( !mpData && !rId.mpData ) return TRUE; - else + else return FALSE; } |