summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-10-14 14:38:33 +0200
committerDavid Tardon <dtardon@redhat.com>2014-10-14 17:56:23 +0200
commit091742e86aeb5287f7236f666fee48946ab4c67b (patch)
tree34e1f082e973807c012773856d7f572a27504da0 /sc
parent92f66c5813c34ed470cc00f0d83ed4d80ab39f5c (diff)
do not forward-declare templates
Change-Id: I3b0a145f70406f0c8a12b6c4b7876c4148f76e93
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/column.hxx2
-rw-r--r--sc/inc/patattr.hxx3
-rw-r--r--sc/source/ui/inc/drawutil.hxx3
3 files changed, 5 insertions, 3 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 6c33f74bed8d..50204b310c99 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -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;
diff --git a/sc/inc/patattr.hxx b/sc/inc/patattr.hxx
index 67b07f5eaf01..66bdc7e50edb 100644
--- a/sc/inc/patattr.hxx
+++ b/sc/inc/patattr.hxx
@@ -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;
diff --git a/sc/source/ui/inc/drawutil.hxx b/sc/source/ui/inc/drawutil.hxx
index 740ee0380ada..15ef550ee0db 100644
--- a/sc/source/ui/inc/drawutil.hxx
+++ b/sc/source/ui/inc/drawutil.hxx
@@ -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;