summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-10 16:53:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-10 17:25:22 +0200
commit2f8fd888b42dc41662b54a16d62575c2b15e844a (patch)
treea3c2aa8acd943dd25aecb984e0a47185b8feb52c
parente8e22fcefd569bdf6c3fbe67bb64206e67c3e6b7 (diff)
-Werror,-Wundefined-bool-conversion
Change-Id: I13f415f1870d385433c4b9e287c2f5bae170c8ee
-rw-r--r--sd/source/filter/html/htmlex.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 876818648316..7876218c5ee3 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -2254,12 +2254,9 @@ OUString HtmlExport::getDocumentTitle()
{
const EditTextObject& rEditTextObject =
pParaObject->GetTextObject();
- if (&rEditTextObject)
- {
- OUString aTest(rEditTextObject.GetText(0));
- if (!aTest.isEmpty())
- mDocTitle = aTest;
- }
+ OUString aTest(rEditTextObject.GetText(0));
+ if (!aTest.isEmpty())
+ mDocTitle = aTest;
}
}