From b06d31f0998d5969c104697cd1b1888c06a0116c Mon Sep 17 00:00:00 2001 From: Noel Date: Wed, 21 Oct 2020 15:31:57 +0200 Subject: long->tools::Long in sfx2 Change-Id: Ie1283e353598cd05e5a2933814f618649b89de01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104628 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/sfx2/thumbnailview.hxx | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'include/sfx2/thumbnailview.hxx') diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx index 90ea8e1c1e18..bd4a815b47ca 100644 --- a/include/sfx2/thumbnailview.hxx +++ b/include/sfx2/thumbnailview.hxx @@ -209,8 +209,8 @@ public: void setItemMaxTextLength (sal_uInt32 nLength); - void setItemDimensions (long ItemWidth, long ThumbnailHeight, - long DisplayHeight, int itemPadding); + void setItemDimensions (tools::Long ItemWidth, tools::Long ThumbnailHeight, + tools::Long DisplayHeight, int itemPadding); void SelectItem( sal_uInt16 nItemId ); @@ -290,13 +290,13 @@ protected: ThumbnailValueItemList mFilteredItemList; ///< Cache to store the filtered items ThumbnailValueItemList::iterator mpStartSelRange; VclPtr mpScrBar; - long mnItemWidth; - long mnItemHeight; - long mnItemPadding; - long mnThumbnailHeight; // Maximum height of the thumbnail - long mnDisplayHeight; // Height of the data display box (name, etc) - long mnVisLines; - long mnLines; + tools::Long mnItemWidth; + tools::Long mnItemHeight; + tools::Long mnItemPadding; + tools::Long mnThumbnailHeight; // Maximum height of the thumbnail + tools::Long mnDisplayHeight; // Height of the data display box (name, etc) + tools::Long mnVisLines; + tools::Long mnLines; sal_uInt16 mnCols; sal_uInt16 mnFirstLine; @@ -346,8 +346,8 @@ public: void setItemMaxTextLength (sal_uInt32 nLength); - void setItemDimensions (long ItemWidth, long ThumbnailHeight, - long DisplayHeight, int itemPadding); + void setItemDimensions (tools::Long ItemWidth, tools::Long ThumbnailHeight, + tools::Long DisplayHeight, int itemPadding); void SelectItem( sal_uInt16 nItemId ); @@ -438,14 +438,14 @@ protected: css::uno::Reference mxAccessible; ThumbnailValueItemList mFilteredItemList; ///< Cache to store the filtered items ThumbnailValueItemList::iterator mpStartSelRange; - long mnItemWidth; - long mnItemHeight; - long mnItemPadding; - long mnThumbnailHeight; // Maximum height of the thumbnail - long mnDisplayHeight; // Height of the data display box (name, etc) - long mnVItemSpace; // Vertical spacing between rows, -1 to use excess unused height split up between items - long mnVisLines; - long mnLines; + tools::Long mnItemWidth; + tools::Long mnItemHeight; + tools::Long mnItemPadding; + tools::Long mnThumbnailHeight; // Maximum height of the thumbnail + tools::Long mnDisplayHeight; // Height of the data display box (name, etc) + tools::Long mnVItemSpace; // Vertical spacing between rows, -1 to use excess unused height split up between items + tools::Long mnVisLines; + tools::Long mnLines; sal_uInt16 mnCols; sal_uInt16 mnFirstLine; -- cgit