summaryrefslogtreecommitdiff
path: root/sw/inc/AnnotationWin.hxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:18:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-20 08:04:53 +0200
commit1e822e401ea8fe950c7fb62172ac61d8396c98e9 (patch)
tree3a29227adfe1c5ec9209d7e7deb2035633104986 /sw/inc/AnnotationWin.hxx
parentb225980d2d65694278c9ed89512fbe21b08febd6 (diff)
use tools::Long in sw
Change-Id: I44be72b3a9b14823ec37a3c799cffb4fb4d6e1de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104527 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/AnnotationWin.hxx')
-rw-r--r--sw/inc/AnnotationWin.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx
index e55cda17c41c..d384d200d867 100644
--- a/sw/inc/AnnotationWin.hxx
+++ b/sw/inc/AnnotationWin.hxx
@@ -83,14 +83,14 @@ class SAL_DLLPUBLIC_RTTI SwAnnotationWin : public vcl::Window
bool IsProtected() const;
void SetSize( const Size& rNewSize );
- void SetPosSizePixelRect( long nX,
- long nY,
- long nWidth,
- long nHeight,
+ void SetPosSizePixelRect( tools::Long nX,
+ tools::Long nY,
+ tools::Long nWidth,
+ tools::Long nHeight,
const SwRect& aAnchorRect,
- const long PageBorder);
+ const tools::Long PageBorder);
void SetPosAndSize();
- void TranslateTopPosition(const long aAmount);
+ void TranslateTopPosition(const tools::Long aAmount);
void CheckMetaText();
Point const & GetAnchorPos() { return mAnchorRect.Pos(); }
@@ -110,7 +110,7 @@ class SAL_DLLPUBLIC_RTTI SwAnnotationWin : public vcl::Window
::sw::sidebarwindows::ShadowOverlayObject* Shadow() { return mpShadow.get();}
::sw::overlay::OverlayRanges* TextRange() { return mpTextRangeOverlay.get();}
- long GetPostItTextHeight();
+ tools::Long GetPostItTextHeight();
void SwitchToPostIt(sal_uInt16 aDirection);
void SwitchToFieldPos();
@@ -118,7 +118,7 @@ class SAL_DLLPUBLIC_RTTI SwAnnotationWin : public vcl::Window
void ExecuteCommand(sal_uInt16 nSlot);
void InitControls();
void DoResize();
- void ResizeIfNecessary(long aOldHeight, long aNewHeight);
+ void ResizeIfNecessary(tools::Long aOldHeight, tools::Long aNewHeight);
void SetScrollbar();
void SetVirtualPosSize( const Point& aPoint, const Size& aSize);
@@ -254,7 +254,7 @@ class SAL_DLLPUBLIC_RTTI SwAnnotationWin : public vcl::Window
tools::Rectangle mPosSize;
SwRect mAnchorRect;
- long mPageBorder;
+ tools::Long mPageBorder;
bool mbAnchorRectChanged;
bool mbResolvedStateUpdated;