[Libreoffice-commits] core.git: sc/qa
Stephan Bergmann
sbergman at redhat.com
Thu Jan 18 22:36:49 UTC 2018
sc/qa/extras/sctabviewobj.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit c08d6e581fce4df501b84d5ad6349905db888863
Author: Stephan Bergmann <sbergman at redhat.com>
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 <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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();
More information about the Libreoffice-commits
mailing list