diff options
Diffstat (limited to 'fpdfsdk/pwl/cpwl_appstream.cpp')
-rw-r--r-- | fpdfsdk/pwl/cpwl_appstream.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/pwl/cpwl_appstream.cpp b/fpdfsdk/pwl/cpwl_appstream.cpp index aa612f0c07..c17c146d20 100644 --- a/fpdfsdk/pwl/cpwl_appstream.cpp +++ b/fpdfsdk/pwl/cpwl_appstream.cpp @@ -1949,8 +1949,7 @@ void CPWL_AppStream::Write(const ByteString& sAPType, } pStreamDict->SetMatrixFor("Matrix", widget_->GetMatrix()); pStreamDict->SetRectFor("BBox", widget_->GetRotatedRect()); - pStream->SetDataAndRemoveFilter((uint8_t*)(sContents.c_str()), - sContents.GetLength()); + pStream->SetDataAndRemoveFilter(sContents.raw_str(), sContents.GetLength()); } void CPWL_AppStream::Remove(const ByteString& sAPType) { |