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

Noel Grandin noel.grandin at collabora.co.uk
Thu Aug 3 11:12:54 UTC 2017


 sw/source/filter/ww8/wrtww8.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 70d0425dd4fffd51170ccf0ca12a28870b0b7b1a
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Thu Aug 3 11:11:51 2017 +0200

    rename ANZ_DEFAULT_STYLES->DEFAULT_STYLES_COUNT
    
    Change-Id: Ie601b0bac8d9e954760fd022d2f4312c3a127b6c
    Reviewed-on: https://gerrit.libreoffice.org/40704
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index f014dfe59ebd..f32cfeffc0ca 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -442,7 +442,7 @@ void WW8_WrtFactoids::Write(WW8Export& rExport)
     rExport.pFib->m_lcbFactoidData = rStream.Tell() - rExport.pFib->m_fcFactoidData;
 }
 
-#define ANZ_DEFAULT_STYLES 16
+#define DEFAULT_STYLES_COUNT 16
 
 // Names of the storage streams
 #define sMainStream OUString("WordDocument")
@@ -3077,7 +3077,7 @@ namespace
 
 void MSWordExportBase::ExportDocument( bool bWriteAll )
 {
-    m_nCharFormatStart = ANZ_DEFAULT_STYLES;
+    m_nCharFormatStart = DEFAULT_STYLES_COUNT;
     m_nFormatCollStart = m_nCharFormatStart + m_pDoc->GetCharFormats()->size() - 1;
 
     m_bStyDef = m_bBreakBefore = m_bOutKF =


More information about the Libreoffice-commits mailing list