Re: Possible option to simplify code?

2012-06-25 Thread Miklos Vajna
On Sun, Jun 24, 2012 at 06:28:05PM +0200, Michael Stahl mst...@redhat.com wrote: On 23/06/12 21:26, Philipp Riemer wrote: (1) Wouldn't it be better in the method SwXTextDefaults::supportsService to use the output of SwXTextDefaults::getSupportedServiceNames and make an is in array? check

Re: Possible option to simplify code?

2012-06-24 Thread Michael Stahl
On 23/06/12 21:26, Philipp Riemer wrote: (1) Wouldn't it be better in the method SwXTextDefaults::supportsService to use the output of SwXTextDefaults::getSupportedServiceNames and make an is in array? check there instead of duplicating the allowed/supported string values? yes there is some