Clean up output subsystem.
[pspp-builds.git] / src / output / manager.c
index f7d0b5eb749483a30ef7530fa89394b07e098c38..8fd90a5e26bbcfa774b5534b9a6e7e96ee49c601 100644 (file)
@@ -147,13 +147,7 @@ output_entity (struct outp_driver *driver, struct som_entity *entity)
   bool fits_width, fits_length;
   d = driver;
 
-  assert (d->driver_open);
-  if (!d->page_open && !d->class->open_page (d))
-    {
-      d->device = OUTP_DEV_DISABLED;
-      return;
-    }
-  
+  outp_open_page (d);
   if (d->class->special || entity->type == SOM_CHART)
     {
       driver->class->submit (d, entity);