summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbacheckbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbacheckbox.cxx')
-rw-r--r--sw/source/ui/vba/vbacheckbox.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbacheckbox.cxx b/sw/source/ui/vba/vbacheckbox.cxx
index 235dd1029e1b..f15f3be9a254 100644
--- a/sw/source/ui/vba/vbacheckbox.cxx
+++ b/sw/source/ui/vba/vbacheckbox.cxx
@@ -33,8 +33,7 @@ SwVbaCheckBox::SwVbaCheckBox( const uno::Reference< ooo::vba::XHelperInterface >
OUString sType = mxFormField->getFieldType();
if( !sType.equalsIgnoreAsciiCaseAscii( ECMA_FORMCHECKBOX ) )
{
- throw uno::RuntimeException( OUString(
- "It is not a CheckBox"), uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException( "It is not a CheckBox" );
}
}