diff options
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; |