[Libreoffice-commits] core.git: include/svx svx/source

Juan Picca jumapico at gmail.com
Tue Nov 4 01:24:09 PST 2014


 include/svx/svdtrans.hxx       |    1 -
 svx/source/svdraw/svdtrans.cxx |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 5310dfe1cdf4cfa1f86036476694a076b71671db
Author: Juan Picca <jumapico at gmail.com>
Date:   Mon Nov 3 15:31:45 2014 -0200

    SdrFormatter: remove unused attribute
    
    Change-Id: I70633d3a4cea72c21a644e5a2f25865d8ec52122
    Reviewed-on: https://gerrit.libreoffice.org/12227
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/include/svx/svdtrans.hxx b/include/svx/svdtrans.hxx
index 8bce426..e79bbb8 100644
--- a/include/svx/svdtrans.hxx
+++ b/include/svx/svdtrans.hxx
@@ -265,7 +265,6 @@ inline bool IsInch(FieldUnit eU) {
 }
 
 class SVX_DLLPUBLIC SdrFormatter {
-    Fraction  aScale;
     long      nMul_;
     long      nDiv_;
     short     nKomma_;
diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx
index f3cccd0..31a4448 100644
--- a/svx/source/svdraw/svdtrans.cxx
+++ b/svx/source/svdraw/svdtrans.cxx
@@ -789,7 +789,6 @@ void GetMeterOrInch(FieldUnit eFU, short& rnKomma, long& rnMul, long& rnDiv, boo
 
 void SdrFormatter::Undirty()
 {
-    if (aScale.GetNumerator()==0 || aScale.GetDenominator()==0) aScale=Fraction(1,1);
     bool bSrcMetr,bSrcInch,bDstMetr,bDstInch;
     long nMul1,nDiv1,nMul2,nDiv2;
     short nKomma1,nKomma2;


More information about the Libreoffice-commits mailing list