[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sw/source

Andras Timar andras.timar at collabora.com
Tue Dec 2 03:04:59 PST 2014


 sw/source/filter/html/htmlnumwriter.cxx |   18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

New commits:
commit 37fd0802e73c991a7dcbb101fef9f12a045a5b42
Author: Andras Timar <andras.timar at collabora.com>
Date:   Tue Dec 2 11:54:43 2014 +0100

    fdo#68684 export more numbering types correctly into HTML
    
    Change-Id: I6f1df02764f271143749ffbaeb4fc988b2f72f26
    (cherry picked from commit c3d913724380eb76410dc0c792e9a307bbb24ca7)

diff --git a/sw/source/filter/html/htmlnumwriter.cxx b/sw/source/filter/html/htmlnumwriter.cxx
index 34f4528..de24464 100644
--- a/sw/source/filter/html/htmlnumwriter.cxx
+++ b/sw/source/filter/html/htmlnumwriter.cxx
@@ -228,10 +228,20 @@ Writer& OutHTML_NumBulListStart( SwHTMLWriter& rWrt,
             sal_Char cType = 0;
             switch( eType )
             {
-            case SVX_NUM_CHARS_UPPER_LETTER:    cType = 'A'; break;
-            case SVX_NUM_CHARS_LOWER_LETTER:    cType = 'a'; break;
-            case SVX_NUM_ROMAN_UPPER:           cType = 'I'; break;
-            case SVX_NUM_ROMAN_LOWER:           cType = 'i'; break;
+                case SVX_NUM_CHARS_UPPER_LETTER:
+                case SVX_NUM_CHARS_UPPER_LETTER_N:
+                    cType = 'A';
+                    break;
+                case SVX_NUM_CHARS_LOWER_LETTER:
+                case SVX_NUM_CHARS_LOWER_LETTER_N:
+                    cType = 'a';
+                    break;
+                case SVX_NUM_ROMAN_UPPER:
+                    cType = 'I';
+                    break;
+                case SVX_NUM_ROMAN_LOWER:
+                    cType = 'i';
+                    break;
             }
             if( cType )
             {


More information about the Libreoffice-commits mailing list