--- LPub4/lpub.h.orig	2009-06-16 07:45:20.000000000 -0500
+++ LPub4/lpub.h	2009-06-16 07:45:36.000000000 -0500
@@ -585,7 +585,7 @@
     QGraphicsScene *scene,
     bool            printing);
 
-  int Gui::getBOMParts(
+  int getBOMParts(
     Where           current,
     QStringList &csiParts);
 
--- LPub4/pliglobals.cpp.orig	2009-06-16 07:48:31.000000000 -0500
+++ LPub4/pliglobals.cpp	2009-06-16 07:49:03.000000000 -0500
@@ -41,7 +41,7 @@
   MetaGui *scale;
   bool     bom;
 
-  GlobalPliPrivate(QString &_topLevelFile, Meta &_meta, bool &_bom = false)
+  GlobalPliPrivate(QString &_topLevelFile, Meta &_meta, bool _bom = false)
   {
     topLevelFile = _topLevelFile;
     meta = _meta;
