diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-19 08:54:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-19 08:54:23 +0100 |
commit | cb3518f331a99ff9a3187286e9e2b695df1c0292 (patch) | |
tree | 87268677a5b3496d72085116db5df024d6687a08 /svx | |
parent | e382d3782c171bb7962d21662d86669a76ffc8d0 (diff) |
loplugin:externandnotdefined
Change-Id: I94271681ea4ec7617eaf706fb443ebb9d1b0bc15
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/getallcharpropids.hxx | 35 | ||||
-rw-r--r-- | svx/source/svdraw/svdedtv1.cxx | 1 | ||||
-rw-r--r-- | svx/source/table/cell.cxx | 3 |
3 files changed, 37 insertions, 2 deletions
diff --git a/svx/inc/getallcharpropids.hxx b/svx/inc/getallcharpropids.hxx new file mode 100644 index 000000000000..c52d41b689a7 --- /dev/null +++ b/svx/inc/getallcharpropids.hxx @@ -0,0 +1,35 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVX_INC_GETALLCHARPROPIDS_HXX +#define INCLUDED_SVX_INC_GETALLCHARPROPIDS_HXX + +#include <sal/config.h> + +#include <vector> + +#include <sal/types.h> + +class SfxItemSet; + +std::vector<sal_uInt16> GetAllCharPropIds(const SfxItemSet& rSet); + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx index 62c4cff2177f..4a3cb0fc81a5 100644 --- a/svx/source/svdraw/svdedtv1.cxx +++ b/svx/source/svdraw/svdedtv1.cxx @@ -28,6 +28,7 @@ #include <tools/bigint.hxx> #include <vcl/msgbox.hxx> +#include "getallcharpropids.hxx" #include "svdglob.hxx" #include "svx/svditer.hxx" #include "svx/svdstr.hrc" diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 34682832ae3f..595f90aff5e8 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -42,6 +42,7 @@ #include "svx/unoshtxt.hxx" #include "svx/svdmodel.hxx" +#include "getallcharpropids.hxx" #include "tableundo.hxx" #include "cell.hxx" #include "svx/unoshprp.hxx" @@ -139,8 +140,6 @@ SdrText* CellTextProvider::getText(sal_Int32 nIndex) const } -extern std::vector<sal_uInt16> GetAllCharPropIds(const SfxItemSet& rSet); - namespace sdr { namespace properties |