diff options
Diffstat (limited to 'src/textcommand.h')
-rw-r--r-- | src/textcommand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textcommand.h b/src/textcommand.h index b39cafaff..81f91d7d4 100644 --- a/src/textcommand.h +++ b/src/textcommand.h @@ -159,7 +159,7 @@ class TextCommand final { mCommandType = commandType; } bool isEmpty() const A_WARN_UNUSED - { return mCommand == "" && mSymbol == ""; } + { return mCommand.empty() && mSymbol.empty(); } Image *getImage() const A_WARN_UNUSED { return mImage; } |