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

Andras Timar andras.timar at collabora.com
Tue Dec 2 06:02:09 PST 2014


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

New commits:
commit c5c820c4312a200847cb152bc25edc95708e6a5a
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)
    Reviewed-on: https://gerrit.libreoffice.org/13266
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/filter/html/htmlnumwriter.cxx b/sw/source/filter/html/htmlnumwriter.cxx
index 8296f8d..6da50de 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