File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ namespace RtfDomParser
25
25
/// </remarks>
26
26
public partial class RTFDomDocument : RTFDomElement
27
27
{
28
+ static RTFDomDocument ( ) => Defaults . LoadEncodings ( ) ;
29
+
28
30
/// <summary>
29
31
/// initialize instance
30
32
/// </summary>
Original file line number Diff line number Diff line change 10
10
11
11
12
12
using System ;
13
+ using System . Text ;
13
14
14
15
namespace RtfDomParser
15
16
{
@@ -48,6 +49,7 @@ internal static void TestClipboard()
48
49
System . Windows . Forms . Clipboard . SetDataObject ( data , true ) ;
49
50
System . Windows . Forms . MessageBox . Show ( "OK, you can paste words in MS Word." ) ;
50
51
}
52
+ static RTFWriter ( ) => Defaults . LoadEncodings ( ) ;
51
53
52
54
/// <summary>
53
55
/// Test to generate a little rtf document
You can’t perform that action at this time.
0 commit comments