summaryrefslogtreecommitdiffstats
path: root/forms/source/component/formcontrolfont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/formcontrolfont.cxx')
-rw-r--r--forms/source/component/formcontrolfont.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/formcontrolfont.cxx b/forms/source/component/formcontrolfont.cxx
index 96be7f44c642..bbb15303b4f1 100644
--- a/forms/source/component/formcontrolfont.cxx
+++ b/forms/source/component/formcontrolfont.cxx
@@ -276,7 +276,7 @@ namespace frm
case PROPERTY_ID_FONT:
{
- Any aWorkAroundGccLimitation = makeAny( m_aFont );
+ Any aWorkAroundGccLimitation( m_aFont );
bModified = tryPropertyValue( _rConvertedValue, _rOldValue, _rValue, aWorkAroundGccLimitation, cppu::UnoType<decltype(m_aFont)>::get() );
}
break;
@@ -450,7 +450,7 @@ namespace frm
// then set that as the actual property - will eventually call
// this method recursively again...
- (rBase.*pSet)(PROPERTY_ID_FONT, makeAny(font));
+ (rBase.*pSet)(PROPERTY_ID_FONT, Any(font));
#ifndef NDEBUG
// verify that the nHandle property has the new value
Any tmp;
@@ -520,7 +520,7 @@ namespace frm
{
EmptyFontDescriptor aEmpty;
if ( PROPERTY_ID_FONT == _nHandle )
- return makeAny( FontDescriptor(aEmpty) );
+ return Any( FontDescriptor(aEmpty) );
return lcl_extractFontDescriptorAggregate( _nHandle, aEmpty );
}