Kaydet (Commit) 81819527 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Fraction: Revert "do not forward-declare templates"

This reverts commit 091742e8.
üst dc90c5a3
......@@ -19,8 +19,6 @@
#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>
......@@ -36,6 +34,9 @@ class SfxInPlaceClient_Impl;
class SfxViewShell;
class SfxObjectShell;
namespace vcl { class Window; }
namespace boost { template<typename T> class rational; }
class SFX2_DLLPUBLIC SfxInPlaceClient
{
......
......@@ -19,8 +19,6 @@
#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>
......@@ -45,6 +43,7 @@ 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,8 +20,6 @@
#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>
......@@ -32,6 +30,7 @@ class SdrObject;
class SfxItemSet;
class SfxPoolItem;
class SfxStyleSheet;
namespace boost { template<typename T> class rational; }
class SfxItemPool;
class SdrModel;
......
......@@ -34,7 +34,6 @@
#include <vector>
#include <boost/intrusive_ptr.hpp>
#include <boost/rational.hpp>
#include <mdds/flat_segment_tree.hpp>
namespace editeng { class SvxBorderLine; }
......@@ -70,6 +69,7 @@ class RefMovedHint;
}
namespace boost { template<typename T> class rational; }
class OutputDevice;
class SfxItemPoolCache;
class SvtListener;
......
......@@ -20,8 +20,6 @@
#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>
......@@ -30,6 +28,7 @@
namespace vcl { class Font; }
class OutputDevice;
namespace boost { template<class T> class rational; }
class ScStyleSheet;
class SvNumberFormatter;
class ScDocument;
......
......@@ -20,10 +20,9 @@
#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
......@@ -19,8 +20,6 @@
#ifndef INCLUDED_SVX_INC_SDR_PROPERTIES_ITEMSETTOOLS_HXX
#define INCLUDED_SVX_INC_SDR_PROPERTIES_ITEMSETTOOLS_HXX
#include <boost/rational.hpp>
#include <sal/types.h>
......@@ -29,6 +28,8 @@
class SdrObject;
class SfxItemSet;
class Rectangle;
namespace boost { template<class T> class rational; }
// class to remember broadcast start positions
namespace sdr
......
......@@ -22,7 +22,6 @@
// template class <std::vector>
#include <vector>
#include <boost/rational.hpp>
// datatypes sal_xyz
#include <sal/types.h>
// classes <Point>, <Size> and <Rectangle>
......@@ -33,6 +32,7 @@
class SwViewShell;
class SwRootFrm;
class SwPageFrm;
namespace boost { template<typename T> class rational; }
struct PreviewPage;
/** page preview functionality in the writer
......
......@@ -25,7 +25,6 @@
#include <vcl/timer.hxx>
#include <swrect.hxx>
#include <swtypes.hxx>
#include <boost/rational.hpp>
#include <vector>
class SwViewShell;
......@@ -41,6 +40,7 @@ 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