403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/editors/pdfedit/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/editors/pdfedit/files/patch-src-kernel-textoutputengines.cc
--- src/kernel/textoutputengines.cc.orig	2009-09-11 12:02:56 UTC
+++ src/kernel/textoutputengines.cc
@@ -232,13 +232,13 @@ namespace {
 			PdfOperator::Operands ops;
 			op->getParameters (ops);
 			assert (1 == ops.size());
-			shared_ptr<CArray> array = IProperty::getSmartCObjectPtr<CArray> (ops.front());
+			boost::shared_ptr<CArray> array = IProperty::getSmartCObjectPtr<CArray> (ops.front());
 			//
 			// Loop through TJ operands either strings or nums
 			//
 			for (size_t i = 0; i < array->getPropertyCount(); ++i)
 			{
-				shared_ptr<IProperty> ip = array->getProperty (i);
+				boost::shared_ptr<IProperty> ip = array->getProperty (i);
 				if (isNumber (ip))
 				{
 					int wMode = s->getFont()->getWMode();
@@ -253,8 +253,8 @@ namespace {
 					// Create Tj with text and add it to output
 					string txt = getStringFromIProperty (ip);
 					PdfOperator::Operands opers;
-					opers.push_back (shared_ptr<CString> (new CString (txt)));
-					shared_ptr<PdfOperator> newop = createOperator ("Tj", opers);
+					opers.push_back (boost::shared_ptr<CString> (new CString (txt)));
+					boost::shared_ptr<PdfOperator> newop = createOperator ("Tj", opers);
 					// Set bbox 
 					BBox bbox;
 					StateUpdater::printTextUpdate (s.get(), txt, &bbox);

Youez - 2016 - github.com/yon3zu
LinuXploit