소스 검색

Quick Fix for Annika89

master
MadBoy_cp 11 년 전
부모
커밋
3722687faa
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1
    3
      DocX/DocX.cs

+ 1
- 3
DocX/DocX.cs 파일 보기

@@ -1155,9 +1155,7 @@ namespace Novacode
// Before doing any other work, check to see if this image is actually referenced in the document.
// In my testing I have found cases of Images inside documents that are not referenced
var remote_rel = remote_document.mainPart.GetRelationships().Where(r => r.TargetUri.OriginalString.Equals(remote_pp.Uri.OriginalString.Replace("/word/", ""))).FirstOrDefault();
if (remote_rel == null)
return;
{
if (remote_rel == null) {
remote_rel = remote_document.mainPart.GetRelationships().Where(r => r.TargetUri.OriginalString.Equals(remote_pp.Uri.OriginalString)).FirstOrDefault();
if (remote_rel == null)
return;

Loading…
취소
저장