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

Norbert Thiebaud nthiebaud at gmail.com
Sun Jun 30 00:22:05 PDT 2013


 tools/source/stream/stream.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit ea862e1ed0237103e7ae6eea36897ddb82b1dcbc
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Jun 30 02:21:31 2013 -0500

    WaE clang unhappy with an ambiguous if/else
    
    Change-Id: I1e419793454ad5401a2d55a2c709bab08f4cf053

diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 6f350ab..ede47ed 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1185,8 +1185,9 @@ SvStream& SvStream::operator<< ( const double& r )
     }
     else
 #endif
-    WRITENUMBER_WITHOUT_SWAP(double,r)
-
+    {
+        WRITENUMBER_WITHOUT_SWAP(double,r);
+    }
     return *this;
 }
 


More information about the Libreoffice-commits mailing list