diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-02-17 23:02:06 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-02-17 23:02:48 +0100 |
commit | b8629e45c3451c40777934b2cdc110d25be75faf (patch) | |
tree | c6d33825a43a0908ee06c453858d7e06578bb59e /vbahelper | |
parent | b4d4751ec0ff0c34f8cf0f1c8770badef81c007c (diff) |
Fix "never read" reported by clang
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbapagesetupbase.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vbahelper/source/vbahelper/vbapagesetupbase.cxx b/vbahelper/source/vbahelper/vbapagesetupbase.cxx index 1cdca49ed9fc..14deb67b3d2a 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& ) { |