Lines 1062-1068
struct ConventionOOO_A1 : public Convention_A1
Link Here
|
1062 |
String aFile; |
1062 |
String aFile; |
1063 |
const String* p = pRefMgr->getExternalFileName(nFileId); |
1063 |
const String* p = pRefMgr->getExternalFileName(nFileId); |
1064 |
if (p) |
1064 |
if (p) |
1065 |
aFile = *p; |
1065 |
aFile = INetURLObject::decode(*p, INET_HEX_ESCAPE, INetURLObject::DECODE_UNAMBIGUOUS); |
1066 |
aFile.SearchAndReplaceAllAscii("'", String::CreateFromAscii("''")); |
1066 |
aFile.SearchAndReplaceAllAscii("'", String::CreateFromAscii("''")); |
1067 |
|
1067 |
|
1068 |
rBuffer.append(sal_Unicode('\'')); |
1068 |
rBuffer.append(sal_Unicode('\'')); |
Lines 1319-1326
struct ConventionXL
Link Here
|
1319 |
|
1319 |
|
1320 |
rBuffer.append(sal_Unicode('[')); |
1320 |
rBuffer.append(sal_Unicode('[')); |
1321 |
rBuffer.append(sal_Unicode('\'')); |
1321 |
rBuffer.append(sal_Unicode('\'')); |
1322 |
const sal_Unicode* pBuf = rFullName.GetBuffer(); |
1322 |
String aFullName = INetURLObject::decode(rFullName, INET_HEX_ESCAPE, INetURLObject::DECODE_UNAMBIGUOUS); |
1323 |
xub_StrLen nLen = rFullName.Len(); |
1323 |
const sal_Unicode* pBuf = aFullName.GetBuffer(); |
|
|
1324 |
xub_StrLen nLen = aFullName.Len(); |
1324 |
for (xub_StrLen i = 0; i < nLen; ++i) |
1325 |
for (xub_StrLen i = 0; i < nLen; ++i) |
1325 |
{ |
1326 |
{ |
1326 |
const sal_Unicode c = pBuf[i]; |
1327 |
const sal_Unicode c = pBuf[i]; |