Avoid potential negative array index access to cached text.
[LibreOffice.git] / vcl / inc / graphic / VectorGraphicLoader.hxx
blob55714fd2be9e3dc46e275ad15c6afe6e62c73fbc
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 */
11 #pragma once
13 #include <vcl/vectorgraphicdata.hxx>
14 #include <vcl/BinaryDataContainer.hxx>
15 #include <memory>
17 namespace vcl
19 std::shared_ptr<VectorGraphicData> loadVectorGraphic(BinaryDataContainer const& rDataContainer,
20 VectorGraphicDataType eType);
23 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */