basegfx/test/basegfx2d.cxx | 5 ++--- basegfx/test/boxclipper.cxx | 4 ++-- basegfx/test/boxclipper.hxx | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 5 deletions(-)
New commits: commit 2f4d7b63df15d8cd4713e800332a3b05bb068cc4 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Apr 9 10:36:16 2014 +0200 Clean up function declarations Change-Id: Id79786060f3485c9c60f5561bb9590179947b3ce diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx index 3a3542c..a7706fd 100644 --- a/basegfx/test/basegfx2d.cxx +++ b/basegfx/test/basegfx2d.cxx @@ -47,13 +47,12 @@ #include <iostream> #include <fstream> -using namespace ::basegfx; +#include <boxclipper.hxx> +using namespace ::basegfx; namespace basegfx2d { - extern double getRandomOrdinal( const ::std::size_t n ); - class b2dsvgdimpex : public CppUnit::TestFixture { private: diff --git a/basegfx/test/boxclipper.cxx b/basegfx/test/boxclipper.cxx index 9047b3c..57cbd3f 100644 --- a/basegfx/test/boxclipper.cxx +++ b/basegfx/test/boxclipper.cxx @@ -36,9 +36,9 @@ #include <boost/bind.hpp> -using namespace ::basegfx; +#include <boxclipper.hxx> -extern double getRandomOrdinal( const ::std::size_t n ); +using namespace ::basegfx; namespace basegfx2d { diff --git a/basegfx/test/boxclipper.hxx b/basegfx/test/boxclipper.hxx new file mode 100644 index 0000000..70eed2a --- /dev/null +++ b/basegfx/test/boxclipper.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_BASEGFX_TEST_BOXCLIPPER_HXX +#define INCLUDED_BASEGFX_TEST_BOXCLIPPER_HXX + +#include <sal/config.h> + +#include <cstddef> + +namespace basegfx2d { + +double getRandomOrdinal( const ::std::size_t n ); + +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits