[Libreoffice-commits] .: vbahelper/source

Julien Nabet serval2412 at kemper.freedesktop.org
Fri Feb 17 14:03:39 PST 2012


 vbahelper/source/vbahelper/vbapagesetupbase.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit b8629e45c3451c40777934b2cdc110d25be75faf
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Fri Feb 17 23:02:06 2012 +0100

    Fix "never read" reported by clang

diff --git a/vbahelper/source/vbahelper/vbapagesetupbase.cxx b/vbahelper/source/vbahelper/vbapagesetupbase.cxx
index 1cdca49..14deb67 100644
--- a/vbahelper/source/vbahelper/vbapagesetupbase.cxx
+++ b/vbahelper/source/vbahelper/vbapagesetupbase.cxx
@@ -310,11 +310,6 @@ void SAL_CALL VbaPageSetupBase::setOrientation( sal_Int32 orientation ) throw (c
             mxPageProps->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Width")),  aHeight );
             mxPageProps->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Height")), aWidth );
         }
-
-        if( isLandscape )
-        {
-            orientation = mnOrientLandscape;
-        }
     }
     catch( uno::Exception& )
     {


More information about the Libreoffice-commits mailing list