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

Tor Lillqvist tml at iki.fi
Mon May 20 08:10:17 PDT 2013


 filter/source/msfilter/msdffimp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2283f76ec11c6eed757a1f19e033df4adae7dc25
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon May 20 18:09:11 2013 +0300

    WaE: use of unary operator that may be intended as compound assignment
    
    Change-Id: Ib1718e5d3a0f7f1e4d1941674743900be12d4e1f

diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 069b8b3..25942ee 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -2766,7 +2766,7 @@ void DffPropertyReader::ImportGradientColor( SfxItemSet& aSet,MSO_FillType eMSO_
         nChgColors ^= 1;
     else if ( nFocus < 0 )//If it is a negative focus, the color will be swapped
     {
-        nFocus =- nFocus;
+        nFocus = -nFocus;
         nChgColors ^= 1;
     }
 


More information about the Libreoffice-commits mailing list