Branch libreoffice-5-0-4
[LibreOffice.git] / sfx2 / source / appl / shellimpl.cxx
blob84ed3de3f57d3df10a4ae177e524f8936f084e1f
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 <shellimpl.hxx>
22 SfxObjectShellArr_Impl::iterator SfxObjectShellArr_Impl::begin()
24 return maData.begin();
27 SfxObjectShellArr_Impl::iterator SfxObjectShellArr_Impl::end()
29 return maData.end();
32 const SfxObjectShell* SfxObjectShellArr_Impl::operator[] ( size_t i ) const
34 return maData[i];
37 SfxObjectShell* SfxObjectShellArr_Impl::operator[] ( size_t i )
39 return maData[i];
42 void SfxObjectShellArr_Impl::erase( iterator it )
44 maData.erase(it);
47 void SfxObjectShellArr_Impl::push_back( SfxObjectShell* p )
49 maData.push_back(p);
52 size_t SfxObjectShellArr_Impl::size() const
54 return maData.size();
57 SfxViewFrameArr_Impl::iterator SfxViewFrameArr_Impl::begin()
59 return maData.begin();
62 SfxViewFrameArr_Impl::iterator SfxViewFrameArr_Impl::end()
64 return maData.end();
67 const SfxViewFrame* SfxViewFrameArr_Impl::operator[] ( size_t i ) const
69 return maData[i];
72 SfxViewFrame* SfxViewFrameArr_Impl::operator[] ( size_t i )
74 return maData[i];
77 void SfxViewFrameArr_Impl::erase( iterator it )
79 maData.erase(it);
82 void SfxViewFrameArr_Impl::push_back( SfxViewFrame* p )
84 maData.push_back(p);
87 size_t SfxViewFrameArr_Impl::size() const
89 return maData.size();
92 SfxViewShellArr_Impl::iterator SfxViewShellArr_Impl::begin()
94 return maData.begin();
97 SfxViewShellArr_Impl::iterator SfxViewShellArr_Impl::end()
99 return maData.end();
102 const SfxViewShell* SfxViewShellArr_Impl::operator[] ( size_t i ) const
104 return maData[i];
107 SfxViewShell* SfxViewShellArr_Impl::operator[] ( size_t i )
109 return maData[i];
112 void SfxViewShellArr_Impl::erase( iterator it )
114 maData.erase(it);
117 void SfxViewShellArr_Impl::push_back( SfxViewShell* p )
119 maData.push_back(p);
122 size_t SfxViewShellArr_Impl::size() const
124 return maData.size();
127 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */