summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-01-29 17:29:03 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-01-30 10:48:24 +0100
commit2257efcddebe9dc966f8fce8ab28eb2d8f0169cc (patch)
tree380f7e2b2d2c17f57826684117d0015da4f8f914
parenteb4a4ebc9d328208e5f8cb75fdd243bffbc3c968 (diff)
unused headers
Change-Id: I908259219c94d88dfe2dafee84bbf93cc49d63dc
-rw-r--r--framework/source/services/autorecovery.cxx29
1 files 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 <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/frame/XTitle.hpp>
#include <com/sun/star/frame/XFrame.hpp>
-#include <com/sun/star/frame/XDispatchProvider.hpp>
-#include <com/sun/star/frame/DispatchResultState.hpp>
-#include <com/sun/star/frame/XNotifyingDispatch.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/XStorable.hpp>
@@ -56,7 +53,6 @@
#include <com/sun/star/util/XChangesBatch.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
-#include <com/sun/star/container/XContainerQuery.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XDocumentRecovery.hpp>
#include <com/sun/star/util/XCloseable.hpp>
@@ -99,23 +95,10 @@
#include <general.h>
#include <stdtypes.h>
-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
{