-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve odg #160
improve odg #160
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
const auto x2 = in.FindAttribute("svg:x2"); | ||
const auto y2 = in.FindAttribute("svg:y2"); | ||
|
||
if ((x1 == nullptr) || (y1 == nullptr) || (x2 == nullptr) || (y2 == nullptr)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sometimes you're using braces for one-liner ifs, sometimes you don't. see https://github.com/opendocument-app/OpenDocument.core/pull/160/files?diff=unified&w=1#diff-1c9779dd88891fa701d5a9d97b8a3c59R68-R70
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i actually don't want braces for one-liners. it is quite hard to find them.
@@ -104,6 +125,7 @@ void StyleClassTranslator(const tinyxml2::XMLElement &in, std::ostream &out, | |||
out << "}\n"; | |||
} | |||
|
|||
// TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create ticket and link here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is #35
besides improving odg this also contains
<br>