Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8bdbe18

Browse files
Numpsyjeremy-visionaid
authored andcommitted
When constructing an OlePropertiesContainer, use the PropertyContext from the PropertySetStream directly instead of cloning it.
1 parentd61e97a commit8bdbe18

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎OpenMcdf.Ole/OlePropertiesContainer.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,7 @@ public OlePropertiesContainer(CfbStream cfStream)
6363
PropertyNames=(Dictionary<uint,string>?)pStream.PropertySet0!.Properties
6464
.FirstOrDefault(p=>p.PropertyType==PropertyType.DictionaryProperty)?.Value;
6565

66-
Context=newPropertyContext()
67-
{
68-
CodePage=pStream.PropertySet0.PropertyContext.CodePage,
69-
Locale=pStream.PropertySet0.PropertyContext.Locale
70-
};
66+
Context=pStream.PropertySet0.PropertyContext;
7167

7268
for(inti=0;i<pStream.PropertySet0.Properties.Count;i++)
7369
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp