diff --git a/OpenMcdf.Ole/OlePropertiesContainer.cs b/OpenMcdf.Ole/OlePropertiesContainer.cs index ee1ccb1..c411297 100644 --- a/OpenMcdf.Ole/OlePropertiesContainer.cs +++ b/OpenMcdf.Ole/OlePropertiesContainer.cs @@ -63,11 +63,7 @@ public OlePropertiesContainer(CfbStream cfStream) PropertyNames = (Dictionary?)pStream.PropertySet0!.Properties .FirstOrDefault(p => p.PropertyType == PropertyType.DictionaryProperty)?.Value; - Context = new PropertyContext() - { - CodePage = pStream.PropertySet0.PropertyContext.CodePage, - Locale = pStream.PropertySet0.PropertyContext.Locale - }; + Context = pStream.PropertySet0.PropertyContext; for (int i = 0; i < pStream.PropertySet0.Properties.Count; i++) {