summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-18 14:07:25 +0100
committerPetr Mladek <pmladek@suse.cz>2013-01-21 16:15:01 +0000
commit64403ab585e616595dd339f592c6f2ca41d5e2f8 (patch)
treee6d7c412ad685005ad79fcb9bafba09e94827aa1 /sc/source/ui
parent8d05dbf0fe49a4ab930549bae165bc5b924d6745 (diff)
don't create multiple dialogs in the loop, fdo#59314
Change-Id: Ia48262cdf8b07caf6622f2d4a48f366f3f26c0fd Reviewed-on: https://gerrit.libreoffice.org/1778 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/view/cellsh1.cxx1
1 files changed, 1 insertions, 0 deletions
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;
}
}