From 2257efcddebe9dc966f8fce8ab28eb2d8f0169cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Kukan?= Date: Wed, 29 Jan 2014 17:29:03 +0100 Subject: [PATCH] unused headers Change-Id: I908259219c94d88dfe2dafee84bbf93cc49d63dc --- framework/source/services/autorecovery.cxx | 29 +++++----------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index d28946b9178d..d9b86dccc351 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -40,9 +40,6 @@ #include #include #include -#include -#include -#include #include #include #include @@ -56,7 +53,6 @@ #include #include #include -#include #include #include #include @@ -99,23 +95,10 @@ #include #include -using css::uno::Sequence; -using css::uno::UNO_QUERY; -using css::uno::UNO_QUERY_THROW; -using css::uno::UNO_SET_THROW; -using css::uno::Reference; -using css::uno::Any; -using css::beans::PropertyValue; -using css::container::XEnumeration; -using css::document::XDocumentRecovery; -using css::frame::ModuleManager; -using css::frame::XModel2; -using css::frame::XModel; -using css::frame::XFrame; -using css::frame::XController2; -using css::frame::XLoadable; -using css::frame::XStorable; -using css::lang::XComponent; +using namespace css::uno; +using namespace css::document; +using namespace css::frame; +using namespace css::lang; using namespace framework; namespace { @@ -2165,7 +2148,7 @@ void AutoRecovery::implts_collectActiveViewNames( AutoRecovery::TDocumentInfo& i const Reference< XModel2 > xModel( i_rInfo.Document, UNO_QUERY ); if ( xModel.is() ) { - const Reference< XEnumeration > xEnumControllers( xModel->getControllers() ); + const Reference< css::container::XEnumeration > xEnumControllers( xModel->getControllers() ); while ( xEnumControllers->hasMoreElements() ) { const Reference< XController2 > xController( xEnumControllers->nextElement(), UNO_QUERY ); @@ -3625,7 +3608,7 @@ void AutoRecovery::implts_openOneDoc(const OUString& sURL , Reference< XController2 > xController; if ( viewName->getLength() ) { - xController.set( xModel->createViewController( *viewName, Sequence< PropertyValue >(), xTargetFrame ), UNO_SET_THROW ); + xController.set( xModel->createViewController( *viewName, Sequence< css::beans::PropertyValue >(), xTargetFrame ), UNO_SET_THROW ); } else {