Same function implemented 6 times in calc tests

Marcos Souza marcos.souza.org at gmail.com
Mon Jan 28 07:16:44 PST 2013


Hi guys!

While I was looking at some STRINGPARAM macros in calc, I saw the function
createFileURL is implemented several times:

http://opengrok.libreoffice.org/search?q=void+createFileURL&project=core&defs=&refs=&path=sc&hist=

And they are all equal. In UnoApiTest exists a createFileURL too, and this
is used just in one place in all LO code...

Can I get ride of all this and make just one function and call it in every
place?

If yes, how can I proceed? Where can I create this function?

Thanks since now!

-- 
Att,

Marcos Paulo de Souza
Acadêmico de Ciencia da Computação - FURB - SC
Github: https://github.com/marcosps/
"Uma vida sem desafios é uma vida sem razão"
"A life without challenges, is a non reason life"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130128/6c2f426e/attachment.html>


More information about the LibreOffice mailing list