[Libreoffice-commits] online.git: wsd/TileCache.cpp wsd/TileCache.hpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jul 31 13:02:50 UTC 2018


 wsd/TileCache.cpp |    5 -----
 wsd/TileCache.hpp |    1 -
 2 files changed, 6 deletions(-)

New commits:
commit 30cdbc330b0fe0018bf14c9c932306461382b110
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Tue Jul 31 15:02:25 2018 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Tue Jul 31 15:02:25 2018 +0200

    Unused method
    
    Change-Id: I53c2a33313fbcd3cd0484c0e8a27985c673ad04e

diff --git a/wsd/TileCache.cpp b/wsd/TileCache.cpp
index efa68e4ba..cb9e2a354 100644
--- a/wsd/TileCache.cpp
+++ b/wsd/TileCache.cpp
@@ -136,11 +136,6 @@ void TileCache::forgetTileBeingRendered(std::shared_ptr<TileCache::TileBeingRend
     _tilesBeingRendered.erase(tileBeingRendered->getCacheName());
 }
 
-bool TileCache::hasTileBeingRendered(const TileDesc& tile)
-{
-    return findTileBeingRendered(tile) != nullptr;
-}
-
 std::unique_ptr<std::fstream> TileCache::lookupTile(const TileDesc& tile)
 {
     const std::string fileName = _cacheDir + "/" + cacheFileName(tile);
diff --git a/wsd/TileCache.hpp b/wsd/TileCache.hpp
index 4fc32edea..63adad265 100644
--- a/wsd/TileCache.hpp
+++ b/wsd/TileCache.hpp
@@ -80,7 +80,6 @@ public:
     void saveLastModified(const Poco::Timestamp& timestamp);
 
     void forgetTileBeingRendered(std::shared_ptr<TileCache::TileBeingRendered> tileBeingRendered, const TileDesc& tile);
-    bool hasTileBeingRendered(const TileDesc& tile);
 
     void setThreadOwner(const std::thread::id &id) { _owner = id; }
     void assertCorrectThread();


More information about the Libreoffice-commits mailing list