diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-02 12:03:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-02 17:56:38 +0100 |
commit | a2e533767bed88f293d2129aca9dfd9c4c60226b (patch) | |
tree | 86e3e8cdfa9d13fe546daa2bbabdd24290085b26 /sc | |
parent | 43fadd3beaf3fbc8a402363cf1c0bbda339b2edc (diff) |
verbs can be sal_Int32 instead of tools::Long
Change-Id: I51c88b837928760c72b77de1535f7843b4fd575e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110318
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/inc/tabvwsh.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwshb.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
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<SfxTabPage> 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) |