summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/searchopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/searchopt.cxx b/unotools/source/config/searchopt.cxx
index 0fc7c168a569..23a2ae93358f 100644
--- a/unotools/source/config/searchopt.cxx
+++ b/unotools/source/config/searchopt.cxx
@@ -240,7 +240,7 @@ bool SvtSearchOptions_Impl::Save()
DBG_ASSERT( nProps == MAX_FLAGS_OFFSET + 1,
"unexpected size of index" );
- if (nProps && nProps == MAX_FLAGS_OFFSET + 1)
+ if (nProps == MAX_FLAGS_OFFSET + 1)
{
for (sal_Int32 i = 0; i < nProps; ++i)
pValue[i] <<= GetFlag(i);