summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpdocdata.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-03 09:52:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-06 07:13:42 +0100
commit0d50804e1c0c0ea2a5cd73fa3fa2a9ff0a0e7048 (patch)
treeab861bba797a4610ffd5b482cc8fa4c4d5b59c35 /lotuswordpro/source/filter/lwpdocdata.cxx
parent26e8b589b3f7716a80df7f3a9273e4967d9b0991 (diff)
loplugin:constparams in various(2)
Change-Id: I533a7eb724b15e168a28dc92cd5962a39bc96e7c Reviewed-on: https://gerrit.libreoffice.org/44313 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/lwpdocdata.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpdocdata.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpdocdata.cxx b/lotuswordpro/source/filter/lwpdocdata.cxx
index 6fdd64c131ca..55d43f0e016b 100644
--- a/lotuswordpro/source/filter/lwpdocdata.cxx
+++ b/lotuswordpro/source/filter/lwpdocdata.cxx
@@ -293,14 +293,14 @@ void LwpDocData::Read()
pGlobal->SetEditorAttrMap(nID, xEditorAttr.release());
}
}
-OUString LwpDocData::DateTimeToOUString(LtTm& dt)
+OUString LwpDocData::DateTimeToOUString(LtTm const & dt)
{
OUString aResult = OUString::number(dt.tm_year) + "-" + OUString::number(dt.tm_mon) + "-" + OUString::number(dt.tm_mday) +
"T" + OUString::number(dt.tm_hour) + ":" + OUString::number(dt.tm_min) + ":" + OUString::number(dt.tm_sec) + ".0";
return aResult;
}
-OUString LwpDocData::TimeToOUString(LtTm& dt)
+OUString LwpDocData::TimeToOUString(LtTm const & dt)
{
//PT3H43M44S
OUString aResult = "PT" + OUString::number(dt.tm_hour) + "H" + OUString::number(dt.tm_min) + "M" + OUString::number(dt.tm_sec) + "S";