summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-19 10:29:45 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-19 10:37:24 +0200
commit4e8d176b4f5e4861a68d582dfbd4c58da4cba3b9 (patch)
treefac0cc6182635632ae52356356f97fdcd7ac2862
parent0c94072f401d32b6d631423ba98a6b84dc1cc7bd (diff)
actually pass the old cond format to the dialog
Change-Id: I78fad788514461fc01100f2b85a668ec2990387d
-rw-r--r--sc/source/ui/view/tabvwshc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx
index 6ef470ac9d23..bb9aa7b48097 100644
--- a/sc/source/ui/view/tabvwshc.cxx
+++ b/sc/source/ui/view/tabvwshc.cxx
@@ -207,7 +207,7 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog(
{
const ScRangeList& rCondFormatRange = pCondFormat->GetRange();
if(rCondFormatRange == aRangeList)
- pResult = new ScCondFormatDlg( pB, pCW, pParent, pDoc, NULL, rCondFormatRange, aPos, condformat::dialog::NONE );
+ pResult = new ScCondFormatDlg( pB, pCW, pParent, pDoc, pCondFormat, rCondFormatRange, aPos, condformat::dialog::NONE );
}
if(!pResult)