summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-27 15:45:15 +0200
committerNoel Grandin <noel@peralex.com>2014-02-28 08:32:03 +0200
commit98881b0a5574391dd98ff68d8b7453df1e3ca930 (patch)
tree453c73f56f9628cc0a98b167c58d0680307d9dd1
parente1b49cd30e3a245c236ad512622eeb0685c9d2be (diff)
remove unused code in vcl/ImplRegionBand
ImplRegionBand::IsInside(long, long) ImplRegionBand::IsOver(long, long) Change-Id: I607c589d62a0c9178a32df5cf48fcbe279878030
-rw-r--r--unusedcode.easy2
-rw-r--r--vcl/inc/regband.hxx5
-rw-r--r--vcl/source/gdi/regband.cxx32
3 files changed, 0 insertions, 39 deletions
diff --git a/unusedcode.easy b/unusedcode.easy
index c4da89727fd4..4e9b23878c93 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -24,8 +24,6 @@ GDriveDocument::GDriveDocument(GDriveSession*)
GDriveFolder::GDriveFolder(GDriveSession*)
GDriveProperty::GDriveProperty()
GDriveSession::GDriveSession()
-ImplRegionBand::IsInside(long, long)
-ImplRegionBand::IsOver(long, long)
Json::Json(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Json, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Json> > > const&)
Json::Json(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<libcmis::Property>, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, boost::shared_ptr<libcmis::Property> > > > const&)
Json::swap(Json&)
diff --git a/vcl/inc/regband.hxx b/vcl/inc/regband.hxx
index 5e8f5bdefc5b..0ef560e92e89 100644
--- a/vcl/inc/regband.hxx
+++ b/vcl/inc/regband.hxx
@@ -33,9 +33,6 @@ separation after creation.
The separations are modified with basic clipping functions like Union and
Intersection - the Class will process the clipping for the actual band.
-The actual separations may be checked by functions like IsInside or
-IsOver.
-
*/
// element for the list with x-separations
@@ -113,8 +110,6 @@ public:
void ScaleX( double fHorzScale );
bool IsInside( long nX );
- bool IsInside( long nLeft, long nRight );
- bool IsOver( long nLeft, long nRight );
bool IsEmpty() const { return ((!mpFirstSep) && (!mpFirstBandPoint)); }
diff --git a/vcl/source/gdi/regband.cxx b/vcl/source/gdi/regband.cxx
index 59d9c914799e..1184c0d56459 100644
--- a/vcl/source/gdi/regband.cxx
+++ b/vcl/source/gdi/regband.cxx
@@ -849,38 +849,6 @@ bool ImplRegionBand::IsInside( long nX )
-bool ImplRegionBand::IsOver( long nLeft, long nRight )
-{
- ImplRegionBandSep* pSep = mpFirstSep;
- while ( pSep )
- {
- if ( (pSep->mnXLeft < nRight) && (pSep->mnXRight > nLeft) )
- return true;
-
- pSep = pSep->mpNextSep;
- }
-
- return false;
-}
-
-
-
-bool ImplRegionBand::IsInside( long nLeft, long nRight )
-{
- ImplRegionBandSep* pSep = mpFirstSep;
- while ( pSep )
- {
- if ( (pSep->mnXLeft >= nLeft) && (nRight <= pSep->mnXRight) )
- return true;
-
- pSep = pSep->mpNextSep;
- }
-
- return false;
-}
-
-
-
long ImplRegionBand::GetXLeftBoundary() const
{
DBG_ASSERT( mpFirstSep != NULL, "ImplRegionBand::XLeftBoundary -> no separation in band!" );