[Libreoffice-commits] .: tools/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Mon Oct 31 17:00:56 PDT 2011


 tools/source/stream/stream.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 125aa32e71eb9a8de6214a7f7bc3e3be13b14a7a
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Tue Nov 1 00:51:46 2011 +0100

    we need to assign this value also for non unix platforms (fdo#40801)

diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 34dc93d..2b9295b 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1308,10 +1308,8 @@ SvStream& SvStream::operator>>(double& r)
 #if defined UNX
         if (bSwap)
           SwapDouble(n);
-        r = n;
-#else
-    (void) r;
 #endif
+        r = n;
     }
     return *this;
 }


More information about the Libreoffice-commits mailing list