summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-25 23:31:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-26 06:59:32 +0000
commit20f2a6b3f719e83a0bef77c214c622026dbe5aca (patch)
treed3d59909a14c4228ab39fe3970bfe816a36424ac /svl
parente5c1e15eda804463c9021664e868979b019c203e (diff)
untangle .cxx include in itemset.cxx
Change-Id: I0102ad82d82c8f0e9f8939512bae83424613c54e Reviewed-on: https://gerrit.libreoffice.org/30281 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/Library_svl.mk1
-rw-r--r--svl/source/items/itemset.cxx4
-rw-r--r--svl/source/items/nranges.cxx5
3 files changed, 6 insertions, 4 deletions
diff --git a/svl/Library_svl.mk b/svl/Library_svl.mk
index 8e7b9a2f1273..dc4e70a8b619 100644
--- a/svl/Library_svl.mk
+++ b/svl/Library_svl.mk
@@ -91,6 +91,7 @@ $(eval $(call gb_Library_add_exception_objects,svl,\
svl/source/items/itemset \
svl/source/items/lckbitem \
svl/source/items/macitem \
+ svl/source/items/nranges \
svl/source/items/poolcach \
svl/source/items/poolio \
svl/source/items/poolitem \
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index f8e953ac80ad..c10430514061 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -36,10 +36,10 @@
#include <tools/solar.h>
#include <rtl/string.hxx>
-static const sal_uInt16 nInitCount = 10; // Single USHORTs => 5 pairs without '0'
-#include "nranges.cxx"
#include "poolio.hxx"
+static const sal_uInt16 nInitCount = 10; // Single USHORTs => 5 pairs without '0'
+
/**
* Ctor for a SfxItemSet with exactly the Which Ranges, which are known to
* the supplied SfxItemPool.
diff --git a/svl/source/items/nranges.cxx b/svl/source/items/nranges.cxx
index b445cb7f3272..85ed671e9122 100644
--- a/svl/source/items/nranges.cxx
+++ b/svl/source/items/nranges.cxx
@@ -16,13 +16,14 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <svl/nranges.hxx>
#include <cassert>
+#include <cstring>
#include <vector>
-// compiled via include from itemset.cxx only!
-#include <memory>
#include <osl/diagnose.h>
+#include <tools/debug.hxx>
#ifdef DBG_UTIL