[Libreoffice-commits] core.git: svx/inc svx/source

Stephan Bergmann sbergman at redhat.com
Wed Feb 18 23:55:00 PST 2015


 svx/inc/getallcharpropids.hxx  |   35 +++++++++++++++++++++++++++++++++++
 svx/source/svdraw/svdedtv1.cxx |    1 +
 svx/source/table/cell.cxx      |    3 +--
 3 files changed, 37 insertions(+), 2 deletions(-)

New commits:
commit cb3518f331a99ff9a3187286e9e2b695df1c0292
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 19 08:54:09 2015 +0100

    loplugin:externandnotdefined
    
    Change-Id: I94271681ea4ec7617eaf706fb443ebb9d1b0bc15

diff --git a/svx/inc/getallcharpropids.hxx b/svx/inc/getallcharpropids.hxx
new file mode 100644
index 0000000..c52d41b
--- /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 62c4cff..4a3cb0f 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 3468283..595f90a 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


More information about the Libreoffice-commits mailing list