diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-27 13:39:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-27 13:40:10 +0100 |
commit | cff388eb4b1f7d33c913e191bf91f48bc3734ba2 (patch) | |
tree | dec163d4984a613d59993e034e2ba385855e7818 /writerfilter | |
parent | include oox/token/properties.hxx directly where needed (diff) | |
download | core-cff388eb4b1f7d33c913e191bf91f48bc3734ba2.tar.gz core-cff388eb4b1f7d33c913e191bf91f48bc3734ba2.zip |
WaE: msvc2008 unused variables
Change-Id: If956faf42dcc5625c490e685d6ca69bb07e00188
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapperTableHandler.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/dmapper/PropertyMap.cxx | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx index 9ce50c9a1248..275edd63d2cb 100644 --- a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx +++ b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx @@ -720,6 +720,8 @@ void DomainMapperTableHandler::endTable() fprintf( stderr, "Conversion to table error: %s\n", rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr() ); dmapper_logger->chars(std::string("failed to import table!")); +#else + (void)e; #endif } catch ( const uno::Exception &e ) diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx index 42cac7dab0d0..36ddd322320d 100644 --- a/writerfilter/source/dmapper/PropertyMap.cxx +++ b/writerfilter/source/dmapper/PropertyMap.cxx @@ -977,7 +977,7 @@ void SectionPropertyMap::CloseSectionGroup( DomainMapper_Impl& rDM_Impl ) xRangeProperties->setPropertyValue(rPropNameSupplier.GetName( PROP_PAGE_DESC_NAME ), uno::makeAny( m_bTitlePage ? m_sFirstPageStyleName : m_sFollowPageStyleName )); // handle page breaks with odd/even page numbering - style::PageStyleLayout nPageStyleLayout; + style::PageStyleLayout nPageStyleLayout(style::PageStyleLayout_ALL); if (m_nBreakType == 3) nPageStyleLayout = style::PageStyleLayout_LEFT; else if (m_nBreakType == 4) @@ -992,10 +992,9 @@ void SectionPropertyMap::CloseSectionGroup( DomainMapper_Impl& rDM_Impl ) } } } - catch( const uno::Exception& rEx) + catch (const uno::Exception&) { OSL_FAIL( "Exception in SectionPropertyMap::CloseSectionGroup"); - (void)rEx; } } } |