diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-10-23 17:30:09 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-10-23 18:34:37 +0200 |
commit | 81819527318c583ead77a15e700ebf81e9e41e6e (patch) | |
tree | 01a7258260916be46ded0599b3fd7c2c8d06faf9 /sw | |
parent | dc90c5a3955a33e1ae5216640021866be392f2d3 (diff) |
Fraction: Revert "do not forward-declare templates"
This reverts commit 091742e86aeb5287f7236f666fee48946ab4c67b.
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/pagepreviewlayout.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/viewimp.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/pagepreviewlayout.hxx b/sw/inc/pagepreviewlayout.hxx index 60a55430de1d..90488a1354f7 100644 --- a/sw/inc/pagepreviewlayout.hxx +++ b/sw/inc/pagepreviewlayout.hxx @@ -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 diff --git a/sw/source/core/inc/viewimp.hxx b/sw/source/core/inc/viewimp.hxx index a1969879ff91..ae86642f8d73 100644 --- a/sw/source/core/inc/viewimp.hxx +++ b/sw/source/core/inc/viewimp.hxx @@ -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; |