diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2002-06-07 14:10:33 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2002-06-07 14:10:33 +0000 |
commit | cb93d6009e7bde9d17c05177061e245ed37b551c (patch) | |
tree | 63ed5574927e73eee0bf8d5820181a892d931f15 /uui/source | |
parent | e2ac5cbee3de17d177180fbd1617331f07ae17a8 (diff) |
#99941# interaction for filter options is used for import only
Diffstat (limited to 'uui/source')
-rw-r--r-- | uui/source/iahndl.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 267de8aa6262..a062246c75b6 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: iahndl.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: mav $ $Date: 2002-05-29 15:55:38 $ + * last change: $Author: mav $ $Date: 2002-06-07 15:10:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -178,8 +178,8 @@ #ifndef _COM_SUN_STAR_UI_DIALOGS_XEXECUTABLEDIALOG_HPP_ #include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> #endif -#ifndef _COM_SUN_STAR_DOCUMENT_XEXPORTER_HPP_ -#include <com/sun/star/document/XExporter.hpp> +#ifndef _COM_SUN_STAR_DOCUMENT_XIMPORTER_HPP_ +#include <com/sun/star/document/XImporter.hpp> #endif #ifndef _COM_SUN_STAR_BEANS_XPROPERTYACCESS_HPP_ #include <com/sun/star/beans/XPropertyAccess.hpp> @@ -1876,11 +1876,11 @@ UUIInteractionHandler::handleFilterOptionsRequest( if( xFilterDialog.is() && xFilterProperties.is() ) { - star::uno::Reference< star::document::XExporter > xExporter( + star::uno::Reference< star::document::XImporter > xImporter( xFilterDialog, star::uno::UNO_QUERY ); - if( xExporter.is() ) - xExporter->setSourceDocument( star::uno::Reference< star::lang::XComponent >( + if( xImporter.is() ) + xImporter->setTargetDocument( star::uno::Reference< star::lang::XComponent >( rRequest.rModel, star::uno::UNO_QUERY ) ); |