summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/composeduiupdate.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-18 14:19:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 06:31:43 +0000
commit6f96e86dae6e8fd0861848bbb396278831afc01d (patch)
treeec5833e3ec3872ab426069f0b72dee69d9734943 /extensions/source/propctrlr/composeduiupdate.cxx
parentef637a1c4e16eb9228b6d5e01fc670c4d24afb9b (diff)
loplugin:expandablemethodds in editeng..extensions
Change-Id: Ibe1929d74ff460955e39f2ccce3056b2051ddf08 Reviewed-on: https://gerrit.libreoffice.org/30013 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/propctrlr/composeduiupdate.cxx')
-rw-r--r--extensions/source/propctrlr/composeduiupdate.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/composeduiupdate.cxx b/extensions/source/propctrlr/composeduiupdate.cxx
index 2bf17ca2fa02..4d84c4e6b2ae 100644
--- a/extensions/source/propctrlr/composeduiupdate.cxx
+++ b/extensions/source/propctrlr/composeduiupdate.cxx
@@ -147,9 +147,6 @@ namespace pcr
protected:
virtual ~CachedInspectorUI() override;
- /// determines whether the instance is already disposed
- inline bool isDisposed() const { return m_bDisposed; }
-
/// throws an exception if the component is already disposed
void checkDisposed() const;
@@ -207,7 +204,7 @@ namespace pcr
void CachedInspectorUI::checkDisposed() const
{
- if ( isDisposed() )
+ if (m_bDisposed)
throw DisposedException();
}