Bump version to 6.4-15
[LibreOffice.git] / writerperfect / qa / unit / WpftFilterFixture.cxx
blobf7c3dfcc59996851f2104374d8799dd33c6adf78
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include "WpftFilterFixture.hxx"
12 #include <com/sun/star/container/XNameAccess.hpp>
13 #include <com/sun/star/document/XTypeDetection.hpp>
14 #include <com/sun/star/frame/theDesktop.hpp>
16 namespace document = com::sun::star::document;
17 namespace frame = com::sun::star::frame;
18 namespace uno = com::sun::star::uno;
20 namespace writerperfect
22 namespace test
24 void WpftFilterFixture::setUp()
26 ::test::BootstrapFixture::setUp();
28 m_xDesktop = frame::theDesktop::get(m_xContext);
30 m_xTypeDetection.set(
31 m_xFactory->createInstanceWithContext("com.sun.star.document.TypeDetection", m_xContext),
32 uno::UNO_QUERY_THROW);
33 m_xTypeMap.set(m_xTypeDetection, uno::UNO_QUERY_THROW);
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */