coverity#1405937 rework to silence Uncaught exception

Change-Id: I89be5a53b5282130fd399a17ebe1a03ea75009e5
diff --git a/extensions/source/propctrlr/browserline.cxx b/extensions/source/propctrlr/browserline.cxx
index b9fe588..32c9cb6 100644
--- a/extensions/source/propctrlr/browserline.cxx
+++ b/extensions/source/propctrlr/browserline.cxx
@@ -69,8 +69,8 @@ namespace pcr

    OBrowserLine::~OBrowserLine()
    {
        implHideBrowseButton( true, false );
        implHideBrowseButton( false, false );
        implHideBrowseButton(true);
        implHideBrowseButton(false);
        m_aFtTitle.disposeAndClear();
    }

@@ -410,8 +410,7 @@ namespace pcr
        }

        rButton.SetModeImage( aImage );
   }

    }

    void OBrowserLine::ShowBrowseButton( const Image& _rImage, bool _bPrimary )
    {
@@ -420,14 +419,12 @@ namespace pcr
            rButton.SetModeImage( _rImage );
    }


    void OBrowserLine::ShowBrowseButton( bool _bPrimary )
    {
        impl_ensureButton( _bPrimary );
    }


    void OBrowserLine::implHideBrowseButton( bool _bPrimary, bool _bReLayout )
    void OBrowserLine::implHideBrowseButton(bool _bPrimary)
    {
        VclPtr<PushButton>& rpButton = _bPrimary ? m_pBrowseButton : m_pAdditionalBrowseButton;

@@ -436,18 +433,14 @@ namespace pcr
            rpButton->Hide();
            rpButton.disposeAndClear();
        }

        if ( _bReLayout )
            impl_layoutComponents();
    }


    void OBrowserLine::HideBrowseButton( bool _bPrimary )
    void OBrowserLine::HideBrowseButton(bool _bPrimary)
    {
        implHideBrowseButton( _bPrimary, true );
        implHideBrowseButton(_bPrimary);
        impl_layoutComponents();
    }


    void OBrowserLine::SetTitleWidth(sal_uInt16 nWidth)
    {
        if (m_nNameWidth != nWidth+10)
diff --git a/extensions/source/propctrlr/browserline.hxx b/extensions/source/propctrlr/browserline.hxx
index 656d86b..f71f9578 100644
--- a/extensions/source/propctrlr/browserline.hxx
+++ b/extensions/source/propctrlr/browserline.hxx
@@ -116,7 +116,7 @@ namespace pcr
        DECL_LINK( OnButtonClicked, Button*, void );
        DECL_LINK( OnButtonFocus, Control&, void );

        void    implHideBrowseButton( bool _bPrimary, bool _bReLayout );
        void    implHideBrowseButton(bool _bPrimary);
        void    implUpdateEnabledDisabled();

        void    impl_layoutComponents();