summaryrefslogtreecommitdiff
path: root/vcl/aqua
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-03-30 12:41:45 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-03-30 12:41:45 +0000
commit5b8d7ff960baa452f0e0503b3efea81dfb9f910c (patch)
treee7ae09c6f2ccfaade9498d7114e8211a3997f84a /vcl/aqua
parent1fdc577c9a29f5c9d48cf2171de2c4f72c3e0a95 (diff)
INTEGRATION: CWS vcl20 (1.3.58); FILE MERGED
2004/02/23 17:50:51 pl 1.3.58.1: #115527# do not use strcpy and friends
Diffstat (limited to 'vcl/aqua')
-rw-r--r--vcl/aqua/source/gdi/salatsuifontutils.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/aqua/source/gdi/salatsuifontutils.cxx b/vcl/aqua/source/gdi/salatsuifontutils.cxx
index 7bf734bdd433..53eacc0c77ef 100644
--- a/vcl/aqua/source/gdi/salatsuifontutils.cxx
+++ b/vcl/aqua/source/gdi/salatsuifontutils.cxx
@@ -2,8 +2,8 @@
*
* $RCSfile: salatsuifontutils.cxx,v $
*
- * $Revision: 1.3 $
- * last change: $Author: vg $ $Date: 2004-01-06 12:45:24 $
+ * $Revision: 1.4 $
+ * last change: $Author: rt $ $Date: 2004-03-30 13:41:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1276,7 +1276,7 @@ void ATSUIPrintFontList( const ItemCount nFontItemsCount,
{
for ( k = i; k < j; k++ )
{
- strcpy( pFontFamilyStyle,
+ snprintf( pFontFamilyStyle, kFontStyleNameLength, "%s",
&hFontList[ k ]->mpFontName[ hFontList[ k ]->mnFontStyleByteOffset ]
);
@@ -1370,7 +1370,7 @@ void ATSUIFPrintFontList( const char *pFileName,
{
for ( k = i; k < j; k++ )
{
- strcpy( pFontFamilyStyle,
+ snprintf( pFontFamilyStyle, kFontStyleNameLength, "%s",
&hFontList[ k ]->mpFontName[ hFontList[ k ]->mnFontStyleByteOffset ]
);