diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-04-14 12:19:04 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-04-14 06:20:15 +0200 |
commit | 222cf76001d835961537214eba38037ef40a8aa0 (patch) | |
tree | f947474d33c391b780877a1f0829cf487a512033 /starmath/inc | |
parent | b7b159d79c2b4ec53915e0b9c3e28912c289a5ba (diff) |
starmath: size() > 0 -> !empty()
Change-Id: Id7c73870f58ebf04c2703cdf8b3d0ffe258b2c0d
Reviewed-on: https://gerrit.libreoffice.org/36545
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/cursor.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx index 39502ff9dfc5..c499b2a1de7d 100644 --- a/starmath/inc/cursor.hxx +++ b/starmath/inc/cursor.hxx @@ -410,7 +410,7 @@ private: SmNodeList* pList; /** Get the current terminal */ SmNode* Terminal(){ - if(pList->size() > 0) + if (!pList->empty()) return pList->front(); return nullptr; } |