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

Tor Lillqvist tml at collabora.com
Tue Feb 25 22:44:59 PST 2014


 sw/source/filter/html/css1atr.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 1f00b24c1ab985877b48a5c634aa26ae6412cd6a
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Feb 26 08:41:18 2014 +0200

    WaE: implicit conversion of literal of type 'const char *' to 'bool'
    
    Fixed the fairly obvious (?) mistake. Thanks again to our Clang plugin and
    sberg.
    
    Change-Id: I7b7ab4b6fcb99b93305c7e8872810a6096c8b720

diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 972152d..4e6a324 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -692,7 +692,8 @@ sal_uInt16 SwHTMLWriter::GetCSS1Selector( const SwFmt *pFmt, OString& rToken,
                 rRefPoolId = RES_POOLCHR_HTML_DEFINSTANCE;
                 rToken = OString(OOO_STRING_SVTOOLS_HTML_definstance);
             }
-            else if (!bChrFmt && (aNm == OOO_STRING_SVTOOLS_HTML_dd || OOO_STRING_SVTOOLS_HTML_dt))
+            else if (!bChrFmt && (aNm == OOO_STRING_SVTOOLS_HTML_dd ||
+                                  aNm == OOO_STRING_SVTOOLS_HTML_dt))
             {
                 sal_uInt16 nDefListLvl = GetDefListLvl(aNm, nPoolId);
                 // Die Vorlagen DD 1/DT 1 werden ausgegeben,


More information about the Libreoffice-commits mailing list