summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/drawutil.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/drawutil.hxx')
-rw-r--r--sc/source/ui/inc/drawutil.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/drawutil.hxx b/sc/source/ui/inc/drawutil.hxx
index 6a011ae290e2..740ee0380ada 100644
--- a/sc/source/ui/inc/drawutil.hxx
+++ b/sc/source/ui/inc/drawutil.hxx
@@ -22,7 +22,7 @@
#include "address.hxx"
-class Fraction;
+namespace boost { template<typename T> class rational; }
class OutputDevice;
class ScDocument;
@@ -31,9 +31,9 @@ class ScDrawUtil
public:
static void CalcScale( ScDocument* pDoc, SCTAB nTab,
SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
- OutputDevice* pDev, const Fraction& rZoomX, const Fraction& rZoomY,
+ OutputDevice* pDev, const boost::rational<long>& rZoomX, const boost::rational<long>& rZoomY,
double nPPTX, double nPPTY,
- Fraction& rScaleX, Fraction& rScaleY );
+ boost::rational<long>& rScaleX, boost::rational<long>& rScaleY );
};
#endif