summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/cnttype/wbench/testcnttype.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrans/source/cnttype/wbench/testcnttype.cxx b/dtrans/source/cnttype/wbench/testcnttype.cxx
index f6482c2d6e03..b4cfb7a5c0d3 100644
--- a/dtrans/source/cnttype/wbench/testcnttype.cxx
+++ b/dtrans/source/cnttype/wbench/testcnttype.cxx
@@ -71,7 +71,7 @@ sal_Bool readCntTypesFromFileIntoVector( char* fname, vector< string >& vecData
fseek( fstream, 0L, SEEK_SET );
char line[1024];
- while ( fscanf( fstream, "%[^\n]s", line ) != EOF )
+ while ( fscanf( fstream, "%1023[^\n]s", line ) != EOF )
{
vecData.push_back( line );
fgetc( fstream );