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

Eike Rathke erack at redhat.com
Fri Apr 4 03:26:55 PDT 2014


 xmloff/source/style/xmlnumfe.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3bc729b4b97ff3df67bb7af541b088f88248a1ec
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Apr 4 12:22:49 2014 +0200

    resolved fdo#76777 now write correct number style condition operator !=
    
    https://gerrit.libreoffice.org/8834 and
    https://gerrit.libreoffice.org/8836 will prepare 4.2.4 and 4.1.6 to
    accept the correct != operator instead of <> that was written so far.
    
    Change-Id: Ib89bbaf096e2d459767c4d05e5bf5151a1120c1a

diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 125035c..0cfb0cd 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -707,7 +707,7 @@ void SvXMLNumFmtExport::WriteMapElement_Impl( sal_Int32 nOp, double fLimit,
         switch ( nOp )
         {
             case NUMBERFORMAT_OP_EQ: aCondStr.append( '=' );  break;
-            case NUMBERFORMAT_OP_NE: aCondStr.appendAscii( "<>" );          break;
+            case NUMBERFORMAT_OP_NE: aCondStr.appendAscii( "!=" );          break;
             case NUMBERFORMAT_OP_LT: aCondStr.append( '<' );  break;
             case NUMBERFORMAT_OP_LE: aCondStr.appendAscii( "<=" );          break;
             case NUMBERFORMAT_OP_GT: aCondStr.append( '>' );  break;


More information about the Libreoffice-commits mailing list