From a2e533767bed88f293d2129aca9dfd9c4c60226b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 2 Feb 2021 12:03:20 +0000 Subject: verbs can be sal_Int32 instead of tools::Long MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I51c88b837928760c72b77de1535f7843b4fd575e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110318 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sc/source/ui/inc/tabvwsh.hxx | 4 ++-- sc/source/ui/view/tabvwshb.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index b5d6306e937e..351c9e2cbeee 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -297,7 +297,7 @@ public: ObjectSelectionType GetCurObjectSelectionType() const { return eCurOST; } - virtual ErrCode DoVerb(tools::Long nVerb) override; + virtual ErrCode DoVerb(sal_Int32 nVerb) override; void StopEditShell(); bool IsDrawTextShell() const; @@ -320,7 +320,7 @@ public: virtual std::unique_ptr CreatePrintOptionsPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rOptions) override; void ConnectObject( const SdrOle2Obj* pObj ); - void ActivateObject( SdrOle2Obj* pObj, tools::Long nVerb ); + void ActivateObject(SdrOle2Obj* pObj, sal_Int32 nVerb); void DeactivateOle(); diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx index d0006564d53e..3d545dd109aa 100644 --- a/sc/source/ui/view/tabvwshb.cxx +++ b/sc/source/ui/view/tabvwshb.cxx @@ -142,7 +142,7 @@ public: } -void ScTabViewShell::ActivateObject( SdrOle2Obj* pObj, tools::Long nVerb ) +void ScTabViewShell::ActivateObject(SdrOle2Obj* pObj, sal_Int32 nVerb) { // Do not leave the hint message box on top of the object RemoveHintWindow(); @@ -260,7 +260,7 @@ void ScTabViewShell::ActivateObject( SdrOle2Obj* pObj, tools::Long nVerb ) //xIPObj->SetDocumentName( GetViewData().GetDocShell()->GetTitle() ); } -ErrCode ScTabViewShell::DoVerb(tools::Long nVerb) +ErrCode ScTabViewShell::DoVerb(sal_Int32 nVerb) { SdrView* pView = GetScDrawView(); if (!pView) -- cgit