diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-08-31 13:10:23 -0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-01 09:15:44 +0000 |
commit | 1d3483ed279982278b2f9fb1bab63485523e48c5 (patch) | |
tree | 449e6a4b8999e0ba54359b4b8d26a32e819942ad /oox | |
parent | 92ce8daf21f2081eca9b4f4294115b904c168a46 (diff) |
Remove some unused code from unusedcode.easy
Change-Id: Ic3e96eebbb914c5b905a8c58532ead9cb01dd41d
Reviewed-on: https://gerrit.libreoffice.org/5721
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/core/filterbase.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/oox/source/core/filterbase.cxx b/oox/source/core/filterbase.cxx index f30362f3e493..ff498af719d2 100644 --- a/oox/source/core/filterbase.cxx +++ b/oox/source/core/filterbase.cxx @@ -158,7 +158,6 @@ struct FilterBaseImpl void setDocumentModel( const Reference< XComponent >& rxComponent ) throw( IllegalArgumentException ); void initializeFilter(); - void finalizeFilter(); }; // ---------------------------------------------------------------------------- @@ -196,24 +195,6 @@ void FilterBaseImpl::initializeFilter() } } -void FilterBaseImpl::finalizeFilter() -{ - try - { - // writing back the FilterData to the MediaDescriptor - maMediaDesc["FilterData"] = makeAny(maFilterData.getAsConstPropertyValueList()); - // write the descriptor back to the document model (adds the passwords) - mxModel->attachResource( maFileUrl, maMediaDesc.getAsConstPropertyValueList() ); - // unlock the model controllers - mxModel->unlockControllers(); - } - catch( Exception& ) - { - } -} - -// ============================================================================ - FilterBase::FilterBase( const Reference< XComponentContext >& rxContext ) throw( RuntimeException ) : mxImpl( new FilterBaseImpl( rxContext ) ) { |