summaryrefslogtreecommitdiff
path: root/include/unotools/configitem.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /include/unotools/configitem.hxx
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'include/unotools/configitem.hxx')
-rw-r--r--include/unotools/configitem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unotools/configitem.hxx b/include/unotools/configitem.hxx
index 134d7cadce5c..b30af8083d4e 100644
--- a/include/unotools/configitem.hxx
+++ b/include/unotools/configitem.hxx
@@ -169,7 +169,7 @@ namespace utl
/** writes the changed values into the sub tree. Always called in the Dtor of the derived class. */
virtual void Commit()=0;
- bool IsInValueChange() const;
+ bool IsInValueChange() const { return m_nInValueChange > 0;}
sal_Int16 GetMode() const { return m_nMode;}
};