Kaydet (Commit) 9b564077 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

ScInterpreter::GetString can return reference to shared string instance

...ScInterpreter::aTempStr member.  Regression introduced with
a11be8a8 "use size_t where possible and fix some
more places" causing JunitTest_sc_unoapi's
sc.ScDDELinkObj::com::sun::star::util::XRefreshable to fail.

Change-Id: I50227b004e37f68c5040d4ace90a79300f711be8
üst 89edebf6
......@@ -2255,9 +2255,9 @@ void ScInterpreter::ScDde()
sal_uInt8 nMode = SC_DDE_DEFAULT;
if (nParamCount == 4)
nMode = (sal_uInt8) ::rtl::math::approxFloor(GetDouble());
const OUString& aItem = GetString();
const OUString& aTopic = GetString();
const OUString& aAppl = GetString();
OUString aItem = GetString();
OUString aTopic = GetString();
OUString aAppl = GetString();
if (nMode > SC_DDE_TEXT)
nMode = SC_DDE_DEFAULT;
......
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