diff options
-rw-r--r-- | sd/source/filter/html/htmlex.cxx | 9 |
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; } } |