summaryrefslogtreecommitdiffstats
path: root/sdext/source/pdfimport/wrapper/wrapper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-02 11:09:37 +0200
committerNoel Grandin <noel@peralex.com>2015-04-07 10:24:54 +0200
commite4688a3d41265946007c6c9a5c5b5742078c74a3 (patch)
treed57cd9a10d8049f0d8b85f297d1fdead673e5439 /sdext/source/pdfimport/wrapper/wrapper.cxx
parentCoverity#1292911: Capture by reference (diff)
downloadcore-e4688a3d41265946007c6c9a5c5b5742078c74a3.tar.gz
core-e4688a3d41265946007c6c9a5c5b5742078c74a3.zip
loplugin:staticmethods
Change-Id: Ibaad2adabecb878411fdd66383bca91f034477af
Diffstat (limited to 'sdext/source/pdfimport/wrapper/wrapper.cxx')
-rw-r--r--sdext/source/pdfimport/wrapper/wrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index c908fb996580..480a901b250d 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -945,7 +945,7 @@ static bool checkEncryption( const OUString& i_rPa
aPDFFile = OUStringToOString( i_rPath, osl_getThreadTextEncoding() );
pdfparse::PDFReader aParser;
- boost::scoped_ptr<pdfparse::PDFEntry> pEntry( aParser.read( aPDFFile.getStr() ));
+ boost::scoped_ptr<pdfparse::PDFEntry> pEntry( pdfparse::PDFReader::read( aPDFFile.getStr() ));
if( pEntry )
{
pdfparse::PDFFile* pPDFFile = dynamic_cast<pdfparse::PDFFile*>(pEntry.get());