summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:52:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:35 +0200
commit887b3a35628b349e7934f2ae7c220a1cc17c3e63 (patch)
tree3fc519fc86fe3a44de3d21233450d54c7e397dea /sw/qa
parent6b8440134f4a8fa05450cdd492942e92c1f75803 (diff)
loplugin:staticcall
Change-Id: I26e1e0f66dad5ed4e8351fc7509449b312559166
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/core/macros-test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/core/macros-test.cxx b/sw/qa/core/macros-test.cxx
index 7a7d804ffcc1..15a8085f6caa 100644
--- a/sw/qa/core/macros-test.cxx
+++ b/sw/qa/core/macros-test.cxx
@@ -150,7 +150,7 @@ void SwMacrosTest::testVba()
SfxObjectShell* pFoundShell = SfxObjectShell::GetShellFromComponent(xComponent);
CPPUNIT_ASSERT_MESSAGE("Failed to access document shell", pFoundShell);
- pFoundShell->CallXScript(xComponent, sUrl, aParams, aRet, aOutParamIndex,aOutParam);
+ SfxObjectShell::CallXScript(xComponent, sUrl, aParams, aRet, aOutParamIndex,aOutParam);
OUString aStringRes;
aRet >>= aStringRes;
std::cout << "value of Ret " << OUStringToOString( aStringRes, RTL_TEXTENCODING_UTF8 ).getStr() << std::endl;