Fix "never read" reported by clang

This commit is contained in:
Julien Nabet
2012-02-17 23:02:06 +01:00
parent b4d4751ec0
commit b8629e45c3

View File

@@ -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& )
{