summaryrefslogtreecommitdiff
path: root/framework/source/interaction
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/interaction')
-rw-r--r--framework/source/interaction/quietinteraction.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/framework/source/interaction/quietinteraction.cxx b/framework/source/interaction/quietinteraction.cxx
index 680fe0922e51..3b27f1815d4d 100644
--- a/framework/source/interaction/quietinteraction.cxx
+++ b/framework/source/interaction/quietinteraction.cxx
@@ -25,7 +25,6 @@
#include <com/sun/star/task/XInteractionApprove.hpp>
#include <com/sun/star/document/XInteractionFilterSelect.hpp>
#include <com/sun/star/document/XInteractionFilterOptions.hpp>
-#include <com/sun/star/document/AmbigousFilterRequest.hpp>
#include <com/sun/star/document/FilterOptionsRequest.hpp>
#include <com/sun/star/task/ErrorCodeRequest.hpp>
@@ -81,20 +80,9 @@ void SAL_CALL QuietInteraction::handle( const css::uno::Reference< css::task::XI
// differ between abortable interactions (error, unknown filter ...)
// and other ones (ambigous but not unknown filter ...)
css::task::ErrorCodeRequest aErrorCodeRequest;
- css::document::AmbigousFilterRequest aAmbigousFilterRequest;
css::document::LockedDocumentRequest aLockedDocumentRequest;
css::document::FilterOptionsRequest aFilterOptionsRequest;
- if (aRequest>>=aAmbigousFilterRequest)
- {
- if (xFilter.is())
- {
- // user selected filter wins every time!
- xFilter->setFilter( aAmbigousFilterRequest.SelectedFilter );
- xFilter->select();
- }
- }
- else
if( aRequest >>= aErrorCodeRequest )
{
// warnings can be ignored => approve