diff --git a/Slides/Merge-Multiple-Presentation-to-One/.NET/Merge-Multiple-Presentation-to-One/Program.cs b/Slides/Merge-Multiple-Presentation-to-One/.NET/Merge-Multiple-Presentation-to-One/Program.cs index eb4eef45..adde7692 100644 --- a/Slides/Merge-Multiple-Presentation-to-One/.NET/Merge-Multiple-Presentation-to-One/Program.cs +++ b/Slides/Merge-Multiple-Presentation-to-One/.NET/Merge-Multiple-Presentation-to-One/Program.cs @@ -19,7 +19,7 @@ //Clone the slide of the source Presentation. ISlide clonedSlide = sourcePresentation.Slides[i].Clone(); //Merge the cloned slide to the destination Presentation with paste option - Destination Theme. - destinationPresentation.Slides.Add(clonedSlide, PasteOptions.UseDestinationTheme, sourcePresentation); + destinationPresentation.Slides.Add(clonedSlide, PasteOptions.UseDestinationTheme); } } diff --git a/Slides/Merge-Particular-Slides/.NET/Merge-Particular-Slides/Program.cs b/Slides/Merge-Particular-Slides/.NET/Merge-Particular-Slides/Program.cs index e91fc4c8..d20967d1 100644 --- a/Slides/Merge-Particular-Slides/.NET/Merge-Particular-Slides/Program.cs +++ b/Slides/Merge-Particular-Slides/.NET/Merge-Particular-Slides/Program.cs @@ -19,7 +19,7 @@ void MergeParticularSlides(int slideIndex, int count) //Clone the slide of the source Presentation. ISlide clonedSlide = sourcePresentation.Slides[i].Clone(); //Merge the cloned slide to the destination Presentation with paste option - Destination Theme. - destinationPresentation.Slides.Add(clonedSlide, PasteOptions.UseDestinationTheme, sourcePresentation); + destinationPresentation.Slides.Add(clonedSlide, PasteOptions.UseDestinationTheme); } //Save the PowerPoint presentation.