sc/source/ui/docshell/docfunc.cxx | 2 -- 1 file changed, 2 deletions(-)
New commits: commit 187ffc5e9966c3f2c09965b5ab8ebb43e12300e9 Author: Laurent Godard <lgodard.li...@laposte.net> Date: Fri Nov 7 15:30:03 2014 +0100 addNewFromTitles : avoid broadcasting SC_HINT_AREAS_CHANGED twice as it is already done in subsequent calls (in ModifyRangeNames --> SetNewRangeNames) perfchek result before : 899399452 after : 645684676 Change-Id: I29b8add457c3177e63df29f93be7a11dacde4953 Reviewed-on: https://gerrit.libreoffice.org/12302 Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 4657302..9cd90e8 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -5038,8 +5038,6 @@ bool ScDocFunc::CreateNames( const ScRange& rRange, sal_uInt16 nFlags, bool bApi ModifyRangeNames( aNewRanges, aTab ); bDone = true; - aModificator.SetDocumentModified(); - SfxGetpApp()->Broadcast( SfxSimpleHint( SC_HINT_AREAS_CHANGED ) ); } return bDone; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits