summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-10 10:14:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-11 11:25:43 +0100
commit941f2c866a98ca7caf71a11732853da012cd25e4 (patch)
treed5879ca5a6c50c8258e62d343f4c90cf9a6127f5 /sfx2/source/dialog
parentcd3990d1d8f212474dee1c1d989f005e4d9913a4 (diff)
convert more long -> tools::Long
found by grepping and changed by hand. Change-Id: I3c720859dba430fde3abc76c6c5cb58269efaf4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105512 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r--sfx2/source/dialog/splitwin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index dff0a88d0d60..2e910f8d2fb0 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -375,7 +375,7 @@ void SfxSplitWindow::Split()
SplitWindow::Split();
- std::vector< std::pair< sal_uInt16, long > > aNewOrgSizes;
+ std::vector< std::pair< sal_uInt16, tools::Long > > aNewOrgSizes;
sal_uInt16 nCount = maDockArr.size();
for ( sal_uInt16 n=0; n<nCount; n++ )
@@ -409,7 +409,7 @@ void SfxSplitWindow::Split()
// apply FIXED item size as 'original' item size to improve layouting of undock-dock-cycle of a window
{
DeactivateUpdateMode aDeactivateUpdateMode( *this );
- for (const std::pair< sal_uInt16, long > & rNewOrgSize : aNewOrgSizes)
+ for (const std::pair< sal_uInt16, tools::Long > & rNewOrgSize : aNewOrgSizes)
{
SetItemSize( rNewOrgSize.first, rNewOrgSize.second );
}
@@ -733,7 +733,7 @@ void SfxSplitWindow::InsertWindow_Impl( SfxDock_Impl const * pDock,
// workaround insufficiency of <SplitWindow> regarding dock layouting:
// apply FIXED item size as 'original' item size to improve layouting of undock-dock-cycle of a window
{
- std::vector< std::pair< sal_uInt16, long > > aNewOrgSizes;
+ std::vector< std::pair< sal_uInt16, tools::Long > > aNewOrgSizes;
// get FIXED item sizes
sal_uInt16 nCount = maDockArr.size();
for ( sal_uInt16 n=0; n<nCount; ++n )
@@ -748,7 +748,7 @@ void SfxSplitWindow::InsertWindow_Impl( SfxDock_Impl const * pDock,
}
// apply new item sizes
DeactivateUpdateMode aDeactivateUpdateMode( *this );
- for (const std::pair< sal_uInt16, long > & rNewOrgSize : aNewOrgSizes)
+ for (const std::pair< sal_uInt16, tools::Long > & rNewOrgSize : aNewOrgSizes)
{
SetItemSize( rNewOrgSize.first, rNewOrgSize.second );
}