summaryrefslogtreecommitdiff
path: root/vbahelper/source/msforms/vbaframe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper/source/msforms/vbaframe.cxx')
-rw-r--r--vbahelper/source/msforms/vbaframe.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/vbahelper/source/msforms/vbaframe.cxx b/vbahelper/source/msforms/vbaframe.cxx
index 775b3810cb1e..e85e313148b6 100644
--- a/vbahelper/source/msforms/vbaframe.cxx
+++ b/vbahelper/source/msforms/vbaframe.cxx
@@ -40,47 +40,47 @@ ScVbaFrame::ScVbaFrame(
// XFrame attributes
-OUString SAL_CALL ScVbaFrame::getCaption() throw (css::uno::RuntimeException, std::exception)
+OUString SAL_CALL ScVbaFrame::getCaption()
{
OUString Label;
m_xProps->getPropertyValue( "Label" ) >>= Label;
return Label;
}
-void SAL_CALL ScVbaFrame::setCaption( const OUString& _caption ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL ScVbaFrame::setCaption( const OUString& _caption )
{
m_xProps->setPropertyValue( "Label", uno::makeAny( _caption ) );
}
-sal_Int32 SAL_CALL ScVbaFrame::getSpecialEffect() throw (uno::RuntimeException, std::exception)
+sal_Int32 SAL_CALL ScVbaFrame::getSpecialEffect()
{
return msforms::fmSpecialEffect::fmSpecialEffectEtched;
}
-void SAL_CALL ScVbaFrame::setSpecialEffect( sal_Int32 /*nSpecialEffect*/ ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL ScVbaFrame::setSpecialEffect( sal_Int32 /*nSpecialEffect*/ )
{
// #STUB
}
-sal_Int32 SAL_CALL ScVbaFrame::getBorderStyle() throw (uno::RuntimeException, std::exception)
+sal_Int32 SAL_CALL ScVbaFrame::getBorderStyle()
{
return msforms::fmBorderStyle::fmBorderStyleNone;
}
-void SAL_CALL ScVbaFrame::setBorderStyle( sal_Int32 /*nBorderStyle*/ ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL ScVbaFrame::setBorderStyle( sal_Int32 /*nBorderStyle*/ )
{
// #STUB
}
-uno::Reference< msforms::XNewFont > SAL_CALL ScVbaFrame::getFont() throw (uno::RuntimeException, std::exception)
+uno::Reference< msforms::XNewFont > SAL_CALL ScVbaFrame::getFont()
{
return new VbaNewFont( m_xProps );
}
// XFrame methods
-uno::Any SAL_CALL ScVbaFrame::Controls( const uno::Any& rIndex ) throw (uno::RuntimeException, std::exception)
+uno::Any SAL_CALL ScVbaFrame::Controls( const uno::Any& rIndex )
{
// horizontal anchor of frame children is inside border line (add one unit to compensate border line width)
double fOffsetX = mpGeometryHelper->getOffsetX() + getLeft() + 1.0;