summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-03-02 09:40:38 +0000
committerRüdiger Timm <rt@openoffice.org>2004-03-02 09:40:38 +0000
commitfaf77fcad105f3252ed93b4e4975dd54d8fb7d76 (patch)
tree8360aeb4a819d3b5216798ff8ac99517ccf42392
parent4c63f544aa933fd77b1d833085d0fa41f49129f8 (diff)
INTEGRATION: CWS draw23master (1.6.80); FILE MERGED
2004/02/26 14:59:46 af 1.6.80.1: #115427# Include fixes for 112544 into SRC680.
-rw-r--r--goodies/source/filter.vcl/ieps/ieps.cxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/goodies/source/filter.vcl/ieps/ieps.cxx b/goodies/source/filter.vcl/ieps/ieps.cxx
index 7d86fe48e808..722a950b1edc 100644
--- a/goodies/source/filter.vcl/ieps/ieps.cxx
+++ b/goodies/source/filter.vcl/ieps/ieps.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ieps.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2003-04-24 14:59:45 $
+ * last change: $Author: rt $ $Date: 2004-03-02 10:40:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -410,13 +410,14 @@ extern "C" BOOL GraphicImport(SvStream & rStream, Graphic & rGraphic,
if ( *pDest == ' ' )
pDest++;
nLen = ImplGetLen( pDest, 32 );
- pDest[ nLen ] = 0;
+ BYTE aOldValue(pDest[ nLen ]); pDest[ nLen ] = 0;
if ( strcmp( (const char*)pDest, "none" ) != 0 )
{
aString.AppendAscii( " Title:" );
aString.AppendAscii( (char*)pDest );
aString.AppendAscii( "\n" );
}
+ pDest[ nLen ] = aOldValue;
}
pDest = ImplSearchEntry( pBuf, (BYTE*)"%%Creator:", nBytesRead - 32, 10 );
if ( pDest )
@@ -425,10 +426,11 @@ extern "C" BOOL GraphicImport(SvStream & rStream, Graphic & rGraphic,
if ( *pDest == ' ' )
pDest++;
nLen = ImplGetLen( pDest, 32 );
- pDest[ nLen ] = 0;
+ BYTE aOldValue(pDest[ nLen ]); pDest[ nLen ] = 0;
aString.AppendAscii( " Creator:" );
aString.AppendAscii( (char*)pDest );
aString.AppendAscii( "\n" );
+ pDest[ nLen ] = aOldValue;
}
pDest = ImplSearchEntry( pBuf, (BYTE*)"%%CreationDate:", nBytesRead - 32, 15 );
if ( pDest )
@@ -437,13 +439,14 @@ extern "C" BOOL GraphicImport(SvStream & rStream, Graphic & rGraphic,
if ( *pDest == ' ' )
pDest++;
nLen = ImplGetLen( pDest, 32 );
- pDest[ nLen ] = 0;
+ BYTE aOldValue(pDest[ nLen ]); pDest[ nLen ] = 0;
if ( strcmp( (const char*)pDest, "none" ) != 0 )
{
aString.AppendAscii( " CreationDate:" );
aString.AppendAscii( (char*)pDest );
aString.AppendAscii( "\n" );
}
+ pDest[ nLen ] = aOldValue;
}
pDest = ImplSearchEntry( pBuf, (BYTE*)"%%LanguageLevel:", nBytesRead - 4, 16 );
if ( pDest )