summaryrefslogtreecommitdiff
path: root/sc/source/ui/xmlsource
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-11 09:41:13 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-11 10:03:29 +0900
commit25a0bd7b909fb8c87387d1413060f6c4ba5a51bd (patch)
tree69d3cdabb9c74ef29dd6e031156e09121e0eba39 /sc/source/ui/xmlsource
parent69e233b75a024de60b677f2226d810cb11fe8f94 (diff)
refactor TreeListBox to use RenderContext
Change-Id: I901a1f1f9732fb66718dca34c698a851e5b0d87f
Diffstat (limited to 'sc/source/ui/xmlsource')
-rw-r--r--sc/source/ui/xmlsource/xmlsourcedlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index 9e23ca6f307e..3ba29ee9f48d 100644
--- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx
+++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
@@ -251,7 +251,7 @@ public:
return;
pView->SetHighlighted(false);
- mrTree.PaintEntry(p);
+ mrTree.Invalidate();
}
};
@@ -395,7 +395,7 @@ void ScXMLSourceDlg::RepeatElementSelected(SvTreeListEntry& rEntry)
// Highlight the entry if not highlighted already. This can happen
// when the current entry is a child entry of a repeat element entry.
p->SetHighlighted(true);
- mpLbTree->PaintEntry(&rEntry);
+ mpLbTree->Invalidate();
maHighlightedEntries.push_back(&rEntry);
}
@@ -455,7 +455,7 @@ void ScXMLSourceDlg::SelectAllChildEntries(SvTreeListEntry& rEntry)
SelectAllChildEntries(r); // select recursively.
SvViewDataEntry* p = mpLbTree->GetViewDataEntry(&r);
p->SetHighlighted(true);
- mpLbTree->PaintEntry(&r);
+ mpLbTree->Invalidate();
maHighlightedEntries.push_back(&r);
}
}