-StrikethroughStyleProperties GetCurrentStrikethroughProperties(const bool& isGlyphStrikethrough,
- const Vector<StrikethroughGlyphRun>& strikethroughRuns,
- Vector<StrikethroughGlyphRun>::ConstIterator currentStrikethroughGlyphRunIt,
- const StrikethroughStyleProperties& commonStrikethroughProperties)
-{
- return (isGlyphStrikethrough && (currentStrikethroughGlyphRunIt != strikethroughRuns.End()))
- ? currentStrikethroughGlyphRunIt->properties
- : commonStrikethroughProperties;
+ currentStrikethroughStyleProperties.OverrideByDefinedProperties(currentStrikethroughGlyphRunIt->properties);
+ }
+
+ return currentStrikethroughStyleProperties;