diff options
Diffstat (limited to 'sc/source/ui/vba/vbatextboxshape.cxx')
-rw-r--r-- | sc/source/ui/vba/vbatextboxshape.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbatextboxshape.cxx b/sc/source/ui/vba/vbatextboxshape.cxx index f0e84e716ed1..1e141f4ffab0 100644 --- a/sc/source/ui/vba/vbatextboxshape.cxx +++ b/sc/source/ui/vba/vbatextboxshape.cxx @@ -31,19 +31,19 @@ ScVbaTextBoxShape::ScVbaTextBoxShape( const uno::Reference< uno::XComponentConte } OUString SAL_CALL -ScVbaTextBoxShape::getText() throw (css::uno::RuntimeException, std::exception) +ScVbaTextBoxShape::getText() { return m_xTextRange->getString(); } void SAL_CALL -ScVbaTextBoxShape::setText( const OUString& _text ) throw (css::uno::RuntimeException, std::exception) +ScVbaTextBoxShape::setText( const OUString& _text ) { m_xTextRange->setString( _text ); } uno::Reference< excel::XCharacters > SAL_CALL -ScVbaTextBoxShape::characters( const uno::Any& Start, const uno::Any& Length ) throw (uno::RuntimeException, std::exception) +ScVbaTextBoxShape::characters( const uno::Any& Start, const uno::Any& Length ) { ScDocShell* pDocShell = excel::getDocShell( m_xModel ); ScDocument* pDoc = pDocShell ? &pDocShell->GetDocument() : nullptr; |