summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/control/sqledit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/control/sqledit.cxx')
-rw-r--r--dbaccess/source/ui/control/sqledit.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx
index 3eee26f30959..1caa8917be8b 100644
--- a/dbaccess/source/ui/control/sqledit.cxx
+++ b/dbaccess/source/ui/control/sqledit.cxx
@@ -69,7 +69,7 @@ OSqlEdit::OSqlEdit( OQueryTextView* pParent, WinBits nWinStyle ) :
m_ColorConfig.AddListener(this);
//#i97044#
- EnableFocusSelectionHide( FALSE );
+ EnableFocusSelectionHide( sal_False );
}
//------------------------------------------------------------------------------
@@ -127,11 +127,11 @@ IMPL_LINK(OSqlEdit, OnUndoActionTimer, void*, EMPTYARG)
if(aText != m_strOrigText)
{
OJoinController& rController = m_pView->getContainerWindow()->getDesignView()->getController();
- SfxUndoManager* pUndoMgr = rController.getUndoMgr();
+ SfxUndoManager& rUndoMgr = rController.GetUndoManager();
OSqlEditUndoAct* pUndoAct = new OSqlEditUndoAct( this );
pUndoAct->SetOriginalText( m_strOrigText );
- pUndoMgr->AddUndoAction( pUndoAct );
+ rUndoMgr.AddUndoAction( pUndoAct );
rController.InvalidateFeature(SID_UNDO);
rController.InvalidateFeature(SID_REDO);