diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-18 16:50:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-18 16:50:58 +0000 |
commit | f5d4c546de238d47eb5b10f13a8ed03c03f96e29 (patch) | |
tree | 0e445eda9e683d208958a7e004bf6093da8556ba /svl | |
parent | e96c7d42f096b4a7ce1fba16fb18c8d2008e20ba (diff) |
WaE: returning NULL for sal_uInt16
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/undo/undo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index 2124c33bf411..a84bbcfb5bb1 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -712,7 +712,7 @@ sal_uInt16 SfxUndoManager::GetUndoActionId() const DBG_ASSERT( m_pData->pActUndoArray->nCurUndoAction > 0, "svl::SfxUndoManager::GetUndoActionId(), illegal id!" ); if ( m_pData->pActUndoArray->nCurUndoAction == 0 ) - return NULL; + return 0; return m_pData->pActUndoArray->aUndoActions[m_pData->pActUndoArray->nCurUndoAction-1].pAction->GetId(); } |