Kaydet (Commit) 091742e8 authored tarafından David Tardon's avatar David Tardon

do not forward-declare templates

Change-Id: I3b0a145f70406f0c8a12b6c4b7876c4148f76e93
üst 92f66c58
......@@ -19,6 +19,8 @@
#ifndef INCLUDED_SFX2_IPCLIENT_HXX
#define INCLUDED_SFX2_IPCLIENT_HXX
#include <boost/rational.hpp>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
......@@ -34,9 +36,6 @@ class SfxInPlaceClient_Impl;
class SfxViewShell;
class SfxObjectShell;
namespace vcl { class Window; }
namespace boost { template<typename T> class rational; }
class SFX2_DLLPUBLIC SfxInPlaceClient
{
......
......@@ -19,6 +19,8 @@
#ifndef INCLUDED_SFX2_VIEWFRM_HXX
#define INCLUDED_SFX2_VIEWFRM_HXX
#include <boost/rational.hpp>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
......@@ -43,7 +45,6 @@ class SfxProgress;
class SvData;
class SfxViewShell;
class SystemWindow;
namespace boost { template<typename T> class rational; }
class Point;
class Size;
class SfxChildWindow;
......
......@@ -35,11 +35,11 @@
#include <tools/gen.hxx>
#include <tools/errcode.hxx>
#include <vcl/jobset.hxx>
#include <boost/rational.hpp>
#include <vector>
class SfxBaseController;
class Size;
namespace boost { template<typename T> class rational; }
namespace vcl { class Window; }
class KeyEvent;
class WorkWindow;
......
......@@ -22,12 +22,12 @@
#include <svtools/svtdllapi.h>
#include <tools/stream.hxx>
#include <boost/rational.hpp>
#include <vector>
class Point;
class Rectangle;
class Size;
namespace boost { template<typename T> class rational; }
class IMapObject;
typedef ::std::vector< IMapObject* > IMapObjectList_impl;
......
......@@ -19,12 +19,12 @@
#ifndef INCLUDED_SVTOOLS_IMAPCIRC_HXX
#define INCLUDED_SVTOOLS_IMAPCIRC_HXX
#include <boost/rational.hpp>
#include <svtools/svtdllapi.h>
#include <tools/gen.hxx>
#include <svtools/imapobj.hxx>
namespace boost { template<typename T> class rational; }
class SVT_DLLPUBLIC IMapCircleObject : public IMapObject
{
Point aCenter;
......
......@@ -20,12 +20,12 @@
#ifndef INCLUDED_SVTOOLS_IMAPPOLY_HXX
#define INCLUDED_SVTOOLS_IMAPPOLY_HXX
#include <boost/rational.hpp>
#include <svtools/svtdllapi.h>
#include <svtools/imapobj.hxx>
#include <tools/poly.hxx>
namespace boost { template<typename T> class rational; }
class SVT_DLLPUBLIC IMapPolygonObject : public IMapObject
{
Polygon aPoly;
......
......@@ -19,12 +19,12 @@
#ifndef INCLUDED_SVTOOLS_IMAPRECT_HXX
#define INCLUDED_SVTOOLS_IMAPRECT_HXX
#include <boost/rational.hpp>
#include <svtools/svtdllapi.h>
#include <svtools/imapobj.hxx>
#include <tools/gen.hxx>
namespace boost { template<typename T> class rational; }
class SVT_DLLPUBLIC IMapRectangleObject : public IMapObject
{
Rectangle aRect;
......
......@@ -20,6 +20,8 @@
#ifndef INCLUDED_SVX_SDR_PROPERTIES_PROPERTIES_HXX
#define INCLUDED_SVX_SDR_PROPERTIES_PROPERTIES_HXX
#include <boost/rational.hpp>
#include <sal/types.h>
#include <svx/svxdllapi.h>
......@@ -30,7 +32,6 @@ class SdrObject;
class SfxItemSet;
class SfxPoolItem;
class SfxStyleSheet;
namespace boost { template<typename T> class rational; }
class SfxItemPool;
class SdrModel;
......
......@@ -34,6 +34,7 @@
#include <vector>
#include <boost/intrusive_ptr.hpp>
#include <boost/rational.hpp>
#include <mdds/flat_segment_tree.hpp>
namespace editeng { class SvxBorderLine; }
......@@ -69,7 +70,6 @@ class RefMovedHint;
}
namespace boost { template<typename T> class rational; }
class OutputDevice;
class SfxItemPoolCache;
class SvtListener;
......
......@@ -20,6 +20,8 @@
#ifndef INCLUDED_SC_INC_PATATTR_HXX
#define INCLUDED_SC_INC_PATATTR_HXX
#include <boost/rational.hpp>
#include <svl/poolitem.hxx>
#include <svl/itemset.hxx>
#include <unotools/fontcvt.hxx>
......@@ -28,7 +30,6 @@
namespace vcl { class Font; }
class OutputDevice;
namespace boost { template<class T> class rational; }
class ScStyleSheet;
class SvNumberFormatter;
class ScDocument;
......
......@@ -20,9 +20,10 @@
#ifndef INCLUDED_SC_SOURCE_UI_INC_DRAWUTIL_HXX
#define INCLUDED_SC_SOURCE_UI_INC_DRAWUTIL_HXX
#include <boost/rational.hpp>
#include "address.hxx"
namespace boost { template<typename T> class rational; }
class OutputDevice;
class ScDocument;
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
/* -*- 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
......@@ -20,6 +19,8 @@
#ifndef INCLUDED_SVX_INC_SDR_PROPERTIES_ITEMSETTOOLS_HXX
#define INCLUDED_SVX_INC_SDR_PROPERTIES_ITEMSETTOOLS_HXX
#include <boost/rational.hpp>
#include <sal/types.h>
......@@ -28,8 +29,6 @@
class SdrObject;
class SfxItemSet;
class Rectangle;
namespace boost { template<class T> class rational; }
// class to remember broadcast start positions
namespace sdr
......
......@@ -22,6 +22,7 @@
// template class <std::vector>
#include <vector>
#include <boost/rational.hpp>
// datatypes sal_xyz
#include <sal/types.h>
// classes <Point>, <Size> and <Rectangle>
......@@ -32,7 +33,6 @@
class SwViewShell;
class SwRootFrm;
class SwPageFrm;
namespace boost { template<typename T> class rational; }
struct PreviewPage;
/** page preview functionality in the writer
......
......@@ -25,6 +25,7 @@
#include <vcl/timer.hxx>
#include <swrect.hxx>
#include <swtypes.hxx>
#include <boost/rational.hpp>
#include <vector>
class SwViewShell;
......@@ -40,7 +41,6 @@ class SwPageFrm;
class SwRegionRects;
class SwAccessibleMap;
class SdrObject;
namespace boost { template<typename T> class rational; }
class SwPrintData;
class SwPagePreviewLayout;
struct PreviewPage;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment