sw/source/core/tox/ToxTextGenerator.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1fd006b020212d8f4743eac105f8d36889a21071
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Aug 16 09:34:40 2016 +0200

    loplugin:stringconstant
    
    Change-Id: I73fae0d8a7859690b5bc2876f544d812c808dc8e

diff --git a/sw/source/core/tox/ToxTextGenerator.cxx 
b/sw/source/core/tox/ToxTextGenerator.cxx
index 5c0514f..7edfa8e 100644
--- a/sw/source/core/tox/ToxTextGenerator.cxx
+++ b/sw/source/core/tox/ToxTextGenerator.cxx
@@ -87,7 +87,7 @@ ToxTextGenerator::GetNumStringOfFirstNode( const 
SwTOXSortTabBase& rBase, bool b
         sRet = pNd->GetNumString(bUsePrefix, nLevel);
     }
 
-    if(sRet != "") {
+    if (!sRet.isEmpty()) {
         sRet += " ";// Makes sure spacing is done only when there is outline 
numbering
     }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to