summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2001-10-25 16:55:17 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2001-10-25 16:55:17 +0000
commit3d96af71a4f33f8f03f8a83c185d334b75bfca82 (patch)
treecb5eeeffb70ae97480c0c4ef79bcfc983d664347 /forms
parent662a712cbd46e233944b2e623dfa92cd77871bfc (diff)
#92924# gcc-3.0.1 needs lvalue
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Grid.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx
index c20a4d003d7b..cb75c0a92398 100644
--- a/forms/source/component/Grid.cxx
+++ b/forms/source/component/Grid.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Grid.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: fs $ $Date: 2001-10-16 16:19:01 $
+ * last change: $Author: hr $ $Date: 2001-10-25 17:55:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -652,7 +652,10 @@ sal_Bool OGridControlModel::convertFastPropertyValue( Any& rConvertedValue, Any&
bModified = tryPropertyValue(rConvertedValue, rOldValue, rValue, m_aBackgroundColor, ::getCppuType((const sal_Int32*)NULL));
break;
case PROPERTY_ID_FONT:
- bModified = tryPropertyValue(rConvertedValue, rOldValue, rValue, makeAny(m_aFont), ::getCppuType((const FontDescriptor*)NULL));
+ {
+ com::sun::star::uno::Any aAny(makeAny(m_aFont));
+ bModified = tryPropertyValue(rConvertedValue, rOldValue, rValue, aAny, ::getCppuType((const FontDescriptor*)NULL));
+ }
break;
case PROPERTY_ID_ROWHEIGHT:
bModified = tryPropertyValue(rConvertedValue, rOldValue, rValue, m_aRowHeight, ::getCppuType((const sal_Int32*)NULL));