Re: [dev] rtl::OUString has no member named 'toString'

2010-09-16 Thread Stephan Bergmann

On 09/16/10 15:19, Pavel Laštovička wrote:

On 16.9.10 13:44, Stephan Bergmann wrote:

On 09/16/10 12:35, Pavel Laštovička wrote:

I get these errors during compilation of configmgr with profiling
enabled (-DTIMELOG).
For example:
RTL_LOGFILE_CONTEXT_TRACE1(aLog, "component: %s",
RTL_LOGFILE_OU2A(_aRequest.getComponentName().toString()) );


Which version of OOo, and which file and line exactly?


For example configmgr/source/backend/backendaccess.cxx, line 737.
Version OOO320m19. But the error occurs in more that one file.


Short answer: Use recent code, OOO330_m7 or DEV300_m87.  Longer answer: 
At least in this particular case, it should help to simply drop the 
".toString()".


-Stephan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] rtl::OUString has no member named 'toString'

2010-09-16 Thread Pavel Laštovička

 On 16.9.10 13:44, Stephan Bergmann wrote:

On 09/16/10 12:35, Pavel Laštovička wrote:

I get these errors during compilation of configmgr with profiling
enabled (-DTIMELOG).
For example:
RTL_LOGFILE_CONTEXT_TRACE1(aLog, "component: %s",
RTL_LOGFILE_OU2A(_aRequest.getComponentName().toString()) );


Which version of OOo, and which file and line exactly?


For example configmgr/source/backend/backendaccess.cxx, line 737.
Version OOO320m19. But the error occurs in more that one file.

Pavel

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] rtl::OUString has no member named 'toString'

2010-09-16 Thread Stephan Bergmann

On 09/16/10 12:35, Pavel Laštovička wrote:

I get these errors during compilation of configmgr with profiling
enabled (-DTIMELOG).
For example:
RTL_LOGFILE_CONTEXT_TRACE1(aLog, "component: %s",
RTL_LOGFILE_OU2A(_aRequest.getComponentName().toString()) );


Which version of OOo, and which file and line exactly?

-Stephan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] rtl::OUString has no member named 'toString'

2010-09-16 Thread Pavel Laštovička

 Hello,

I get these errors during compilation of configmgr with profiling enabled 
(-DTIMELOG).

For example:
   RTL_LOGFILE_CONTEXT_TRACE1(aLog, "component: %s", 
RTL_LOGFILE_OU2A(_aRequest.getComponentName().toString()) );


How it can be properly rewritten? For now I have compiled the code with 
profiling disabled.


Bye
Pavel

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org