diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-30 09:43:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-30 12:47:50 +0100 |
commit | b8d3a13abe531e2c6ef2451eba8247477b453354 (patch) | |
tree | 4516482e1e7f183a7f51527ce172f799daf2baa4 /sw | |
parent | 1d76bc0d90d1151c03b0cf13265df5df9b3ffb41 (diff) |
move SwSortElements to .cxx
Change-Id: I67e018b6994fb40e51d32972ae58282cdab3daa6
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/docsort.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/inc/docsort.hxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/doc/docsort.cxx b/sw/source/core/doc/docsort.cxx index bb78bd45a41b..729ef6e0abc3 100644 --- a/sw/source/core/doc/docsort.cxx +++ b/sw/source/core/doc/docsort.cxx @@ -29,6 +29,7 @@ #include <hintids.hxx> #include <rtl/math.hxx> +#include <svl/svarray.hxx> #include <unotools/collatorwrapper.hxx> #include <unotools/localedatawrapper.hxx> #include <com/sun/star/lang/XMultiServiceFactory.hpp> @@ -67,6 +68,11 @@ lang::Locale* SwSortElement::pLocale = 0; String* SwSortElement::pLastAlgorithm = 0; LocaleDataWrapper* SwSortElement::pLclData = 0; +// List of all sorted elements +typedef SwSortElement* SwSortElementPtr; + +SV_DECL_PTRARR_SORT(SwSortElements, SwSortElementPtr, 0) + SV_IMPL_OP_PTRARR_SORT( SwSortElements, SwSortElementPtr ); /*-------------------------------------------------------------------- diff --git a/sw/source/core/inc/docsort.hxx b/sw/source/core/inc/docsort.hxx index 4254f629997b..03ab7381df22 100644 --- a/sw/source/core/inc/docsort.hxx +++ b/sw/source/core/inc/docsort.hxx @@ -29,7 +29,6 @@ #ifndef _SORT_HXX #define _SORT_HXX -#include <svl/svarray.hxx> #include <ndindex.hxx> #include <vector> @@ -54,11 +53,6 @@ namespace com { } } -// List of all sorted elements -typedef SwSortElement* SwSortElementPtr; - -SV_DECL_PTRARR_SORT(SwSortElements, SwSortElementPtr, 0) - class SwMovedBoxes : public std::vector<const SwTableBox*> { public: |