summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
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/source/appl
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/source/appl')
-rw-r--r--sfx2/source/appl/appmisc.cxx2
-rw-r--r--sfx2/source/appl/impldde.cxx2
-rw-r--r--sfx2/source/appl/workwin.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx
index 53613b8921d9..864e2aaaf1a3 100644
--- a/sfx2/source/appl/appmisc.cxx
+++ b/sfx2/source/appl/appmisc.cxx
@@ -200,7 +200,7 @@ bool SfxApplication::loadBrandSvg(const char *pName, BitmapEx &rBitmap, int nWid
}
/** loads the application logo as used in the impress slideshow pause screen */
-BitmapEx SfxApplication::GetApplicationLogo(long nWidth)
+BitmapEx SfxApplication::GetApplicationLogo(tools::Long nWidth)
{
BitmapEx aBitmap;
SfxApplication::loadBrandSvg("shell/about", aBitmap, nWidth);
diff --git a/sfx2/source/appl/impldde.cxx b/sfx2/source/appl/impldde.cxx
index 5a42eadc8f2b..c70cb4cb6a19 100644
--- a/sfx2/source/appl/impldde.cxx
+++ b/sfx2/source/appl/impldde.cxx
@@ -296,7 +296,7 @@ IMPL_LINK( SvDDEObject, ImplGetDDEData, const DdeData*, pData, void )
default:
{
const char* p = static_cast<char const *>(pData->getData());
- long nLen = SotClipboardFormatId::STRING == nFmt ? (p ? strlen( p ) : 0) : pData->getSize();
+ tools::Long nLen = SotClipboardFormatId::STRING == nFmt ? (p ? strlen( p ) : 0) : pData->getSize();
Sequence< sal_Int8 > aSeq( reinterpret_cast<const sal_Int8*>(p), nLen );
if( pGetData )
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 9c50a657c097..217ae75436bf 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -2316,7 +2316,7 @@ void SfxWorkWindow::ArrangeAutoHideWindows( SfxSplitWindow *pActSplitWin )
// If a Window is visible to the left, then the free region
// starts to the right from it, for example at the Client area
- long nLeft = aPos.X() + aSize.Width();
+ tools::Long nLeft = aPos.X() + aSize.Width();
if ( nLeft > aArea.Left() )
aArea.SetLeft( nLeft );
break;
@@ -2343,7 +2343,7 @@ void SfxWorkWindow::ArrangeAutoHideWindows( SfxSplitWindow *pActSplitWin )
// If a Window is visible to the right, then the free region
// starts to the left from it, for example at the Client area
- long nRight = aPos.X();
+ tools::Long nRight = aPos.X();
if ( !aArea.IsWidthEmpty() && nRight < aArea.Right() )
aArea.SetRight( nRight );
break;
@@ -2363,7 +2363,7 @@ void SfxWorkWindow::ArrangeAutoHideWindows( SfxSplitWindow *pActSplitWin )
// If a Window is visible at the top, then the free region
// starts beneath it, for example at the Client area
- long nTop = aPos.Y() + aSize.Height();
+ tools::Long nTop = aPos.Y() + aSize.Height();
if ( nTop > aArea.Top() )
aArea.SetTop( nTop );
break;