diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-23 23:12:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-23 23:20:07 +0100 |
commit | 9be39efcc55f9c4a8f7c02bdded299c0ef7e54fd (patch) | |
tree | 531662fa5d2d52b8cbfac32775e956d3c8ee5d18 /svx | |
parent | 00fb6c9d1c0ad01b29fb617dbe74e6ae1ddf04ce (diff) |
callcatcher: fix up isControlVisible
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx index ac9259f7f26d..fb3ad54b003b 100644 --- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx @@ -829,6 +829,11 @@ namespace sdr { namespace contact { */ bool impl_isDisposed_nofail() const { return m_pAntiImpl == NULL; } + /** determines whether our control is currently visible + @nofail + */ + bool impl_isControlVisible_nofail() const { return m_bControlIsVisible; } + /** determines whether we are currently a listener at the control for desgin-mode relevant facets @nofail */ @@ -1714,14 +1719,6 @@ namespace sdr { namespace contact { } //-------------------------------------------------------------------- - bool ViewObjectContactOfUnoControl::isControlVisible() const - { - SolarMutexGuard aSolarGuard; - const ControlHolder& rControl( m_pImpl->getExistentControl() ); - return rControl.is() && rControl.isVisible(); - } - - //-------------------------------------------------------------------- Reference< XControl > ViewObjectContactOfUnoControl::getControl() { SolarMutexGuard aSolarGuard; |