diff options
Diffstat (limited to 'svx/source/tbxctrls/grafctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/grafctrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx index 1f6da2730181..9a8e4e419ab5 100644 --- a/svx/source/tbxctrls/grafctrl.cxx +++ b/svx/source/tbxctrls/grafctrl.cxx @@ -141,10 +141,10 @@ IMPL_LINK_NOARG(ImplGrafMetricField, ImplModifyHdl, Timer *, void) maCommand == ".uno:GrafBlue" || maCommand == ".uno:GrafLuminance" || maCommand == ".uno:GrafContrast" ) - a = makeAny( sal_Int16( nVal )); + a <<= sal_Int16( nVal ); else if ( maCommand == ".uno:GrafGamma" || maCommand == ".uno:GrafTransparence" ) - a = makeAny( sal_Int32( nVal )); + a <<= sal_Int32( nVal ); if ( a.hasValue() ) { @@ -350,7 +350,7 @@ void ImplGrafModeControl::Select() { Sequence< PropertyValue > aArgs( 1 ); aArgs[0].Name = "GrafMode"; - aArgs[0].Value = makeAny( sal_Int16( GetSelectEntryPos() )); + aArgs[0].Value <<= sal_Int16( GetSelectEntryPos() ); /* #i33380# DR 2004-09-03 Moved the following line above the Dispatch() call. This instance may be deleted in the meantime (i.e. when a dialog is opened |