summaryrefslogtreecommitdiff
path: root/include/svx/svdsnpv.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/svdsnpv.hxx')
-rw-r--r--include/svx/svdsnpv.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/svdsnpv.hxx b/include/svx/svdsnpv.hxx
index c963d8031ad9..5b3dcfa00a92 100644
--- a/include/svx/svdsnpv.hxx
+++ b/include/svx/svdsnpv.hxx
@@ -51,8 +51,8 @@ protected:
class ImplHelpLineOverlay* mpHelpLineOverlay;
Size aMagnSiz;
- boost::rational<long> aSnapWdtX;
- boost::rational<long> aSnapWdtY;
+ boost::rational<sal_Int64> aSnapWdtX;
+ boost::rational<sal_Int64> aSnapWdtY;
sal_uInt16 nMagnSizPix;
long nSnapAngle;
@@ -98,9 +98,9 @@ public:
virtual void BrkAction() SAL_OVERRIDE; // f.abg.Klassen Actions z,B, Draggen abbrechen.
virtual void TakeActionRect(Rectangle& rRect) const SAL_OVERRIDE;
- void SetSnapGridWidth(const boost::rational<long>& rX, const boost::rational<long>& rY) { aSnapWdtX=rX; aSnapWdtY=rY; }
- const boost::rational<long>& GetSnapGridWidthX() const { return aSnapWdtX; }
- const boost::rational<long>& GetSnapGridWidthY() const { return aSnapWdtY; }
+ void SetSnapGridWidth(const boost::rational<sal_Int64>& rX, const boost::rational<sal_Int64>& rY) { aSnapWdtX=rX; aSnapWdtY=rY; }
+ const boost::rational<sal_Int64>& GetSnapGridWidthX() const { return aSnapWdtX; }
+ const boost::rational<sal_Int64>& GetSnapGridWidthY() const { return aSnapWdtY; }
void SetSnapMagnetic(const Size& rSiz) { if (rSiz!=aMagnSiz) { aMagnSiz=rSiz; } }
const Size& GetSnapMagnetic() const { return aMagnSiz; }