diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-01 11:46:42 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-01 10:32:27 +0000 |
commit | 6850f4e8454652ec475811860f5e8cf9bdea67a7 (patch) | |
tree | b5d47bbccea41f303d83086e702239de2c666525 /svx | |
parent | 55859becb87816aac0170f0f22d5d748fc022612 (diff) |
svl: avoid defaulted parameter in SfxUndoManager::EnterListAction()
It's a virtual function, and defaulted parameters there are problematic.
Change-Id: I3f110c7ac36dfda90811b033620286ad9fce1af1
Reviewed-on: https://gerrit.libreoffice.org/27772
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index 240abf8bd0b3..8dafcc38c05b 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -464,7 +464,7 @@ void SdrModel::BegUndo() { if( mpImpl->mpUndoManager ) { - mpImpl->mpUndoManager->EnterListAction("",""); + mpImpl->mpUndoManager->EnterListAction("","",0); nUndoLevel++; } else if( IsUndoEnabled() ) @@ -485,7 +485,7 @@ void SdrModel::BegUndo(const OUString& rComment) { if( mpImpl->mpUndoManager ) { - mpImpl->mpUndoManager->EnterListAction( rComment, "" ); + mpImpl->mpUndoManager->EnterListAction( rComment, "", 0 ); nUndoLevel++; } else if( IsUndoEnabled() ) @@ -507,7 +507,7 @@ void SdrModel::BegUndo(const OUString& rComment, const OUString& rObjDescr, SdrR { aComment = aComment.replaceFirst("%1", rObjDescr); } - mpImpl->mpUndoManager->EnterListAction( aComment,"" ); + mpImpl->mpUndoManager->EnterListAction( aComment,"",0 ); nUndoLevel++; } else if( IsUndoEnabled() ) |