Skip to content

Commit 9762d1f

Browse files
authored
Update info.go
1 parent 5348f88 commit 9762d1f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

pkg/pdfcpu/info.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,9 @@ func ensureInfoDict(ctx *model.Context) error {
9797

9898
now := types.DateString(time.Now())
9999

100-
v := "pdfcpu " + model.VersionStr
101-
102100
if ctx.Info == nil {
103101

104102
d := types.NewDict()
105-
d.InsertString("Producer", v)
106103
d.InsertString("CreationDate", now)
107104
d.InsertString("ModDate", now)
108105

@@ -127,7 +124,6 @@ func ensureInfoDict(ctx *model.Context) error {
127124

128125
d.Update("CreationDate", types.StringLiteral(now))
129126
d.Update("ModDate", types.StringLiteral(now))
130-
d.Update("Producer", types.StringLiteral(v))
131127

132128
return nil
133129
}

0 commit comments

Comments
 (0)