summaryrefslogtreecommitdiff
path: root/svl/source/undo/undo.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-18 16:50:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-18 16:50:58 +0000
commitf5d4c546de238d47eb5b10f13a8ed03c03f96e29 (patch)
tree0e445eda9e683d208958a7e004bf6093da8556ba /svl/source/undo/undo.cxx
parente96c7d42f096b4a7ce1fba16fb18c8d2008e20ba (diff)
WaE: returning NULL for sal_uInt16
Diffstat (limited to 'svl/source/undo/undo.cxx')
-rw-r--r--svl/source/undo/undo.cxx2
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();
}