Re: [sw-discussion] functions from drwtxtex.cxx

2008-04-30 Thread Frank Meies

Moin Max,

On 04/30/08 01:49, Maximilian Odendahl wrote:


I need to use some lcl_* functions from drwtxtex.cxx, as I need the same 
code for my SwAnnotationShell.(such as lcl_SetLanguage etc.)


What would be the clean/right way for making them also available in 
other files, namely annnotsh.cxx?




what about moving them to a separate file (shellhelper.[h|c]xx) and 
namespace SwShellHelper::?


Regards,

Frank

--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [sw-discussion] functions from drwtxtex.cxx

2008-04-30 Thread Thomas Lange - Sun Germany - ham02 - Hamburg

Hi all,
 Moin Max,

 On 04/30/08 01:49, Maximilian Odendahl wrote:
  
  I need to use some lcl_* functions from drwtxtex.cxx, as I need the same 
  code for my SwAnnotationShell.(such as lcl_SetLanguage etc.)
  
  What would be the clean/right way for making them also available in 
  other files, namely annnotsh.cxx?
  

 what about moving them to a separate file (shellhelper.[h|c]xx) and 
 namespace SwShellHelper::?
   
In that case please also remove the lcl_ from the function names since
it won't fit them anymore.

The much used lazy way of course is to just use an extern declaration... ^^'
But it would really be nice if someone cleaned this up.

Regards,
Thomas



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [sw-discussion] functions from drwtxtex.cxx

2008-04-30 Thread Maximilian Odendahl

Hi,

what about moving them to a separate file (shellhelper.[h|c]xx) and 
namespace SwShellHelper::?
  

In that case please also remove the lcl_ from the function names since
it won't fit them anymore.


+1



The much used lazy way of course is to just use an extern declaration... ^^'
But it would really be nice if someone cleaned this up.


will do in notes5


Regards
Max


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]