summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/fapihelper.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-05 10:53:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-05 10:53:39 +0000
commit8dd04b2bdc9a1ea40d24d007f90acfdd319cbad1 (patch)
treebb2b794dfc0718d39077d5076ec1b34a7db0c298 /sc/source/filter/inc/fapihelper.hxx
parent26524ba0d12250a9487b68a03e0aea188c67dbcc (diff)
work around compiler problem
Diffstat (limited to 'sc/source/filter/inc/fapihelper.hxx')
-rw-r--r--sc/source/filter/inc/fapihelper.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/inc/fapihelper.hxx b/sc/source/filter/inc/fapihelper.hxx
index 31ac93ad934a..9f091bb7c6cd 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;
}