summaryrefslogtreecommitdiff
path: root/svx/source/dialog/_contdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/_contdlg.cxx')
-rw-r--r--svx/source/dialog/_contdlg.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index 33cb2ccb8e24..300e664b6712 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -101,8 +101,8 @@ void SvxContourDlg::SetSuperClass( SvxSuperContourDlg& rSuperClass )
}
tools::PolyPolygon SvxContourDlg::CreateAutoContour( const Graphic& rGraphic,
- const Rectangle* pRect,
- const sal_uIntPtr nFlags )
+ const Rectangle* pRect,
+ const sal_uIntPtr nFlags )
{
Bitmap aBmp;
sal_uIntPtr nContourFlags = XOUTBMP_CONTOUR_HORZ;
@@ -533,6 +533,8 @@ IMPL_LINK_TYPED( SvxSuperContourDlg, Tbx1ClickHdl, ToolBox*, pTbx, void )
m_pContourWnd->SetPipetteMode( bPipette );
}
+ Invalidate();
+ m_pContourWnd->QueueIdleUpdate();
}
IMPL_LINK_TYPED( SvxSuperContourDlg, MousePosHdl, GraphCtrl*, pWnd, void )
@@ -587,6 +589,7 @@ IMPL_LINK_NOARG_TYPED(SvxSuperContourDlg, UpdateHdl, Idle *, void)
}
GetBindings().Invalidate( SID_CONTOUR_EXEC );
+ m_pContourWnd->QueueIdleUpdate();
}
IMPL_LINK_NOARG_TYPED(SvxSuperContourDlg, CreateHdl, Idle *, void)
@@ -729,6 +732,9 @@ IMPL_LINK_TYPED( SvxSuperContourDlg, WorkplaceClickHdl, ContourWindow&, rWnd, vo
m_pTbx1->CheckItem(mnWorkSpaceId, false);
m_pTbx1->CheckItem(mnSelectId);
rWnd.SetWorkplaceMode( false );
+
+ m_pContourWnd->QueueIdleUpdate();
+ Invalidate();
}
IMPL_LINK_NOARG_TYPED(SvxSuperContourDlg, MiscHdl, LinkParamNone*, void)