diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-11-12 21:55:33 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-11-13 11:03:07 +0100 |
commit | 0ab6b1fc6e84b4f5f3a9c0b93b999aa320a70a0e (patch) | |
tree | 2e79d032317b586ef2b5c4e51d4d0461e6213d9b /sw/inc/splargs.hxx | |
parent | 655248f1b504af18782caaa5b903623145ab80e5 (diff) |
sw: shove 2 global variables into SwHyphIter
Change-Id: I0cb6112b0353a5fd0b4dd571d65f2d656e39ba74
Diffstat (limited to 'sw/inc/splargs.hxx')
-rw-r--r-- | sw/inc/splargs.hxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx index dd1e736fe954..33fe9424fed5 100644 --- a/sw/inc/splargs.hxx +++ b/sw/inc/splargs.hxx @@ -22,12 +22,15 @@ #include <i18nlangtag/lang.h> #include <tools/solar.h> #include <tools/gen.hxx> -#include <limits.h> #include <com/sun/star/linguistic2/XSpellAlternatives.hpp> #include <com/sun/star/linguistic2/XSpellChecker1.hpp> #include <com/sun/star/linguistic2/XHyphenatedWord.hpp> +#include <functional> +#include <limits.h> + +class SwTextFrm; class SwTextNode; class SwIndex; namespace vcl { class Font; } @@ -152,6 +155,14 @@ public: } }; + +namespace sw { + +SwTextFrm * +SwHyphIterCacheLastTxtFrm(SwTextNode *, std::function<SwTextFrm * ()>); + +} + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |