diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-09-25 11:38:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-09-25 13:14:46 +0100 |
commit | f6a6f240711d39df9669086453cb3bce34c93cab (patch) | |
tree | 995129c5add8221e3283388118a9ef88f05d946a | |
parent | 83636d2c09802aeeb1b30078022d228d04da21eb (diff) |
coverity#1240270 Copy-paste error
regression from
commit 03fe839d6e76ed8b1dfb65093ab59a8904852ff6
Date: Sat Sep 20 15:41:13 2014 +0200
html export: rework image output to use HTML writer
Change-Id: If50d4e3cc2d19ea35d41e848cb5b9f92f356bc59
-rw-r--r-- | sw/source/filter/html/htmlflywriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmlflywriter.cxx b/sw/source/filter/html/htmlflywriter.cxx index 94b51188be83..6a0d313b6316 100644 --- a/sw/source/filter/html/htmlflywriter.cxx +++ b/sw/source/filter/html/htmlflywriter.cxx @@ -988,7 +988,7 @@ void SwHTMLWriter::writeFrameFormatOptions(HtmlWriter& aHtml, const SwFrmFmt& rF ((nPrcHeight && nPrcHeight!=255) || aPixelSz.Height()) ) { OString sHeight; - if (nPrcWidth) + if (nPrcHeight) sHeight = OString::number(static_cast<sal_Int32>(nPrcHeight)) + "%"; else sHeight = OString::number(static_cast<sal_Int32>(aPixelSz.Height())); |