summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaworksheet.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbaworksheet.cxx')
-rw-r--r--sc/source/ui/vba/vbaworksheet.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/ui/vba/vbaworksheet.cxx b/sc/source/ui/vba/vbaworksheet.cxx
index 72b553d314dc..71bacc8efe81 100644
--- a/sc/source/ui/vba/vbaworksheet.cxx
+++ b/sc/source/ui/vba/vbaworksheet.cxx
@@ -360,8 +360,7 @@ ScVbaWorksheet::getEnableSelection() throw (uno::RuntimeException, std::exceptio
return excel::XlEnableSelection::xlNoSelection;
}
else
- throw uno::RuntimeException("Sheet Name does not exist. ",
- uno::Reference< XInterface >() );
+ throw uno::RuntimeException("Sheet Name does not exist." );
}
@@ -401,8 +400,7 @@ ScVbaWorksheet::setEnableSelection( sal_Int32 nSelection ) throw (uno::RuntimeEx
}
}
else
- throw uno::RuntimeException("Sheet Name does not exist. ",
- uno::Reference< XInterface >() );
+ throw uno::RuntimeException("Sheet Name does not exist." );
}