Kaydet (Commit) 6fac2b8d authored tarafından Julien Nabet's avatar Julien Nabet

Copy and replace return values must be used

Change-Id: I454a7878d56213b99f240f9912bdc9453e7dfe40
üst 69aadd51
...@@ -2143,7 +2143,7 @@ OUString HtmlExport::getDocumentTitle() ...@@ -2143,7 +2143,7 @@ OUString HtmlExport::getDocumentTitle()
} }
} }
mDocTitle.replace(0xff, ' '); mDocTitle = mDocTitle.replace(0xff, ' ');
} }
if (mDocTitle.isEmpty()) if (mDocTitle.isEmpty())
...@@ -2151,7 +2151,7 @@ OUString HtmlExport::getDocumentTitle() ...@@ -2151,7 +2151,7 @@ OUString HtmlExport::getDocumentTitle()
mDocTitle = maDocFileName; mDocTitle = maDocFileName;
sal_Int32 nDot = mDocTitle.indexOf('.'); sal_Int32 nDot = mDocTitle.indexOf('.');
if (nDot > 0) if (nDot > 0)
mDocTitle.copy(0, nDot); mDocTitle = mDocTitle.copy(0, nDot);
} }
mbHeader = true; mbHeader = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment