diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-08-15 16:06:06 +0200 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-09-29 06:30:41 +0100 |
commit | ab0ccff829847653f2d745acfc1aa56528dca0b9 (patch) | |
tree | 853c6a278b4ce84c9b19f8386984e5ad1167c26f /sc/source/ui/inc | |
parent | 6a7051c30b57ba86f8847587f7f74cc93307288b (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.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 98f71096f23d..7ea78b65d63f 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; @@ -372,7 +372,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, |