Add default TransformID enum value

This commit is contained in:
Yuriy Skalko 2020-11-24 20:46:49 +02:00
parent b3be47765b
commit fe0ea7bff7
2 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,7 @@ typedef Translator<TransformID, string> TransformIDTranslator;
static TransformIDTranslator const initIDTranslator()
{
TransformIDTranslator translator(TransformID(-1), "");
TransformIDTranslator translator(None, "");
translator.addPair(Rotate, "Rotate");
translator.addPair(Resize, "Resize");
translator.addPair(Clip, "Clip");

View File

@ -307,6 +307,7 @@ std::string const sanitizeDocBookOption(std::string const & input);
enum TransformID {
None = -1,
Rotate,
Resize,
Clip,