Fix build error for product TV
[platform/core/multimedia/libmedia-service.git] / plugin / media-ebook-plugin-pdf.cpp
index f9fc74b..d9dd443 100644 (file)
@@ -31,7 +31,7 @@
 using namespace EBook;
 
 Pdf::Pdf(std::string path, std::unique_ptr<IRunnable> runner)
-       : runner(std::move(runner))
+       : _runner(std::move(runner))
 {
        if (path.empty()) {
                LOGE("invalid path");
@@ -56,7 +56,7 @@ bool Pdf::find()
                return false;
 
        for (int n = 0; n < pdf.GetPageCount(); ++n)
-               if (runner->run(parseTextFromPage(n)))
+               if (_runner->run(parseTextFromPage(n)))
                        return true;
 
        return false;
@@ -68,7 +68,7 @@ void Pdf::insert()
                return;
 
        for (int n = 0; n < pdf.GetPageCount(); ++n)
-               runner->run(parseTextFromPage(n));
+               _runner->run(parseTextFromPage(n));
 }
 
 std::string Pdf::parseTextFromPage(unsigned int index)