summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/libdjvu/DataPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/DataPool.cpp')
-rw-r--r--kviewshell/plugins/djvu/libdjvu/DataPool.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/DataPool.cpp b/kviewshell/plugins/djvu/libdjvu/DataPool.cpp
index 1190292e..176d3915 100644
--- a/kviewshell/plugins/djvu/libdjvu/DataPool.cpp
+++ b/kviewshell/plugins/djvu/libdjvu/DataPool.cpp
@@ -187,7 +187,7 @@ DataPool::OpenFiles_File::add_pool(GP<DataPool> &pool)
DEBUG_MSG("DataPool::OpenFiles_File::add_pool: pool=" << (void *) pool << "\n");
DEBUG_MAKE_INDENT(3);
GCriticalSectionLock lock(&pools_lock);
- if (!pools_list.contains(pool))
+ if (!pools_list.tqcontains(pool))
pools_list.append(pool);
return pools_list.size();
}
@@ -381,14 +381,14 @@ FCPools::add_pool(const GURL &url, GP<DataPool> pool)
if (url.is_local_file_url())
{
GPList<DataPool> list;
- GPosition pos(map.contains(url));
+ GPosition pos(map.tqcontains(url));
if (! pos)
{
map[url]=list;
- pos=map.contains(url);
+ pos=map.tqcontains(url);
}
GPList<DataPool> &plist=map[pos];
- if (!plist.contains(pool))
+ if (!plist.tqcontains(pool))
plist.append(pool);
}
clean();
@@ -403,7 +403,7 @@ FCPools::get_pool(const GURL &url, int start, int length)
if (url.is_local_file_url())
{
GCriticalSectionLock lock(&map_lock);
- GPosition pos(map.contains(url));
+ GPosition pos(map.tqcontains(url));
if (pos)
{
GPList<DataPool> &plist=map[pos];
@@ -433,7 +433,7 @@ FCPools::del_pool(const GURL &url, GP<DataPool> pool)
if (url.is_local_file_url())
{
GPosition pos;
- if (map.contains(url, pos))
+ if (map.tqcontains(url, pos))
{
GPList<DataPool> &list=map[pos];
GPosition list_pos;
@@ -458,7 +458,7 @@ FCPools::load_file(const GURL &url)
if (url.is_local_file_url())
{
GPosition pos;
- if (map.contains(url, pos))
+ if (map.tqcontains(url, pos))
{
// We make here a copy of the list because DataPool::load_file()
// will call FCPools::del_pool(), which will modify the list