[Libreoffice-commits] .: svtools/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Mar 18 10:34:39 PDT 2011


 svtools/source/filter.vcl/filter/filter2.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit ce24ec8589579a59a4c7bf8f7a01fa310ce8d96b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Mar 18 17:34:29 2011 +0000

    WaE: unused variable

diff --git a/svtools/source/filter.vcl/filter/filter2.cxx b/svtools/source/filter.vcl/filter/filter2.cxx
index 61a2018..93d4dfb 100644
--- a/svtools/source/filter.vcl/filter/filter2.cxx
+++ b/svtools/source/filter.vcl/filter/filter2.cxx
@@ -433,7 +433,6 @@ sal_Bool GraphicDescriptor::ImpDetectJPG( SvStream& rStm,  sal_Bool bExtendedInf
                                     sal_uInt8	nNumberOfImageComponents;
                                     sal_uInt8	nComponentsIdentifier;
                                     sal_uInt8	nHorizontalSamplingFactor;
-                                    sal_uInt8	nVerticalSamplingFactor;
                                     sal_uInt8	nQuantizationTableDestinationSelector;
                                     rStm >> nSamplePrecision
                                          >> nNumberOfLines
@@ -442,7 +441,6 @@ sal_Bool GraphicDescriptor::ImpDetectJPG( SvStream& rStm,  sal_Bool bExtendedInf
                                          >> nComponentsIdentifier
                                          >> nHorizontalSamplingFactor
                                          >> nQuantizationTableDestinationSelector;
-                                    nVerticalSamplingFactor = nHorizontalSamplingFactor & 0xf;
                                     nHorizontalSamplingFactor >>= 4;
                                     
                                     aPixSize.Height() = nNumberOfLines;


More information about the Libreoffice-commits mailing list