fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / framework / source / uielement / footermenucontroller.cxx
blob95c195269a42cb1b189b4cd853307556a42b9350
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <uielement/footermenucontroller.hxx>
22 #include "services.h"
23 #include <classes/resource.hrc>
24 #include <classes/fwlresid.hxx>
26 #include <com/sun/star/awt/XDevice.hpp>
27 #include <com/sun/star/beans/PropertyValue.hpp>
28 #include <com/sun/star/awt/MenuItemStyle.hpp>
29 #include <com/sun/star/util/XURLTransformer.hpp>
30 #include <com/sun/star/frame/XDispatchProvider.hpp>
31 #include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
32 #include <com/sun/star/container/XNameContainer.hpp>
33 #include <com/sun/star/beans/XPropertySet.hpp>
35 #include <vcl/menu.hxx>
36 #include <vcl/svapp.hxx>
37 #include <vcl/i18nhelp.hxx>
38 #include <rtl/ustrbuf.hxx>
40 // Defines
42 using namespace com::sun::star::uno;
43 using namespace com::sun::star::lang;
44 using namespace com::sun::star::frame;
45 using namespace com::sun::star::beans;
46 using namespace com::sun::star::util;
47 using namespace com::sun::star::style;
48 using namespace com::sun::star::container;
50 namespace framework
53 DEFINE_XSERVICEINFO_MULTISERVICE_2 ( FooterMenuController ,
54 OWeakObject ,
55 SERVICENAME_POPUPMENUCONTROLLER ,
56 IMPLEMENTATIONNAME_FOOTERMENUCONTROLLER
59 FooterMenuController::FooterMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
60 HeaderMenuController( xContext,true )
64 FooterMenuController::~FooterMenuController()
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */