Kaydet (Commit) f46a5d6d authored tarafından Julien Nabet's avatar Julien Nabet

Resolves fdo#86689: Strikethrough: "With /" and "With X"

"static" keyword explains why first time the option is well taken into account and not the other times.
So let's remove this and the option will be taken into account all the times.

Change-Id: I9db84373e425dfe21c307b965b1796c781cd7863
üst 6b219f01
......@@ -591,7 +591,7 @@ void OutputDevice::ImplDrawStrikeoutChar( long nBaseX, long nBaseY,
return;
// prepare string for strikeout measurement
static char cStrikeoutChar = eStrikeout == STRIKEOUT_SLASH ? '/' : 'X';
char cStrikeoutChar = eStrikeout == STRIKEOUT_SLASH ? '/' : 'X';
static const int nTestStrLen = 4;
static const int nMaxStrikeStrLen = 2048;
sal_Unicode aChars[nMaxStrikeStrLen+1]; // +1 for valgrind...
......
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