summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8graf2.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-04 23:04:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-05 10:54:21 +0100
commitb96c999d7a7cb5399fc8fbeab32a8b3b8b5c76bc (patch)
tree07581a3bba58454071d287901e36535c3ab74cc4 /sw/source/filter/ww8/ww8graf2.cxx
parent2fb353433db5b9fd1afe8c688451d04db5b62d5f (diff)
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!
Diffstat (limited to 'sw/source/filter/ww8/ww8graf2.cxx')
-rw-r--r--sw/source/filter/ww8/ww8graf2.cxx2
1 files changed, 1 insertions, 1 deletions
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,