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

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,

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