From aaa6cb827b5329710cd5afceb87d4033d5f05ffb Mon Sep 17 00:00:00 2001 From: Ariel Rorabaugh Date: Wed, 24 Apr 2024 12:17:03 -0400 Subject: [PATCH] Delete a comment & fix an import Change-Id: Ida735978efdc85c5c8df2038e99110d6e28ee8f5 --- Src/xWorks/LcmWordGenerator.cs | 4 ++-- Src/xWorks/WordStylesGenerator.cs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Src/xWorks/LcmWordGenerator.cs b/Src/xWorks/LcmWordGenerator.cs index f35986de14..4f570126b8 100644 --- a/Src/xWorks/LcmWordGenerator.cs +++ b/Src/xWorks/LcmWordGenerator.cs @@ -3,7 +3,7 @@ // (http://www.gnu.org/licenses/lgpl-2.1.html) using DocumentFormat.OpenXml; -using DocumentFormat.OpenXml.Office2010.Drawing; +//using DocumentFormat.OpenXml.Office2010.Drawing; using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml.Wordprocessing; using Icu.Collation; @@ -1334,7 +1334,7 @@ public static Drawing CreateImage(WordprocessingDocument doc, string filepath, s new XmlDrawing.Blip( new XmlDrawing.BlipExtensionList( new XmlDrawing.BlipExtension( - new UseLocalDpi() {Val = false} + new DocumentFormat.OpenXml.Office2010.Drawing.UseLocalDpi() {Val = false} ) { Uri = "{28A0092B-C50C-407E-A947-70E740481C1C}" } ) ) diff --git a/Src/xWorks/WordStylesGenerator.cs b/Src/xWorks/WordStylesGenerator.cs index 41d3cac544..11cb8c993e 100644 --- a/Src/xWorks/WordStylesGenerator.cs +++ b/Src/xWorks/WordStylesGenerator.cs @@ -332,7 +332,6 @@ public static Styles GenerateWordStylesFromConfigurationNode( // case IParaOption listAndParaOpts: case DictionaryNodePictureOptions pictureOptions: - //return new Styles(); return GenerateWordStyleFromPictureOptions(configNode, pictureOptions, styleName, cache, propertyTable); default: