summaryrefslogtreecommitdiff
path: root/xmlsecurity/tools/standalone/mscsfit/helper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/tools/standalone/mscsfit/helper.cxx')
-rw-r--r--xmlsecurity/tools/standalone/mscsfit/helper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/tools/standalone/mscsfit/helper.cxx b/xmlsecurity/tools/standalone/mscsfit/helper.cxx
index 631ae1c397b7..e4c497558514 100644
--- a/xmlsecurity/tools/standalone/mscsfit/helper.cxx
+++ b/xmlsecurity/tools/standalone/mscsfit/helper.cxx
@@ -16,7 +16,7 @@ Reference< XInputStream > createStreamFromFile( const OUString sFile )
if( pcFile != NULL ) {
FILE *f = fopen( pcFile , "rb" );
Reference< XInputStream > r;
-
+
if( f ) {
fseek( f , 0 , SEEK_END );
int nLength = ftell( f );
@@ -26,7 +26,7 @@ Reference< XInputStream > createStreamFromFile( const OUString sFile )
fread( seqIn.getArray() , nLength , 1 , f );
r = Reference< XInputStream > ( new OInputStream( seqIn ) );
- fclose( f );
+ fclose( f );
}
return r;
} else {
@@ -71,7 +71,7 @@ Reference< XMultiComponentFactory > serviceManager( Reference< XComponentContext
"No rdb URI specified" ) ;
if( sUnoUrl.equalsAscii( "local" ) ) {
- Reference< XSimpleRegistry > xSimpleRegistry = createSimpleRegistry();
+ Reference< XSimpleRegistry > xSimpleRegistry = createSimpleRegistry();
OSL_ENSURE( xSimpleRegistry.is() ,
"serviceManager - "
"Cannot create simple registry" ) ;