From 7916487cf4d9603cdbe4c7ffbe9bb3f28b51ce4e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 18 Mar 2017 18:24:53 +0200 Subject: convert ViewShellId to o3tl::strong_int Change-Id: I45553d11d56aa8c4432aec126ca51f24bd3ead09 Reviewed-on: https://gerrit.libreoffice.org/35421 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/undo/undobase.cxx | 4 ++-- sc/source/ui/undo/undodraw.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/source/ui/undo') diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx index b8b0aca430b1..af9849a509a6 100644 --- a/sc/source/ui/undo/undobase.cxx +++ b/sc/source/ui/undo/undobase.cxx @@ -44,7 +44,7 @@ ScSimpleUndo::ScSimpleUndo( ScDocShell* pDocSh ) : mnViewShellId = pViewShell->GetViewShellId(); } -sal_Int32 ScSimpleUndo::GetViewShellId() const +ViewShellId ScSimpleUndo::GetViewShellId() const { return mnViewShellId; } @@ -630,7 +630,7 @@ OUString ScUndoWrapper::GetComment() const return OUString(); } -sal_Int32 ScUndoWrapper::GetViewShellId() const +ViewShellId ScUndoWrapper::GetViewShellId() const { return mnViewShellId; } diff --git a/sc/source/ui/undo/undodraw.cxx b/sc/source/ui/undo/undodraw.cxx index e779733c2b82..bc7f0a7118ca 100644 --- a/sc/source/ui/undo/undodraw.cxx +++ b/sc/source/ui/undo/undodraw.cxx @@ -44,7 +44,7 @@ OUString ScUndoDraw::GetComment() const return OUString(); } -sal_Int32 ScUndoDraw::GetViewShellId() const +ViewShellId ScUndoDraw::GetViewShellId() const { return mnViewShellId; } -- cgit