diff options
-rw-r--r-- | desktop/inc/app.hxx | 4 | ||||
-rw-r--r-- | desktop/source/app/appinit.cxx | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index b067ae6101b3..33e7c0cdbe01 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_DESKTOP_INC_APP_HXX #define INCLUDED_DESKTOP_INC_APP_HXX -// stl includes first -#include <map> #include <boost/optional.hpp> #include <boost/scoped_ptr.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> @@ -29,7 +27,6 @@ #include <vcl/timer.hxx> #include <tools/resmgr.hxx> #include <unotools/bootstrap.hxx> -#include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/task/XStatusIndicator.hpp> #include <com/sun/star/uno/Reference.h> #include <osl/mutex.hxx> @@ -46,7 +43,6 @@ namespace desktop --------------------------------------------------------------------*/ class CommandLineArgs; class Lockfile; -class AcceptorMap : public std::map< OUString, css::uno::Reference<css::lang::XInitialization> > {}; struct ConvertData; class Desktop : public Application { diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx index 221afef31c99..02478a4b7450 100644 --- a/desktop/source/app/appinit.cxx +++ b/desktop/source/app/appinit.cxx @@ -53,6 +53,7 @@ #include <unotools/tempfile.hxx> #include <vcl/svapp.hxx> #include <unotools/pathoptions.hxx> +#include <map> using namespace desktop; using namespace ::com::sun::star::uno; @@ -154,6 +155,8 @@ void Desktop::RegisterServices(Reference< XComponentContext > const & context) } } +typedef std::map< OUString, css::uno::Reference<css::lang::XInitialization> > AcceptorMap; + namespace { struct acceptorMap : public rtl::Static< AcceptorMap, acceptorMap > {}; |