Kaydet (Commit) 2a8d19b8 authored tarafından Michael Stahl's avatar Michael Stahl Kaydeden (comit) Fridrich Štrba

fdo#78332: sw: fix separators in SwDDEFieldType::PutValue()

Setting 3 separators instead of 2 does not work.

(regression from 26315384)

Change-Id: Id0b4649404b8a49a7f89a237c46106bce4e146ff
üst 9b8c9a05
......@@ -366,7 +366,8 @@ bool SwDDEFieldType::PutValue( const uno::Any& rVal, sal_uInt16 nWhichId )
{
rVal >>= sToken;
}
sNewCmd += sToken + OUString(sfx2::cTokenSeparator);
sNewCmd += (i < 2)
? sToken + OUString(sfx2::cTokenSeparator) : sToken;
}
SetCmd( sNewCmd );
}
......
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