diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-29 16:25:47 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-29 21:30:54 -0400 |
commit | 0b03f7ed575838f90e6b1ebec3538a3a214f81fb (patch) | |
tree | 70b87e5d764cbb2796e2e99f5e2988e249060f18 /include/svtools | |
parent | fa8d10adbf12bef19cfe6dd39d2667944a2fb7d6 (diff) |
fdo#75058: Optimize autofilter item filling for non-tree items.
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/treelist.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx index 4bb7f0a0ba58..04ab892e0828 100644 --- a/include/svtools/treelist.hxx +++ b/include/svtools/treelist.hxx @@ -76,6 +76,8 @@ class SVT_DLLPUBLIC SvTreeList bool bAbsPositionsValid; + bool mbEnableInvalidate; + SvTreeListEntry* FirstVisible() const { return First(); } SvTreeListEntry* NextVisible( const SvListView*,SvTreeListEntry* pEntry, sal_uInt16* pDepth=0 ) const; SvTreeListEntry* PrevVisible( const SvListView*,SvTreeListEntry* pEntry, sal_uInt16* pDepth=0 ) const; @@ -147,6 +149,8 @@ public: sal_uLong nPos=0 ); + void EnableInvalidate( bool bEnable ); + // Notify all Listeners void InvalidateEntry( SvTreeListEntry* ); |