[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Thu Feb 2 09:39:32 UTC 2017
sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 20eeed7afcfa6915a71bb943d84d1ee9f1d9c7b7
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Feb 2 10:37:56 2017 +0100
...or rather, fix ScChangeTrackingExportHelper::GetChangeID properly
...after 1461ebbbb5d47d90e31f0945a4878a68fbee5213 "expand out
::sax::Converter::convertNumber to OUString::number"
Change-Id: I62b9cbb83b1d4be2b2e97d3c938eb7a8ee46bc85
diff --git a/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
index 6fb391b..806edbd 100644
--- a/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
+++ b/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
@@ -38,6 +38,8 @@
#include <svl/zforlist.hxx>
#include <svl/sharedstring.hxx>
+#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)
More information about the Libreoffice-commits
mailing list