summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-10-23 17:30:09 +0200
committerJan Holesovsky <kendy@collabora.com>2014-10-23 18:34:37 +0200
commit81819527318c583ead77a15e700ebf81e9e41e6e (patch)
tree01a7258260916be46ded0599b3fd7c2c8d06faf9 /sc/inc
parentdc90c5a3955a33e1ae5216640021866be392f2d3 (diff)
Fraction: Revert "do not forward-declare templates"
This reverts commit 091742e86aeb5287f7236f666fee48946ab4c67b.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/column.hxx2
-rw-r--r--sc/inc/patattr.hxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 70482322c617..7386409c4cd2 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -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;
diff --git a/sc/inc/patattr.hxx b/sc/inc/patattr.hxx
index 66bdc7e50edb..67b07f5eaf01 100644
--- a/sc/inc/patattr.hxx
+++ b/sc/inc/patattr.hxx
@@ -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;