diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-19 10:46:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-19 13:52:32 +0200 |
commit | 73b115b1a399f57efd727eb71d7ef9e4a27afbc9 (patch) | |
tree | d92dd80efaec35fd7850f5073ba1586dfbd72b5c /svl/source/items | |
parent | 2471d6f44c7e8ecbe86a90eeb593b899a08a7408 (diff) |
use tools::Long in svl
Change-Id: Ic63d3c0ebd1e58d7bab5b0fd6313cabddc16eb98
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104517
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/items')
-rw-r--r-- | svl/source/items/imageitm.cxx | 6 | ||||
-rw-r--r-- | svl/source/items/intitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/poolitem.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/svl/source/items/imageitm.cxx b/svl/source/items/imageitm.cxx index 4959914b152d..0fa250fc043b 100644 --- a/svl/source/items/imageitm.cxx +++ b/svl/source/items/imageitm.cxx @@ -27,7 +27,7 @@ SfxPoolItem* SfxImageItem::CreateDefault() { return new SfxImageItem; } struct SfxImageItem_Impl { OUString aURL; - long nAngle; + tools::Long nAngle; bool bMirrored; bool operator == ( const SfxImageItem_Impl& rOther ) const { return nAngle == rOther.nAngle && bMirrored == rOther.bMirrored; } @@ -94,12 +94,12 @@ bool SfxImageItem::PutValue( const css::uno::Any& rVal, sal_uInt8 ) return false; } -void SfxImageItem::SetRotation( long nValue ) +void SfxImageItem::SetRotation( tools::Long nValue ) { pImpl->nAngle = nValue; } -long SfxImageItem::GetRotation() const +tools::Long SfxImageItem::GetRotation() const { return pImpl->nAngle; } diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx index c0c4831a5c3d..072de0501f40 100644 --- a/svl/source/items/intitem.cxx +++ b/svl/source/items/intitem.cxx @@ -165,7 +165,7 @@ SfxMetricItem::SfxMetricItem(sal_uInt16 which, sal_uInt32 nValue): } // virtual -void SfxMetricItem::ScaleMetrics(long nMult, long nDiv) +void SfxMetricItem::ScaleMetrics(tools::Long nMult, tools::Long nDiv) { BigInt aTheValue(GetValue()); aTheValue *= nMult; diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index 25f2720b547c..0d6513f70483 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -620,7 +620,7 @@ bool SfxVoidItem::IsVoidItem() const return true; } -void SfxPoolItem::ScaleMetrics( long /*lMult*/, long /*lDiv*/ ) +void SfxPoolItem::ScaleMetrics( tools::Long /*lMult*/, tools::Long /*lDiv*/ ) { } |