tools::Long -> sal_Int32

Change-Id: Ife7fc63f4ad0f3dcd34c9079d74044bae7924988
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129403
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2022-02-03 17:12:27 +01:00
parent 789e22f7eb
commit 8f67e2633a
4 changed files with 5 additions and 5 deletions
@@ -100,8 +100,8 @@ bool AxisPositionsTabPage::FillItemSet(SfxItemSet* rOutAttrs)
rOutAttrs->Put( SfxInt32Item( SCHATTR_AXIS_LABEL_POSITION, nLabelPos ));
// tick marks
tools::Long nTicks=0;
tools::Long nMinorTicks=0;
sal_Int32 nTicks=0;
sal_Int32 nMinorTicks=0;
if(m_xCB_MinorInner->get_active())
nMinorTicks|=CHAXIS_MARK_INNER;
@@ -308,7 +308,7 @@ void AxisItemConverter::FillSpecialItem( sal_uInt16 nWhichId, SfxItemSet & rOutI
break;
case SCHATTR_AXIS_TIME_RESOLUTION:
{
tools::Long nTimeResolution=0;
sal_Int32 nTimeResolution=0;
if( rTimeIncrement.TimeResolution >>= nTimeResolution )
rOutItemSet.Put( SfxInt32Item( nWhichId, nTimeResolution ) );
else if( m_pExplicitScale )
+1 -1
View File
@@ -96,7 +96,7 @@ private:
bool m_bNewSize;
/// a graphic to be displayed in the preview in case that an automatic symbol is chosen
Graphic m_aAutoSymbolGraphic;
tools::Long m_nSymbolType;
sal_Int32 m_nSymbolType;
/// attributes for the shown symbols; only necessary if not equal to line properties
std::unique_ptr<SfxItemSet> m_xSymbolAttr;
+1 -1
View File
@@ -67,7 +67,7 @@ public:
class SVXCORE_DLLPUBLIC SdrCaptionEscRelItem final : public SfxInt32Item {
public:
SdrCaptionEscRelItem(tools::Long nEscRel=5000): SfxInt32Item(SDRATTR_CAPTIONESCREL,nEscRel) {}
SdrCaptionEscRelItem(sal_Int32 nEscRel=5000): SfxInt32Item(SDRATTR_CAPTIONESCREL,nEscRel) {}
virtual ~SdrCaptionEscRelItem() override;
virtual SdrCaptionEscRelItem* Clone(SfxItemPool* pPool=nullptr) const override;