LibreOffice Module vcl (master) 1
UnoBinaryDataContainer.cxx
Go to the documentation of this file.
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 */
10
12
14
15using namespace css;
16
17css::uno::Sequence<sal_Int8> SAL_CALL UnoBinaryDataContainer::getCopyAsByteSequence()
18{
20 return css::uno::Sequence<sal_Int8>();
21
22 size_t nSize = maBinaryDataContainer.getSize();
23
24 css::uno::Sequence<sal_Int8> aData(nSize);
25
27
28 return aData;
29}
30
31/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
BinaryDataContainer maBinaryDataContainer
css::uno::Sequence< sal_Int8 > SAL_CALL getCopyAsByteSequence() override
constexpr OUStringLiteral aData