diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-29 14:17:48 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-29 16:34:43 -0500 |
commit | 251dab0145e15a372ff0fe41ce9647e9df8e9ffd (patch) | |
tree | 813037847c767cb8405b2bceef94356bb6bdd2e4 /svx/workben | |
parent | 764878deacb5018539ff5df71af8bf7e6677a93e (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 'svx/workben')
-rw-r--r-- | svx/workben/msview/msview.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/workben/msview/msview.cxx b/svx/workben/msview/msview.cxx index 1a24d6652897..9760d2af24f7 100644 --- a/svx/workben/msview/msview.cxx +++ b/svx/workben/msview/msview.cxx @@ -487,7 +487,8 @@ public: ~AtomBoxString() { } - void Paint( const Point& rPos, SvLBox& rOutDev, USHORT nViewDataEntryFlags, SvTreeListEntry* pEntry ) + virtual void Paint( + const Point& rPos, SvLBox& rOutDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) { Color aOldTextColor = rOutDev.GetTextColor(); @@ -497,7 +498,7 @@ public: rOutDev.SetTextColor( Color( gColors[ pAtom->getCompareStatus() ] ) ); } - SvLBoxString::Paint( rPos, rOutDev, nViewDataEntryFlags, pEntry ); + SvLBoxString::Paint(rPos, rOutDev, pView, pEntry); rOutDev.SetTextColor( aOldTextColor ); } |