Fix odg export
Remove dependency on SP_ACTIVE_DOCUMENT, and remove warning when we aren't using it.
backport proposed because in current state the export is just broken
Remove dependency on SP_ACTIVE_DOCUMENT, and remove warning when we aren't using it.
backport proposed because in current state the export is just broken