summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-23 14:30:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-24 08:41:01 +0000
commitc144288abe73262178a8fd94baef895e1744c304 (patch)
tree47d6a0ba287de534708333d81f52b8f5de0f7a88 /include
parent17189e8e63254dbe5e4c9c755a4817664e4ee0d5 (diff)
loplugin:singlevalfields in comphelper
Change-Id: I22711d226a266dc00c32beff54398a55c4c9691a Reviewed-on: https://gerrit.libreoffice.org/26599 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/SelectionMultiplex.hxx3
-rw-r--r--include/comphelper/containermultiplexer.hxx4
2 files changed, 0 insertions, 7 deletions
diff --git a/include/comphelper/SelectionMultiplex.hxx b/include/comphelper/SelectionMultiplex.hxx
index fa92e3c4f42d..443e81721386 100644
--- a/include/comphelper/SelectionMultiplex.hxx
+++ b/include/comphelper/SelectionMultiplex.hxx
@@ -70,7 +70,6 @@ namespace comphelper
css::uno::Reference< css::view::XSelectionSupplier> m_xSet;
OSelectionChangeListener* m_pListener;
sal_Int32 m_nLockCount;
- bool m_bListening : 1;
OSelectionChangeMultiplexer(const OSelectionChangeMultiplexer&) = delete;
OSelectionChangeMultiplexer& operator=(const OSelectionChangeMultiplexer&) = delete;
@@ -91,8 +90,6 @@ namespace comphelper
void unlock();
/// get the lock count
sal_Int32 locked() const { return m_nLockCount; }
-
- void dispose();
};
diff --git a/include/comphelper/containermultiplexer.hxx b/include/comphelper/containermultiplexer.hxx
index fda66f07c96b..39d0c7895ae3 100644
--- a/include/comphelper/containermultiplexer.hxx
+++ b/include/comphelper/containermultiplexer.hxx
@@ -76,7 +76,6 @@ namespace comphelper
css::uno::Reference< css::container::XContainer >
m_xContainer;
OContainerListener* m_pListener;
- sal_Int32 m_nLockCount;
virtual ~OContainerListenerAdapter();
@@ -92,9 +91,6 @@ namespace comphelper
virtual void SAL_CALL elementRemoved( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException, std::exception) override;
- // locking the multiplexer
- sal_Int32 locked() const { return m_nLockCount; }
-
/// dispose the object. No multiplexing anymore
void dispose();