Fix spelling error

This commit is contained in:
Dolan
2018-09-14 02:37:03 +01:00
parent fcbfed9068
commit 482674b3b3
3 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ export class FooterWrapper {
this.footer.addChildElement(childElement);
}
public addImageRelation(image: Buffer, refId: number, width?: number, height?: number): IMediaData {
public addImageRelationship(image: Buffer, refId: number, width?: number, height?: number): IMediaData {
const mediaData = this.media.addMedia(image, refId, width, height);
this.relationships.createRelationship(
refId,
@ -49,7 +49,7 @@ export class FooterWrapper {
}
public createImage(image: Buffer, width?: number, height?: number): void {
const mediaData = this.addImageRelation(image, this.relationships.RelationshipCount, width, height);
const mediaData = this.addImageRelationship(image, this.relationships.RelationshipCount, width, height);
this.addImage(new Image(new ImageParagraph(mediaData)));
}