Index: fpdfsdk/src/fsdk_baseannot.cpp |
diff --git a/fpdfsdk/src/fsdk_baseannot.cpp b/fpdfsdk/src/fsdk_baseannot.cpp |
index ff054c8b205d68bac1ec590dcbf9aaace93ae29a..0354d6470fc70565801cd7293d4dcb067fcf1fd3 100644 |
--- a/fpdfsdk/src/fsdk_baseannot.cpp |
+++ b/fpdfsdk/src/fsdk_baseannot.cpp |
@@ -1062,7 +1062,7 @@ void CPDFSDK_Annot::WriteAppearance(const CFX_ByteString& sAPType, const CPDF_Re |
pStreamDict->SetAtRect("BBox", rcBBox); |
} |
- pStream->SetData((FX_BYTE*)(FX_LPCSTR)sContents, sContents.GetLength(), FALSE, FALSE); |
+ pStream->SetData((FX_BYTE*)sContents.c_str(), sContents.GetLength(), FALSE, FALSE); |
brucedawson
2014/12/30 23:13:02
Ditto on the indenting.
|
} |
#define BA_ANNOT_MINWIDTH 1 |