diff --git a/lib/layout/layout.c b/lib/layout/layout.c index 0a98eff4d34..9456d3f3abe 100644 --- a/lib/layout/layout.c +++ b/lib/layout/layout.c @@ -7588,12 +7588,12 @@ void lo_UpdateStateWhileFlushingLine( MWContext *context, lo_DocState *state ) layer = tptr->lo_java.layer; border_width = tptr->lo_java.border_width; break; +#endif #ifdef SHACK case LO_BUILTIN: layer = tptr->lo_builtin.layer; border_width = tptr->lo_builtin.border_width; break; -#endif #endif case LO_EMBED: layer = tptr->lo_embed.layer;