reportlab/pdfbase/pdfdoc.py
changeset 2730 b3fc23a74fd1
parent 2679 b8464568f5e2
child 2737 7aa9f936102b
--- a/reportlab/pdfbase/pdfdoc.py	Wed Jan 17 18:05:51 2007 +0000
+++ b/reportlab/pdfbase/pdfdoc.py	Wed Jan 17 18:25:03 2007 +0000
@@ -605,7 +605,7 @@
             self.dict = dict.copy()
     def __setitem__(self, name, value):
         self.dict[name] = value
-    def Reference(name, document):
+    def Reference(self, name, document):
         self.dict[name] = document.Reference(self.dict[name])
     def format(self, document,IND=LINEEND+' '):
         dict = self.dict
@@ -1586,7 +1586,7 @@
         A = PDFArray( [ pageref, PDFName(self.typename), self.left ] )
         return format(A, document)
 
-class PDFDestinationBV(PDFDestinationFitV):
+class PDFDestinationFitBV(PDFDestinationFitV):
     typename = "FitBV"
 
 class PDFDestinationFitR: