summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-08-15 16:06:06 +0200
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-08-30 21:37:08 +0200
commit9764a44eaa0c3bcd81deedeeb153034be05cbe44 (patch)
tree8ec5dff194173669cad68d5f5e8df89d624b5342 /sc/source/ui/inc
parent91a31b9c39870b7728b3374ca0a353ba24af85a2 (diff)
Make nPrtToScreenFactor and GetOutputFactor fractions.
These are then used for our output MapMode which required Fractions too. Change-Id: Icbfd9f808a6efe297096c94dc4043cef88c0ba0b
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/docsh.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index b432f94199b3..75175ada8bbe 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -88,7 +88,7 @@ class SC_DLLPUBLIC ScDocShell: public SfxObjectShell, public SfxListener
OUString aDdeTextFmt;
- double nPrtToScreenFactor;
+ Fraction nPrtToScreenFactor;
DocShell_Impl* pImpl;
ScDocFunc* pDocFunc;
@@ -370,7 +370,7 @@ public:
void SetInUndo(bool bSet);
void CalcOutputFactor();
- double GetOutputFactor() const { return nPrtToScreenFactor;}
+ Fraction GetOutputFactor() const { return nPrtToScreenFactor;}
void GetPageOnFromPageStyleSet( const SfxItemSet* pStyleSet,
SCTAB nCurTab,
bool& rbHeader,