summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/splitwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/splitwin.cxx')
-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 );
}