diff options
author | Christina Rossmanith <ChrRossmanith@web.de> | 2011-04-12 20:42:03 +0200 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-04-12 20:42:49 +0200 |
commit | b2212fac4dfc8024a2ef28f2229a88ecee41c359 (patch) | |
tree | 6f4975703ea227c5b05831437792cfeef5424f3e /basic | |
parent | 77751521699dd6b50dd1cac4621a0f0fcb2730c4 (diff) |
Finished removal of _USE_UNO
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/app/app.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/iosys.cxx | 18 |
2 files changed, 0 insertions, 20 deletions
diff --git a/basic/source/app/app.cxx b/basic/source/app/app.cxx index 1febb2809bf4..aeeb46acc4d7 100644 --- a/basic/source/app/app.cxx +++ b/basic/source/app/app.cxx @@ -243,9 +243,7 @@ int BasicApp::Main( ) try { -#ifdef _USE_UNO uno::Reference< XContentProviderManager > xUcb = InitializeUCB(); -#endif { DirEntry aIniPath( Config::GetConfigName( Config::GetDefDirectory(), CUniString("testtool") ) ); diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index e46c51caee11..720c8338d4d9 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -171,8 +171,6 @@ void SbiStream::MapError() } } -#ifdef _USE_UNO - // TODO: Code is copied from daemons2/source/uno/asciiEncoder.cxx ::rtl::OUString findUserInDescription( const ::rtl::OUString& aDescription ) @@ -205,15 +203,11 @@ void SbiStream::MapError() return user; } -#endif - - // Hack for #83750 sal_Bool runsInSetup( void ); sal_Bool needSecurityRestrictions( void ) { -#ifdef _USE_UNO static sal_Bool bNeedInit = sal_True; static sal_Bool bRetVal = sal_True; @@ -290,9 +284,6 @@ sal_Bool needSecurityRestrictions( void ) } return bRetVal; -#else - return sal_False; -#endif } // Returns sal_True if UNO is available, otherwise the old file @@ -300,7 +291,6 @@ sal_Bool needSecurityRestrictions( void ) // #89378 New semantic: Don't just ask for UNO but for UCB sal_Bool hasUno( void ) { -#ifdef _USE_UNO static sal_Bool bNeedInit = sal_True; static sal_Bool bRetVal = sal_True; @@ -326,9 +316,6 @@ sal_Bool hasUno( void ) } } return bRetVal; -#else - return sal_False; -#endif } @@ -421,8 +408,6 @@ void OslStream::SetSize( sal_uIntPtr nSize ) } -#ifdef _USE_UNO - class UCBStream : public SvStream { Reference< XInputStream > xIS; @@ -585,7 +570,6 @@ void UCBStream::SetSize( sal_uIntPtr nSize ) SetError( ERRCODE_IO_GENERAL ); } -#endif // Oeffnen eines Streams SbError SbiStream::Open @@ -601,7 +585,6 @@ SbError SbiStream::Open String aStr( rName, gsl_getSystemTextEncoding() ); String aNameStr = getFullPath( aStr ); -#ifdef _USE_UNO if( hasUno() ) { Reference< XMultiServiceFactory > xSMgr = getProcessServiceFactory(); @@ -646,7 +629,6 @@ SbError SbiStream::Open } } -#endif if( !pStrm ) { pStrm = new OslStream( aNameStr, nStrmMode ); |