summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/output.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/output.hxx')
-rw-r--r--sc/source/ui/inc/output.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx
index dd42cd8fe737..8a9649848ba4 100644
--- a/sc/source/ui/inc/output.hxx
+++ b/sc/source/ui/inc/output.hxx
@@ -23,7 +23,7 @@
#include "address.hxx"
#include "cellvalue.hxx"
#include <tools/color.hxx>
-#include <tools/rational.hxx>
+#include <tools/fract.hxx>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
@@ -164,8 +164,8 @@ private:
ScOutputType eType; // Screen/Printer ...
double mnPPTX; // Pixel per Twips
double mnPPTY;
- boost::rational<long> aZoomX;
- boost::rational<long> aZoomY;
+ Fraction aZoomX;
+ Fraction aZoomY;
SdrObject* pEditObj; // Omit when painting
@@ -262,8 +262,8 @@ public:
SCTAB nNewTab, long nNewScrX, long nNewScrY,
SCCOL nNewX1, SCROW nNewY1, SCCOL nNewX2, SCROW nNewY2,
double nPixelPerTwipsX, double nPixelPerTwipsY,
- const boost::rational<long>* pZoomX = NULL,
- const boost::rational<long>* pZoomY = NULL );
+ const Fraction* pZoomX = NULL,
+ const Fraction* pZoomY = NULL );
~ScOutputData();