diff options
-rw-r--r-- | stoc/source/security/permissions.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx index a865d475042d..7e98f96cfd11 100644 --- a/stoc/source/security/permissions.cxx +++ b/stoc/source/security/permissions.cxx @@ -87,7 +87,7 @@ static inline OUString makeStrings( if (0x80000000 & mask) { buf.appendAscii( *strings ); - if (mask << 1) // more items following + if ((mask << 1) != 0) // more items following buf.append( ',' ); } mask = (mask << 1); |