sc/qa/extras/sctabviewobj.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit c08d6e581fce4df501b84d5ad6349905db888863
Author: Stephan Bergmann <[email protected]>
Date: Thu Jan 18 12:00:57 2018 +0100
xSheetDoc cannot be null here
...as the UNO_QUERY_THROW above would already have caused an exception
Change-Id: Ie0453b67716c64ddaddfa6becd498952a497be63
Reviewed-on: https://gerrit.libreoffice.org/48106
Tested-by: Jenkins <[email protected]>
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/sc/qa/extras/sctabviewobj.cxx b/sc/qa/extras/sctabviewobj.cxx
index 2bc4c7b7031f..8217c4e915a9 100644
--- a/sc/qa/extras/sctabviewobj.cxx
+++ b/sc/qa/extras/sctabviewobj.cxx
@@ -68,8 +68,6 @@ ScTabViewObj::ScTabViewObj()
uno::Reference< uno::XInterface > ScTabViewObj::init()
{
uno::Reference< sheet::XSpreadsheetDocument > xSheetDoc(mxComponent,
uno::UNO_QUERY_THROW);
- CPPUNIT_ASSERT_MESSAGE("no calc document", xSheetDoc.is());
-
uno::Reference< frame::XModel > xModel(xSheetDoc, uno::UNO_QUERY_THROW);
return xModel->getCurrentController();
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits