summaryrefslogtreecommitdiff
path: root/cui/source/options/optupdt.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-18 17:11:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-19 07:05:42 +0100
commitc7fa3b1da45f1af95962f504f36695b656f38f4b (patch)
tree5d3aeccd61046af1382f53a51b35f3cacdc4bcaf /cui/source/options/optupdt.cxx
parent06942d373560cd84246df03a404cebfba4f7d28f (diff)
don't delete out param from GetOutputString
we don't own this memory, belongs to svl module Change-Id: Ief12408e4254ab3fc2069a8490ecf062a728b3d3 Reviewed-on: https://gerrit.libreoffice.org/65349 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/optupdt.cxx')
-rw-r--r--cui/source/options/optupdt.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/cui/source/options/optupdt.cxx b/cui/source/options/optupdt.cxx
index a42f9050220a..281250a8bf6b 100644
--- a/cui/source/options/optupdt.cxx
+++ b/cui/source/options/optupdt.cxx
@@ -152,7 +152,6 @@ void SvxOnlineUpdateTabPage::UpdateLastCheckedText()
nFormat = pNumberFormatter->GetStandardFormat( SvNumFormatType::TIME, eUILang );
pNumberFormatter->GetOutputString( aTime.GetTimeInDays(), nFormat, aTimeStr, &pColor );
- delete pColor;
delete pNumberFormatter;
aText = m_aLastCheckedTemplate;