Kaydet (Commit) 576b5346 authored tarafından Mark Hung's avatar Mark Hung

tdf#118825 refactor basegfx::utils::exportToSvgD with putCommandChar.

Move similar code fragments to a new function called putCommandChar.

Change-Id: I7cd0beaab29110d89c3a206d6929e5154c755c4c
Reviewed-on: https://gerrit.libreoffice.org/58846
Tested-by: Jenkins
Reviewed-by: 's avatarMark Hung <marklh9@gmail.com>
üst a4bd06c2
......@@ -63,12 +63,6 @@ namespace basegfx
double fOldValue,
bool bUseRelativeCoordinates);
inline sal_Unicode getCommand(sal_Char cUpperCaseCommand,
sal_Char cLowerCaseCommand,
bool bUseRelativeCoordinates)
{
return bUseRelativeCoordinates ? cLowerCaseCommand : cUpperCaseCommand;
}
} // namespace internal
} // namespace basegfx
......
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