From 5d4e4f30480016bd1ae0d5dcd2f34f3c74d5a172 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 10 Feb 2014 01:31:35 -0500 Subject: A little simpler. Change-Id: I684317003a7afee4154fe39098ced7ba27bdff2f --- editeng/source/outliner/outlvw.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'editeng') 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; } } -- cgit