It looks like there is some leftover debug code in trunk commit 5168e59c15cb9af435bdca9b78b99d1abe16c58e.
main/scripting/source/protocolhandler/scripthandler.cxx: cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 147) void SAL_CALL ScriptProtocolHandler::dispatchWithNotification( cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 148) const URL& aURL, const Sequence < PropertyValue >& lArgs, cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 149) const Reference< XDispatchResultListener >& xListener ) cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 150) throw ( RuntimeException ) cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 151) { cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 152) cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 153) sal_Bool bSuccess = sal_False; cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 154) Any invokeResult; cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 155) bool bCaughtException = sal_False; cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 156) Any aException; cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 157) cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 158) if ( m_bInitialised ) cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 159) { cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 160) try cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 161) { 5168e59c (mseidel 2019-08-19 18:28:35 +0200 162) printf("ScriptProtocolHandler::dispatchWithNotification()\n"); 5168e59c (mseidel 2019-08-19 18:28:35 +0200 163) ::rtl::OUString xStringUri = ::rtl::Uri::decode( aURL.Complete, 5168e59c (mseidel 2019-08-19 18:28:35 +0200 164) rtl_UriDecodeWithCharset, RTL_TEXTENCODING_UTF8 ); 5168e59c (mseidel 2019-08-19 18:28:35 +0200 165) bool bIsDocumentScript = ( xStringUri.indexOfAsciiL( RTL_CONSTASCII_STRINGPARAM( "document" ) ) !=-1 ); 5168e59c (mseidel 2019-08-19 18:28:35 +0200 166) printf("URI is %s\n", ::rtl::OUStringToOString (xStringUri, RTL_TEXTENCODING_UTF8).pData->buffer); cdf0e10c (rcweir 2011-08-16 17:05:51 +0000 167) I found it because printf was not declared when attempting to build on CentOS 6. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org