Kaydet (Commit) 60f82494 authored tarafından Matteo Casalin's avatar Matteo Casalin

Use indexed getToken()

Change-Id: I0f4e864ed27a5a9e071489c74f72859118627b08
Reviewed-on: https://gerrit.libreoffice.org/67645
Tested-by: Jenkins
Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst ed05ab00
......@@ -1418,8 +1418,9 @@ bool FuSelection::AnimateObj(SdrObject* pObj, const Point& rPos)
// aMacro has got following format:
// "Macroname.Modulname.Libname.Documentname" or
// "Macroname.Modulname.Libname.Applicationname"
OUString aMacroName = aMacro.getToken(0, '.');
OUString aModulName = aMacro.getToken(1, '.');
sal_Int32 nIdx{ 0 };
const OUString aMacroName = aMacro.getToken(0, '.', nIdx);
const OUString aModulName = aMacro.getToken(0, '.', nIdx);
// In this moment the Call-method only
// resolves modulename+macroname
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment