summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/control
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-29 14:17:48 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-29 16:34:43 -0500
commit251dab0145e15a372ff0fe41ce9647e9df8e9ffd (patch)
tree813037847c767cb8405b2bceef94356bb6bdd2e4 /dbaccess/source/ui/control
parent764878deacb5018539ff5df71af8bf7e6677a93e (diff)
Pass pointer to view data entry to Paint() instead of its raw flag value.
We need to hide these flags away. Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1
Diffstat (limited to 'dbaccess/source/ui/control')
-rw-r--r--dbaccess/source/ui/control/listviewitems.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/dbaccess/source/ui/control/listviewitems.cxx b/dbaccess/source/ui/control/listviewitems.cxx
index 81d4ea04ff2e..7b8c8a0e91ee 100644
--- a/dbaccess/source/ui/control/listviewitems.cxx
+++ b/dbaccess/source/ui/control/listviewitems.cxx
@@ -48,7 +48,9 @@ namespace dbaui
return SV_ITEM_ID_BOLDLBSTRING;
}
- void OBoldListboxString::Paint(const Point& rPos, SvTreeListBox& rDev, sal_uInt16 nFlags, SvTreeListEntry* pEntry )
+ void OBoldListboxString::Paint(
+ const Point& rPos, SvTreeListBox& rDev, const SvViewDataEntry* pView,
+ const SvTreeListEntry* pEntry)
{
if (m_bEmphasized)
{
@@ -61,7 +63,7 @@ namespace dbaui
rDev.Pop();
}
else
- SvLBoxString::Paint(rPos, rDev, nFlags, pEntry);
+ SvLBoxString::Paint(rPos, rDev, pView, pEntry);
}
//........................................................................