summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbatextboxshape.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbatextboxshape.cxx')
-rw-r--r--sc/source/ui/vba/vbatextboxshape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbatextboxshape.cxx b/sc/source/ui/vba/vbatextboxshape.cxx
index 994ca2971f73..be666a2e7376 100644
--- a/sc/source/ui/vba/vbatextboxshape.cxx
+++ b/sc/source/ui/vba/vbatextboxshape.cxx
@@ -50,7 +50,7 @@ ScVbaTextBoxShape::characters( const uno::Any& Start, const uno::Any& Length ) t
ScDocument* pDoc = pDocShell ? pDocShell->GetDocument() : NULL;
if ( !pDoc )
- throw uno::RuntimeException( OUString( "Failed to access document from shell" ), uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException("Failed to access document from shell", uno::Reference< uno::XInterface >() );
uno::Reference< text::XSimpleText > xSimple( m_xTextRange, uno::UNO_QUERY_THROW );
ScVbaPalette aPalette( pDoc->GetDocumentShell() );