[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Thu Feb 2 09:52:25 UTC 2017


 sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 37b7a86510d59802e06f07a4f9cc8032c3375dce
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 2 10:51:46 2017 +0100

    Expand macro in its single place of use
    
    Change-Id: Ib959c35f6d9da3ad4eeaf0d52a9e6d43642d2282

diff --git a/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
index 806edbd..a9d7230 100644
--- a/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
+++ b/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
@@ -38,8 +38,6 @@
 #include <svl/zforlist.hxx>
 #include <svl/sharedstring.hxx>
 
-#define SC_CHANGE_ID_PREFIX "ct"
-
 using namespace ::com::sun::star;
 using namespace xmloff::token;
 
@@ -59,7 +57,7 @@ ScChangeTrackingExportHelper::~ScChangeTrackingExportHelper()
 
 OUString ScChangeTrackingExportHelper::GetChangeID(const sal_uInt32 nActionNumber)
 {
-    return SC_CHANGE_ID_PREFIX + OUString::number(nActionNumber);
+    return "ct" + OUString::number(nActionNumber);
 }
 
 void ScChangeTrackingExportHelper::GetAcceptanceState(const ScChangeAction* pAction)


More information about the Libreoffice-commits mailing list