[Libreoffice-commits] core.git: sc/source

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 9 10:48:30 UTC 2021


 sc/source/ui/app/inputwin.cxx |    2 +-
 sc/source/ui/inc/inputwin.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c617827d009bd61ff432514d3f607a12e9ccb38a
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Fri Apr 9 12:14:17 2021 +0300
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Fri Apr 9 12:47:49 2021 +0200

    Fix Win64 build
    
    ... after bff456b37814303e386e86b9d395babaccf164db, which fails only
    on Win64, where tools::Long is not long
    
    Change-Id: Ia919b6371f8d8b6ba7c379992591bb9bcc2fe2ce
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113838
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 91d81aac4183..2da8fd62746f 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -476,7 +476,7 @@ void ScInputWindow::SetSizePixel( const Size& rNewSize )
     ToolBox::SetSizePixel(rNewSize);
 }
 
-void ScInputWindow::setPosSizePixel(long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags)
+void ScInputWindow::setPosSizePixel(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags)
 {
     ToolBox::setPosSizePixel(nX, nY, nWidth, nHeight, nFlags);
     if (const vcl::ILibreOfficeKitNotifier* pNotifier = GetLOKNotifier())
diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx
index 70796002f2c0..20991ac85908 100644
--- a/sc/source/ui/inc/inputwin.hxx
+++ b/sc/source/ui/inc/inputwin.hxx
@@ -290,7 +290,7 @@ public:
 
     virtual void    Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override;
     virtual void    PixelInvalidate(const tools::Rectangle* pRectangle) override;
-    virtual void    setPosSizePixel( long nX, long nY, long nWidth, long nHeight,
+    virtual void    setPosSizePixel( tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight,
                                      PosSizeFlags nFlags = PosSizeFlags::All ) override;
     virtual void    SetSizePixel( const Size& rNewSize ) override;
     virtual void    Resize() override;


More information about the Libreoffice-commits mailing list