summaryrefslogtreecommitdiff
path: root/include/vcl/treelist.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/treelist.hxx')
-rw-r--r--include/vcl/treelist.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/treelist.hxx b/include/vcl/treelist.hxx
index ffb359a4e8f8..1b1b28979a95 100644
--- a/include/vcl/treelist.hxx
+++ b/include/vcl/treelist.hxx
@@ -214,6 +214,7 @@ class VCL_DLLPUBLIC SvListView
std::unique_ptr<Impl> m_pImpl;
protected:
+ bool m_bDirtyModel;
std::unique_ptr<SvTreeList> pModel;
void ExpandListEntry( SvTreeListEntry* pParent );
@@ -232,6 +233,11 @@ public:
sal_uLong nPos
);
+ bool IsDirtyModel() const
+ { return m_bDirtyModel; }
+ void SetDirtyModel(bool bValue)
+ { m_bDirtyModel = bValue; }
+
sal_uLong GetVisibleCount() const
{ return pModel->GetVisibleCount( const_cast<SvListView*>(this) ); }