diff options
Diffstat (limited to 'bridges/test/testoffice.cxx')
-rw-r--r-- | bridges/test/testoffice.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/test/testoffice.cxx b/bridges/test/testoffice.cxx index 5d17a0045fa2..9e346022ad16 100644 --- a/bridges/test/testoffice.cxx +++ b/bridges/test/testoffice.cxx @@ -112,7 +112,7 @@ void testWriter( const Reference < XComponent > & rCmp ) printf( "pleast type any text\n" ); while( true ) { - scanf( "%s" , pcText ); + scanf( "%1023s" , pcText ); if( !strcmp( pcText , "end" ) ) { |