diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-06-17 17:29:32 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-06-17 19:34:45 +0000 |
commit | 2f731e7a19f2c36da64b9631cf4f2de0f6d2a86e (patch) | |
tree | d13af7ddef0f2c3ed7b24ce5d00d9dd3f4e1ffc1 /starmath/inc | |
parent | 97460c421abec14150c4ddde27daeef892c86b16 (diff) |
fdo#43460 startmath,codemaker: use isEmpty()
Change-Id: I55d3f4546f40a321ebf4b08db33536592f451944
Reviewed-on: https://gerrit.libreoffice.org/4318
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/visitors.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index d864c458cff6..ef217632c94c 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -477,7 +477,7 @@ private: } /** Append a blank for separation, if needed */ inline void Separate( ){ - if( !aCmdText.getLength() || aCmdText[ aCmdText.getLength() - 1 ] != ' ' ) + if( aCmdText.isEmpty() || aCmdText[ aCmdText.getLength() - 1 ] != ' ' ) aCmdText.append(' '); } /** Output text generated from the pNodes */ |