summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-12 11:00:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-12 11:43:51 +0000
commit80e33b0cf3dbb5cfec90daf22068a71fb2669c4a (patch)
tree6273046de624b99359e8c0ea5e533e6e3a153382 /svl
parentda91ce535e51c814d56a6b1eddb44b5d71989261 (diff)
ditch SfxULongRanges
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/nranges.hxx4
-rw-r--r--svl/source/items/itemset.cxx6
-rw-r--r--svl/source/items/nranges.cxx24
3 files changed, 0 insertions, 34 deletions
diff --git a/svl/inc/svl/nranges.hxx b/svl/inc/svl/nranges.hxx
index badb3e924827..84f0716f8a0e 100644
--- a/svl/inc/svl/nranges.hxx
+++ b/svl/inc/svl/nranges.hxx
@@ -41,9 +41,6 @@
#include <svl/nranges.hxx>
#undef NUMTYPE
-#define NUMTYPE sal_uLong
-#define SfxNumRanges SfxULongRanges
-#include <svl/nranges.hxx>
#define _SFXNRANGES_HXX
@@ -62,7 +59,6 @@ public:
SfxNumRanges() : _pRanges( 0 ) {}
SfxNumRanges( const SfxNumRanges &rOrig );
SfxNumRanges( NUMTYPE nWhich1, NUMTYPE nWhich2 );
- SfxNumRanges( NUMTYPE_ARG nWh1, NUMTYPE_ARG nWh2, NUMTYPE_ARG nNull, ... );
SfxNumRanges( const NUMTYPE* nNumTable );
~SfxNumRanges()
{ delete [] _pRanges; }
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index b526749bec48..9eba80689b54 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -58,12 +58,6 @@ DBG_NAME(SfxItemSet)
#undef NUMTYPE
#undef SfxNumRanges
-#define NUMTYPE sal_uLong
-#define SfxNumRanges SfxULongRanges
-#include "nranges.cxx"
-#undef NUMTYPE
-#undef SfxNumRanges
-
//========================================================================
#ifdef DBG_UTIL
diff --git a/svl/source/items/nranges.cxx b/svl/source/items/nranges.cxx
index c3d89d8dec48..c7bf2e88b66c 100644
--- a/svl/source/items/nranges.cxx
+++ b/svl/source/items/nranges.cxx
@@ -190,30 +190,6 @@ SfxNumRanges::SfxNumRanges( NUMTYPE nWhich1, NUMTYPE nWhich2 )
//------------------------------------------------------------------------
-SfxNumRanges::SfxNumRanges( NUMTYPE_ARG nWh0, NUMTYPE_ARG nWh1, NUMTYPE_ARG nNull, ... )
-
-/** <H3>Description</H3>
-
- Constructs an SfxNumRanges-instance from more than one sorted ranges of
- NUMTYPEs terminated with one 0.
-
- precondition: for each n >= 0 && n < nArgs
- nWh(2n) <= nWh(2n+1) && ( nWh(2n+2)-nWh(2n+1) ) > 1
-*/
-
-{
- va_list pArgs;
- va_start( pArgs, nNull );
- InitializeRanges_Impl(
- _pRanges, pArgs, sal::static_int_cast< NUMTYPE >(nWh0),
- sal::static_int_cast< NUMTYPE >(nWh1),
- sal::static_int_cast< NUMTYPE >(nNull));
- va_end(pArgs);
- DBG_CHECK_RANGES(NUMTYPE, _pRanges);
-}
-
-//------------------------------------------------------------------------
-
SfxNumRanges::SfxNumRanges( const NUMTYPE* pArr )
/** <H3>Description</H3>