<div dir="ltr"><div><div><div><div><div>Hi guys!<br><br></div>While I was looking at some STRINGPARAM macros in calc, I saw the function createFileURL is implemented several times:<br><br><a href="http://opengrok.libreoffice.org/search?q=void+createFileURL&project=core&defs=&refs=&path=sc&hist=">http://opengrok.libreoffice.org/search?q=void+createFileURL&project=core&defs=&refs=&path=sc&hist=</a><br>
<br></div>And they are all equal. In UnoApiTest exists a createFileURL too, and this is used just in one place in all LO code...<br><br></div>Can I get ride of all this and make just one function and call it in every place?<br>
<br></div>If yes, how can I proceed? Where can I create this function?<br><br></div>Thanks since now!<br clear="all"><div><div><div><div><div><div><br>-- <br>Att,<br><br>Marcos Paulo de Souza<br>Acadêmico de Ciencia da Computação - FURB - SC<br>
Github: <a href="https://github.com/marcosps/" target="_blank">https://github.com/marcosps/</a><br>"Uma vida sem desafios é uma vida sem razão"<br>"A life without challenges, is a non reason life"
</div></div></div></div></div></div></div>