[Libreoffice-commits] core.git: desktop/qa
Stephan Bergmann
sbergman at redhat.com
Tue Apr 12 15:49:10 UTC 2016
desktop/qa/desktop_lib/test_desktop_lib.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d0778636a4b4ee55781c01a86869b11df4e0fc8b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Apr 12 17:48:42 2016 +0200
loplugin:defaultparams
Change-Id: I5748482eb246b2ccf87a02df6406e2624ee66921
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 0f7bcbc..fd57c11 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -974,7 +974,7 @@ void DesktopLOKTest::testContextMenuCalc()
void DesktopLOKTest::testContextMenuWriter()
{
comphelper::LibreOfficeKit::setActive();
- LibLODocument_Impl* pDocument = loadDoc("blank_text.odt", LOK_DOCTYPE_TEXT);
+ LibLODocument_Impl* pDocument = loadDoc("blank_text.odt");
pDocument->pClass->initializeForRendering(pDocument, nullptr);
pDocument->pClass->registerCallback(pDocument, &DesktopLOKTest::callback, this);
More information about the Libreoffice-commits
mailing list