Re: [PATCH] [PUSHED] dead code: remove ScDocument::DeleteNumberFormat

2012-06-08 Thread Stephan Bergmann

On 06/07/2012 07:44 PM, Thomas Arnhold wrote:

Thanks! Pushed.


Hi Thomas,

Can I nudge you to use --enable-werror?  Esp. when pruning code, it can 
help detect further stuff that is becoming unused (in some cases even 
leading to nice avalanches).


Thanks anyway,
Stephan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [PATCH] [PUSHED] dead code: remove ScDocument::DeleteNumberFormat

2012-06-07 Thread Thomas Arnhold

Hi Daniel,

many thanks! This was some kind to fast forward ;) Didn't see the 
rInfoItem.GetNumberFormatter()->DeleteEntry() call.


Thanks! Pushed.

Thomas

On 06/07/2012 06:25 PM, Daniel Bankston wrote:

On 06/07/2012 10:34 AM, Thomas Arnhold wrote:

Hi,

this patch removes some dead code. Please could someone review it,
especially the part at sc/source/ui/view/tabvwsha.cxx, to be sure it's
save.

Thanks!

Thomas



Hi, Thomas,

I'm sure someone more knowledgeable than me will soon reply.  However, I
think that in ScTabViewShell::UpdateNumberFormatter() only the call to
ScDocument::DeleteNumberFormat() should be removed, and the rest should
be left alone.  Of course this also means that the calls to
ScTabViewShell::UpdateNumberFormatter() should not be removed.


Respectfully,
Daniel Bankston



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice