summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/CustomAnimationEffect.hxx3
-rw-r--r--sd/inc/drawdoc.hxx16
2 files changed, 10 insertions, 9 deletions
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx
index a82642a8c178..e4af8b713aa5 100644
--- a/sd/inc/CustomAnimationEffect.hxx
+++ b/sd/inc/CustomAnimationEffect.hxx
@@ -26,6 +26,7 @@
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/util/XChangesListener.hpp>
#include <vcl/timer.hxx>
+#include <tools/long.hxx>
#include "sddllapi.h"
#include <list>
#include <vector>
@@ -432,7 +433,7 @@ protected:
bool mbTimerMode;
bool mbRebuilding;
- long mnRebuildLockGuard;
+ ::tools::Long mnRebuildLockGuard;
bool mbPendingRebuildRequest;
sal_Int32 mbIgnoreChanges;
};
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index 12d905f732db..2d05e269ff58 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -198,10 +198,10 @@ public:
// including PresObj's in higher derivations
virtual void adaptSizeAndBorderForAllPages(
const Size& rNewSize,
- long nLeft = 0,
- long nRight = 0,
- long nUpper = 0,
- long nLower = 0) override;
+ tools::Long nLeft = 0,
+ tools::Long nRight = 0,
+ tools::Long nUpper = 0,
+ tools::Long nLower = 0) override;
// Adapt PageSize for all Pages of PageKind ePageKind. Also
// set Borders to left/right/upper/lower, ScaleAll, Orientation,
@@ -211,10 +211,10 @@ public:
const Size& rNewSize,
PageKind ePageKind,
SdUndoGroup* pUndoGroup = nullptr,
- long nLeft = 0,
- long nRight = 0,
- long nUpper = 0,
- long nLower = 0,
+ tools::Long nLeft = 0,
+ tools::Long nRight = 0,
+ tools::Long nUpper = 0,
+ tools::Long nLower = 0,
bool bScaleAll = false,
Orientation eOrientation = Orientation::Landscape,
sal_uInt16 nPaperBin = 0,