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
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-01-12 12:29:27 +0900
commitaac260c00dc60b2890c88fea7e8c5f0b14b474ae (patch)
treecd555caf043e83ccecae6af7a0dd268840e107fc /sc/source/ui/inc
parent880c74c01c7d52367d6466251434dd10b238a739 (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 1f4793daff18..051ce0a466f8 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -87,7 +87,7 @@ class SC_DLLPUBLIC ScDocShell: public SfxObjectShell, public SfxListener
OUString aDdeTextFmt;
- double nPrtToScreenFactor;
+ Fraction nPrtToScreenFactor;
DocShell_Impl* pImpl;
ScDocFunc* pDocFunc;
@@ -367,7 +367,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,