From 20eeed7afcfa6915a71bb943d84d1ee9f1d9c7b7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 2 Feb 2017 10:37:56 +0100 Subject: [PATCH] ...or rather, fix ScChangeTrackingExportHelper::GetChangeID properly ...after 1461ebbbb5d47d90e31f0945a4878a68fbee5213 "expand out ::sax::Converter::convertNumber to OUString::number" Change-Id: I62b9cbb83b1d4be2b2e97d3c938eb7a8ee46bc85 --- sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx index 6fb391bcf2a9..806edbd640ed 100644 --- a/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx +++ b/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx @@ -38,6 +38,8 @@ #include #include +#define SC_CHANGE_ID_PREFIX "ct" + using namespace ::com::sun::star; using namespace xmloff::token; @@ -57,7 +59,7 @@ ScChangeTrackingExportHelper::~ScChangeTrackingExportHelper() OUString ScChangeTrackingExportHelper::GetChangeID(const sal_uInt32 nActionNumber) { - return OUString::number(nActionNumber); + return SC_CHANGE_ID_PREFIX + OUString::number(nActionNumber); } void ScChangeTrackingExportHelper::GetAcceptanceState(const ScChangeAction* pAction)