summaryrefslogtreecommitdiff
path: root/basctl/source/dlged/dlgedfunc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/dlged/dlgedfunc.cxx')
-rw-r--r--basctl/source/dlged/dlgedfunc.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/dlged/dlgedfunc.cxx b/basctl/source/dlged/dlgedfunc.cxx
index 7e31ae7c9f32..3ebe2f8ee91d 100644
--- a/basctl/source/dlged/dlgedfunc.cxx
+++ b/basctl/source/dlged/dlgedfunc.cxx
@@ -278,7 +278,7 @@ bool DlgEdFunc::KeyInput( const KeyEvent& rKEvt )
// switch snapping off
if ( !bWasNoSnap )
- const_cast<SdrDragStat&>(rDragStat).SetNoSnap(true);
+ const_cast<SdrDragStat&>(rDragStat).SetNoSnap();
if ( bWasSnapEnabled )
rView.SetSnapEnabled(false);
@@ -334,12 +334,12 @@ bool DlgEdFunc::KeyInput( const KeyEvent& rKEvt )
DlgEdFuncInsert::DlgEdFuncInsert (DlgEditor& rParent_) :
DlgEdFunc(rParent_)
{
- rParent.GetView().SetCreateMode(true);
+ rParent.GetView().SetCreateMode();
}
DlgEdFuncInsert::~DlgEdFuncInsert()
{
- rParent.GetView().SetEditMode( true );
+ rParent.GetView().SetEditMode();
}
bool DlgEdFuncInsert::MouseButtonDown( const MouseEvent& rMEvt )