editeng/source/outliner/outlvw.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 5d4e4f30480016bd1ae0d5dcd2f34f3c74d5a172 Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Mon Feb 10 01:31:35 2014 -0500 A little simpler. Change-Id: I684317003a7afee4154fe39098ced7ba27bdff2f diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index 1b94561..c6add09 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; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits