Kaydet (Commit) 71048589 authored tarafından Noel Grandin's avatar Noel Grandin

sal_uIntPtr->sal_uInt32 in SdrModel

to match the underlying field

Change-Id: I4145df0fc308c09eca29f779a0ff241e4301db0b
Reviewed-on: https://gerrit.libreoffice.org/46345Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 719af6a3
......@@ -457,9 +457,9 @@ public:
void SetUndoComment(const OUString& rComment);
void SetUndoComment(const OUString& rComment, const OUString& rObjDescr);
// The Undo management is only done if not NotifyUndoAction-Handler is set.
// Default is 16. Minimal MaxUndoActionCount is 1!
void SetMaxUndoActionCount(sal_uIntPtr nCount);
// The Undo management is only done if NotifyUndoAction-Handler is not set.
// Default is 16. Minimal MaxUndoActionCount is 1.
void SetMaxUndoActionCount(sal_uInt32 nCount);
void ClearUndoBuffer();
bool HasUndoActions() const;
......
......@@ -311,7 +311,7 @@ void SdrModel::SetReadOnly(bool bYes)
}
void SdrModel::SetMaxUndoActionCount(sal_uIntPtr nCount)
void SdrModel::SetMaxUndoActionCount(sal_uInt32 nCount)
{
if (nCount<1) nCount=1;
nMaxUndoCount=nCount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment