Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
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 .
18 : */
19 :
20 : #include <ctrlfactoryimpl.hxx>
21 :
22 0 : const SfxMenuCtrlFactory& SfxMenuCtrlFactArr_Impl::operator []( size_t i ) const
23 : {
24 0 : return maData[i];
25 : }
26 :
27 0 : SfxMenuCtrlFactory& SfxMenuCtrlFactArr_Impl::operator []( size_t i )
28 : {
29 0 : return maData[i];
30 : }
31 :
32 500 : void SfxMenuCtrlFactArr_Impl::push_back( SfxMenuCtrlFactory* p )
33 : {
34 500 : maData.push_back(p);
35 500 : }
36 :
37 0 : size_t SfxMenuCtrlFactArr_Impl::size() const
38 : {
39 0 : return maData.size();
40 : }
41 :
42 0 : const SfxStbCtrlFactory& SfxStbCtrlFactArr_Impl::operator []( size_t i ) const
43 : {
44 0 : return maData[i];
45 : }
46 :
47 54011 : SfxStbCtrlFactory& SfxStbCtrlFactArr_Impl::operator []( size_t i )
48 : {
49 54011 : return maData[i];
50 : }
51 :
52 1230 : void SfxStbCtrlFactArr_Impl::push_back( SfxStbCtrlFactory* p )
53 : {
54 1230 : maData.push_back(p);
55 1230 : }
56 :
57 34937 : size_t SfxStbCtrlFactArr_Impl::size() const
58 : {
59 34937 : return maData.size();
60 : }
61 :
62 0 : const SfxTbxCtrlFactory& SfxTbxCtrlFactArr_Impl::operator []( size_t i ) const
63 : {
64 0 : return maData[i];
65 : }
66 :
67 7724435 : SfxTbxCtrlFactory& SfxTbxCtrlFactArr_Impl::operator []( size_t i )
68 : {
69 7724435 : return maData[i];
70 : }
71 :
72 8760 : void SfxTbxCtrlFactArr_Impl::push_back( SfxTbxCtrlFactory* p )
73 : {
74 8760 : maData.push_back(p);
75 8760 : }
76 :
77 114355 : size_t SfxTbxCtrlFactArr_Impl::size() const
78 : {
79 114355 : return maData.size();
80 648 : }
81 :
82 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|