summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfunc.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-04 10:24:45 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-11 08:01:24 +0200
commitcaad0f6c79909f2fb4865ac8395fc1798b8be7a6 (patch)
tree3e88a00425eadfebb08ca673d929ea60a4c6a0c7 /sc/source/ui/view/viewfunc.cxx
parent08ed74c89f7f018167b858e74cc30ae0272fae6c (diff)
adjust import/export code to merged conditional formats
Change-Id: Ib9cd4e09e55ff2413db8e1daf45624d695e3113d
Diffstat (limited to 'sc/source/ui/view/viewfunc.cxx')
-rw-r--r--sc/source/ui/view/viewfunc.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx
index 0335455cc020..48c9a68344e9 100644
--- a/sc/source/ui/view/viewfunc.cxx
+++ b/sc/source/ui/view/viewfunc.cxx
@@ -88,13 +88,11 @@ static void lcl_PostRepaintCondFormat( const ScConditionalFormat *pCondFmt, ScDo
{
if( pCondFmt )
{
- const ScRangeListRef& xRanges = pCondFmt->GetRangeInfo();
- if (!xRanges)
- return;
+ const ScRangeList& rRanges = pCondFmt->GetRange();
- size_t nCount = xRanges->size();
+ size_t nCount = rRanges.size();
for( size_t n = 0 ; n < nCount; n++ )
- pDocSh->PostPaint( *((*xRanges)[n]), PAINT_ALL );
+ pDocSh->PostPaint( *(rRanges[n]), PAINT_ALL );
}
}