← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~zorba-coders/zorba/bug-1158052-read-pdf into lp:zorba/read-pdf-module

 

Paul J. Lucas has proposed merging lp:~zorba-coders/zorba/bug-1158052-read-pdf into lp:zorba/read-pdf-module.

Commit message:
Corresponding changes for bug #1158052.

Requested reviews:
  Paul J. Lucas (paul-lucas)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-1158052-read-pdf/+merge/170949

Corresponding changes for bug #1158052.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1158052-read-pdf/+merge/170949
Your team Zorba Coders is subscribed to branch lp:zorba/read-pdf-module.
=== modified file 'src/read-pdf.xq.src/read-pdf.cpp'
--- src/read-pdf.xq.src/read-pdf.cpp	2013-06-12 14:01:46 +0000
+++ src/read-pdf.xq.src/read-pdf.cpp	2013-06-22 13:16:27 +0000
@@ -537,7 +537,8 @@
       std::stringstream* ss = osCreator->getSS(i);
       std::string ssString = ss->str();
       vec.push_back(
-          itemFactory->createBase64Binary((const unsigned char*)ssString.c_str(), ssString.size()));
+        itemFactory->createBase64Binary(ssString.c_str(), ssString.size(), false)
+      );
     }
 
     osCreator->close(env);
@@ -876,3 +877,5 @@
 {
   return new zorba::readpdf::ReadPdfModule();
 }
+
+/* vim:set et sw=2 ts=2: */


Follow ups