From b96c999d7a7cb5399fc8fbeab32a8b3b8b5c76bc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 4 Sep 2011 23:04:18 +0100 Subject: disentangle 16bit pascal-strings and zero terminated pstrings, etc. one method to read pascal strings, zero-terminated pascal strings and non-zero terminated non-pascal strings is a disaster when length of 0 toggle into pascal-string mode, shudder! --- sw/source/filter/ww8/ww8graf2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/filter/ww8/ww8graf2.cxx') diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx index cb40a02d9b94..a382f4923d2a 100644 --- a/sw/source/filter/ww8/ww8graf2.cxx +++ b/sw/source/filter/ww8/ww8graf2.cxx @@ -269,7 +269,7 @@ bool SwWW8ImplReader::ReadGrafFile(String& rFileName, Graphic*& rpGraphic, case 99: // TIFF-File ( nicht embeddet ) pSt->Seek(nPosFc); // Name als P-String einlesen - rFileName = WW8ReadPascalString(*pSt, eStructCharSet); + rFileName = read_uInt8_PascalString(*pSt, eStructCharSet); if (rFileName.Len()) rFileName = URIHelper::SmartRel2Abs( INetURLObject(sBaseURL), rFileName, -- cgit v1.2.3