Kaydet (Commit) b693eba2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: truncation of constant value

Just use sal_Unicode as type for cLeader as it is being assigned to a
sal_Unicode field anyway.
üst e2f3e17c
......@@ -163,7 +163,7 @@ uno::Reference< word::XTabStop > SAL_CALL SwVbaTabStops::Add( float Position, co
}
}
sal_Char cLeader = ' '; // default is space
sal_Unicode cLeader = ' '; // default is space
if( Leader.hasValue() )
{
sal_Int32 wdLeader = word::WdTabLeader::wdTabLeaderSpaces;
......@@ -177,7 +177,7 @@ uno::Reference< word::XTabStop > SAL_CALL SwVbaTabStops::Add( float Position, co
}
case word::WdTabLeader::wdTabLeaderMiddleDot:
{
cLeader = 183;
cLeader = 183; // U+00B7 MIDDLE DOT
break;
}
case word::WdTabLeader::wdTabLeaderDots:
......
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