summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-21 15:31:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-22 09:22:04 +0200
commitb06d31f0998d5969c104697cd1b1888c06a0116c (patch)
tree8181e10f0312830b1a8a9e5686bc71b9a55225bb /sfx2/inc
parent86467cf27ca6d85b383244d0a0197f8b5378750d (diff)
long->tools::Long in sfx2
Change-Id: Ie1283e353598cd05e5a2933814f618649b89de01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104628 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/emojiviewitem.hxx4
-rw-r--r--sfx2/inc/recentdocsview.hxx2
-rw-r--r--sfx2/inc/sidebar/TitleBar.hxx2
-rw-r--r--sfx2/inc/templatedefaultview.hxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/inc/emojiviewitem.hxx b/sfx2/inc/emojiviewitem.hxx
index a5d902946b1a..b5a614f7acba 100644
--- a/sfx2/inc/emojiviewitem.hxx
+++ b/sfx2/inc/emojiviewitem.hxx
@@ -25,8 +25,8 @@ public:
virtual void Paint (drawinglayer::processor2d::BaseProcessor2D *pProcessor,
const ThumbnailItemAttributes *pAttrs) override;
- virtual void calculateItemsPosition (const long nThumbnailHeight,
- const long nPadding, sal_uInt32 nMaxTextLength,
+ virtual void calculateItemsPosition (const tools::Long nThumbnailHeight,
+ const tools::Long nPadding, sal_uInt32 nMaxTextLength,
const ThumbnailItemAttributes *pAttrs) override;
private:
OUString msCategory;
diff --git a/sfx2/inc/recentdocsview.hxx b/sfx2/inc/recentdocsview.hxx
index 95b9386cd0ec..9067f3cef5a3 100644
--- a/sfx2/inc/recentdocsview.hxx
+++ b/sfx2/inc/recentdocsview.hxx
@@ -85,7 +85,7 @@ private:
bool isAcceptedFile(const OUString &rURL) const;
- long mnItemMaxSize;
+ tools::Long mnItemMaxSize;
size_t mnLastMouseDownItem;
/// Image that appears when there is no recent document.
diff --git a/sfx2/inc/sidebar/TitleBar.hxx b/sfx2/inc/sidebar/TitleBar.hxx
index 69c182825b75..e6a3e302bae0 100644
--- a/sfx2/inc/sidebar/TitleBar.hxx
+++ b/sfx2/inc/sidebar/TitleBar.hxx
@@ -41,7 +41,7 @@ public:
virtual void ApplySettings(vcl::RenderContext& rRenderContext) override;
virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rUpdateArea) override;
virtual void DataChanged (const DataChangedEvent& rEvent) override;
- virtual void setPosSizePixel (long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags = PosSizeFlags::All) override;
+ virtual void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags = PosSizeFlags::All) override;
ToolBox& GetToolBox()
{
diff --git a/sfx2/inc/templatedefaultview.hxx b/sfx2/inc/templatedefaultview.hxx
index 9020a779bfd9..8c50c428792b 100644
--- a/sfx2/inc/templatedefaultview.hxx
+++ b/sfx2/inc/templatedefaultview.hxx
@@ -27,7 +27,7 @@ public:
void createContextMenu();
private:
- long mnItemMaxSize;
+ tools::Long mnItemMaxSize;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */