[Libreoffice-commits] .: sc/source

Caolán McNamara caolan at kemper.freedesktop.org
Sat Mar 5 03:29:17 PST 2011


 sc/source/filter/inc/fapihelper.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 1b692d6327d1c06961408e7ffb86795021988df3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Mar 5 10:53:39 2011 +0000

    work around compiler problem

diff --git a/sc/source/filter/inc/fapihelper.hxx b/sc/source/filter/inc/fapihelper.hxx
index 2fe6c98..a36afca 100644
--- a/sc/source/filter/inc/fapihelper.hxx
+++ b/sc/source/filter/inc/fapihelper.hxx
@@ -323,7 +323,8 @@ bool ScfPropSetHelper::ReadValue( Type& rValue )
 template< typename Type >
 void ScfPropSetHelper::WriteValue( const Type& rValue )
 {
-    if( UnoAny* pAny = GetNextAny() )
+    UnoAny* pAny = GetNextAny();
+    if( pAny )
         *pAny <<= rValue;
 }
 


More information about the Libreoffice-commits mailing list