diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-10 01:31:35 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-10 01:31:58 -0500 |
commit | 5d4e4f30480016bd1ae0d5dcd2f34f3c74d5a172 (patch) | |
tree | 299c396412f376468524c522a84c5abf6bc472f5 /editeng/source | |
parent | 49341001e76389f11bf67d756f4742275bc9dcd9 (diff) |
A little simpler.
Change-Id: I684317003a7afee4154fe39098ced7ba27bdff2f
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/outliner/outlvw.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index 1b94561a35ae..c6add09ddb46 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -1460,10 +1460,7 @@ bool isSingleScriptType( sal_uInt16 nScriptType ) if (nScriptType & SCRIPTTYPE_COMPLEX) ++nScriptCount; - if (!nScriptCount || nScriptCount > 1) - return false; - - return true; + return nScriptCount == 1; } } |