User: hr Date: 05/09/23 05:44:27 Modified: /dba/dbaccess/source/ui/querydesign/ SelectionBrowseBox.hxx
Log: INTEGRATION: CWS dba201b (1.21.44); FILE MERGED 2005/09/21 10:13:52 oj 1.21.44.2: RESYNC: (1.21-1.22); FILE MERGED 2005/07/06 10:36:26 oj 1.21.44.1: #123168# check if we are in undo mode File Changes: Directory: /dba/dbaccess/source/ui/querydesign/ =============================================== File [changed]: SelectionBrowseBox.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx?r1=1.22&r2=1.23 Delta lines: +8 -0 ------------------- --- SelectionBrowseBox.hxx 8 Sep 2005 16:28:00 -0000 1.22 +++ SelectionBrowseBox.hxx 23 Sep 2005 12:44:23 -0000 1.23 @@ -116,6 +116,7 @@ sal_Bool m_bStopTimer; sal_Bool m_bWasEditing; sal_Bool m_bDisableErrorBox; + sal_Bool m_bInUndoMode; DECL_LINK(OnInvalidateTimer, void*); public: OSelectionBrowseBox( Window* pParent ); @@ -172,6 +173,13 @@ void Fill(); void PreFill(); + + /** Disables the generation of undo actions + */ + inline void EnterUndoMode() { m_bInUndoMode = sal_True; } + /** Enables the generation of undo actions + */ + inline void LeaveUndoMode() { m_bInUndoMode = sal_False; } /** GetCellText returns the text at the given position @param _nRow --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
