We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b65406 commit 25472e4Copy full SHA for 25472e4
src/ifilter/CPdfFilter.cpp
@@ -120,8 +120,7 @@ HRESULT CPdfFilter::GetNextChunkValue(CChunkValue& chunkValue) {
120
FreePageText(&pageText);
121
continue;
122
}
123
- str.Set(pageText.text);
124
- AutoFreeWstr str2 = str::Replace(str.Get(), L"\n", L"\r\n");
+ AutoFreeWstr str2 = str::Replace(pageText.text, L"\n", L"\r\n");
125
chunkValue.SetTextValue(PKEY_Search_Contents, str2.Get(), CHUNK_TEXT);
126
127
return S_OK;
0 commit comments