From 64403ab585e616595dd339f592c6f2ca41d5e2f8 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 18 Jan 2013 14:07:25 +0100 Subject: don't create multiple dialogs in the loop, fdo#59314 Change-Id: Ia48262cdf8b07caf6622f2d4a48f366f3f26c0fd Reviewed-on: https://gerrit.libreoffice.org/1778 Reviewed-by: Petr Mladek Tested-by: Petr Mladek --- sc/source/ui/view/cellsh1.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 68be16dd360d..2227c199584d 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -1805,6 +1805,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) // found a matching range, edit this conditional format nKey = pCondFormat->GetKey(); pCondFormatDlg.reset( new ScCondFormatDlg( pTabViewShell->GetDialogParent(), pDoc, pCondFormat, rCondFormatRange, aPos, condformat::dialog::NONE ) ); + break; } } -- cgit v1.2.3