summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-20 16:18:39 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-20 16:18:39 +0300
commit711752a98a373778aca8044406d6f08ebd2aeb9a (patch)
tree05f54bd4d2f0ee45c0c92e847a5c73435429751d
parent0212c7195918675b763cb8f02cee646f78497589 (diff)
WaE: rewrite as call of rtl::OUString::isEmpty
Change-Id: I7c172d26707d08a438be059648f64b5b5959bacc
-rw-r--r--editeng/source/outliner/overflowingtxt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/outliner/overflowingtxt.cxx b/editeng/source/outliner/overflowingtxt.cxx
index 2b5b13a07583..6f2967c3c87e 100644
--- a/editeng/source/outliner/overflowingtxt.cxx
+++ b/editeng/source/outliner/overflowingtxt.cxx
@@ -46,7 +46,7 @@ OutlinerParaObject *TextChainingUtils::JuxtaposeParaObject(
// Special case: if only empty text remove it at the end
bool bOnlyOneEmptyPara = !pNextPObj ||
(pOutl->GetParagraphCount() == 1 &&
- pNextPObj->GetTextObject().GetText(0) == "");
+ pNextPObj->GetTextObject().GetText(0).isEmpty());
EditEngine &rEditEngine = const_cast<EditEngine &>(pOutl->GetEditEngine());