diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/dialcontrol.cxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 4 | ||||
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.hxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx index 5a2304bea73f..8d127e518dd3 100644 --- a/svx/source/dialog/dialcontrol.cxx +++ b/svx/source/dialog/dialcontrol.cxx @@ -410,7 +410,7 @@ bool DialControl::IsValueModified() return mpImpl->mnInitialAngle != mpImpl->mnAngle; } -void DialControl::SetModifyHdl( const Link<>& rLink ) +void DialControl::SetModifyHdl( const Link<DialControl*,void>& rLink ) { mpImpl->maModifyHdl = rLink; } diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 80ebaaedf01c..10b95b2bea98 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -535,7 +535,7 @@ IMPL_LINK_NOARG( PosSizePropertyPanel, AngleModifiedHdl ) -IMPL_LINK_NOARG( PosSizePropertyPanel, RotationHdl ) +IMPL_LINK_NOARG_TYPED( PosSizePropertyPanel, RotationHdl, DialControl*, void ) { sal_Int32 nTmp = mpDial->GetRotation(); @@ -547,8 +547,6 @@ IMPL_LINK_NOARG( PosSizePropertyPanel, RotationHdl ) GetBindings()->GetDispatcher()->Execute( SID_ATTR_TRANSFORM, SfxCallMode::RECORD, &aAngleItem, &aRotXItem, &aRotYItem, 0L ); - - return 0; } diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx index 875eae75f373..e24b41b08341 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx @@ -32,13 +32,15 @@ #include <com/sun/star/ui/XSidebar.hpp> #include <basegfx/range/b2drange.hxx> -class DialControl; class SdrView; class FixedText; class MetricField; class CheckBox; class MetricBox; +namespace svx { +class DialControl; +}; namespace svx { namespace sidebar { @@ -155,7 +157,7 @@ private: DECL_LINK( ChangeHeightHdl, void * ); DECL_LINK_TYPED( ClickAutoHdl, Button*, void ); DECL_LINK( AngleModifiedHdl, void * ); - DECL_LINK( RotationHdl, void * ); + DECL_LINK_TYPED( RotationHdl, svx::DialControl*, void ); DECL_LINK_TYPED( FlipHdl, ToolBox *, void ); void Initialize(); |