summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-19 08:54:09 +0100
committerAndras Timar <andras.timar@collabora.com>2015-04-28 10:01:17 +0200
commit7c40a11a13fd969c8bcb7d7d0683e46a7ea1f4c9 (patch)
treece7a740b55b07ba174eea1371d896664aefedf11 /svx
parent2ed645118617cb3adc9c150ff7bb8f55553f507b (diff)
loplugin:externandnotdefined
Change-Id: I94271681ea4ec7617eaf706fb443ebb9d1b0bc15 (cherry picked from commit cb3518f331a99ff9a3187286e9e2b695df1c0292)
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/getallcharpropids.hxx35
-rw-r--r--svx/source/svdraw/svdedtv1.cxx1
-rw-r--r--svx/source/table/cell.cxx3
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