summaryrefslogtreecommitdiffstats
path: root/sw/inc/txatritr.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-02-20 10:48:55 +0100
committerMichael Stahl <mstahl@redhat.com>2014-02-20 10:48:55 +0100
commit4137f39d7b13c0ad2e649d7efb02ecfc14a31a25 (patch)
treec648feebc267f58186c467955ebc76f24854dc5e /sw/inc/txatritr.hxx
parentDon't bother mentioning the Tru64 'setld' package format (diff)
downloadcore-4137f39d7b13c0ad2e649d7efb02ecfc14a31a25.tar.gz
core-4137f39d7b13c0ad2e649d7efb02ecfc14a31a25.zip
Revert "fdo#63154 Remove unused solar.h reference in sw."
sal_uIntPtr should only be used to represent pointers cast to integers. This reverts commit 067d08029384af6e620f0fc48e31ff2a740e1fc8.
Diffstat (limited to 'sw/inc/txatritr.hxx')
-rw-r--r--sw/inc/txatritr.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/inc/txatritr.hxx b/sw/inc/txatritr.hxx
index 6a542ebf6b99..5ee6d11b23f3 100644
--- a/sw/inc/txatritr.hxx
+++ b/sw/inc/txatritr.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SW_INC_TXATRITR_HXX
#define INCLUDED_SW_INC_TXATRITR_HXX
+#include <tools/solar.h>
#include <sal/types.h>
#include <editeng/langitem.hxx>
#include <hintids.hxx>
@@ -29,6 +30,7 @@ class SwTxtNode;
class SwTxtAttr;
class SfxPoolItem;
+
class SwScriptIterator
{
const OUString& m_rText;
@@ -47,6 +49,7 @@ public:
const OUString& GetText() const { return m_rText; }
};
+
class SwTxtAttrIterator
{
SwScriptIterator aSIter;
@@ -70,6 +73,7 @@ public:
sal_Int32 GetChgPos() const { return nChgPos; }
};
+
class SwLanguageIterator : public SwTxtAttrIterator
{
public:
@@ -83,6 +87,7 @@ public:
{ return ((SvxLanguageItem&)GetAttr()).GetValue(); }
};
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */