[PATCH] Do not rename "Default" style to "Normal" in doc/docx output...

Luke Deller (via Code Review) gerrit at gerrit.libreoffice.org
Thu Apr 18 03:49:22 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3451

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/51/3451/1

Do not rename "Default" style to "Normal" in doc/docx output (fixes fdo#63603)

The LO default style is named "Default Style" now anyway, so this
rename no longer achieves its original purpose.

Change-Id: I0d27b379f9727162f8a2febac77e7ce017ac377a
---
M sw/source/filter/ww8/wrtw8sty.cxx
1 file changed, 0 insertions(+), 2 deletions(-)



diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index f8493cf..e7bea13 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -526,8 +526,6 @@
         GetStyleData( pFmt, bFmtColl, nBase, nWwNext );
 
         String aName = pFmt->GetName();
-        if ( aName.EqualsAscii( "Default" ) )
-            aName = OUString("Normal");
 
         m_rExport.AttrOutput().StartStyle( aName, bFmtColl,
                 nBase, nWwNext, GetWWId( *pFmt ), nPos,

-- 
To view, visit https://gerrit.libreoffice.org/3451
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0d27b379f9727162f8a2febac77e7ce017ac377a
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Luke Deller <luke at deller.id.au>



More information about the LibreOffice mailing list