summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/svdmodel.hxx6
-rw-r--r--svx/source/svdraw/svdmodel.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index d7924d795a80..6649b83f62e0 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -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;
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index 1290930214a8..7f57ab72850b 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -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;