Please delete it.
Thank you
Damjan
On Wed, Oct 2, 2019 at 2:33 AM Don Lewis wrote:
> 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 + 147) void SAL_CALL
> ScriptProtocolHandler::dispatchWithNotification(
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 148) const URL&
> aURL, const Sequence < PropertyValue >& lArgs,
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 149) const
> Reference< XDispatchResultListener >& xListener )
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 150) throw (
> RuntimeException )
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 151) {
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 152)
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 153) sal_Bool
> bSuccess = sal_False;
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 154) Any
> invokeResult;
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 155) bool
> bCaughtException = sal_False;
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 156) Any
> aException;
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 157)
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 158) if (
> m_bInitialised )
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 159) {
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 160) try
> cdf0e10c (rcweir 2011-08-16 17:05:51 + 161) {
> 5168e59c (mseidel2019-08-19 18:28:35 +0200 162)
> printf("ScriptProtocolHandler::dispatchWithNotification()\n");
> 5168e59c (mseidel2019-08-19 18:28:35 +0200 163)
> ::rtl::OUString xStringUri = ::rtl::Uri::decode( aURL.Complete,
> 5168e59c (mseidel2019-08-19 18:28:35 +0200 164)
> rtl_UriDecodeWithCharset, RTL_TEXTENCODING_UTF8 );
> 5168e59c (mseidel2019-08-19 18:28:35 +0200 165) bool
> bIsDocumentScript = ( xStringUri.indexOfAsciiL( RTL_CONSTASCII_STRINGPARAM(
> "document" ) ) !=-1 );
> 5168e59c (mseidel2019-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 + 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
>
>