Commits

Anonymous committed ca1403a

vbasupportdev300_HG: windows compiler warnings

Comments (0)

Files changed (1)

basic/source/runtime/methods.cxx

 #include <io.h>
 #endif
 
-//using namespace rtl;
-
 #include <basic/sbobjmod.hxx>
 
 static void FilterWhiteSpace( String& rStr )
                     if ( SbxBase* pBaseObj = pVar->GetObject() )
                         pObj = PTR_CAST(SbUnoObject, pBaseObj );
                 }
-		Reference< XErrorQuery > xError;
+		com::sun::star::uno::Reference< XErrorQuery > xError;
 		if ( pObj )
 			xError.set( pObj->getUnoAny(), UNO_QUERY );
 		if ( xError.is() )
                 // we need to get detect the vba-ness of the object in some
                 // other way        
                 // note: Automation objects do not support XServiceInfo
-                Reference< XServiceInfo > xServInfo( aObj, UNO_QUERY );
+                com::sun::star::uno::Reference< XServiceInfo > xServInfo( aObj, UNO_QUERY );
                 if ( xServInfo.is() )
                 {
                     // is this a VBA object ?
-                    Reference< ooo::vba::XHelperInterface > xVBA( aObj, UNO_QUERY );
+                    com::sun::star::uno::Reference< ooo::vba::XHelperInterface > xVBA( aObj, UNO_QUERY );
                     Sequence< rtl::OUString > sServices = xServInfo->getSupportedServiceNames();
                     if ( sServices.getLength() )
                         sRet = sServices[ 0 ];
                 }
                 else
                 {
-                    Reference< com::sun::star::bridge::oleautomation::XAutomationObject > xAutoMation( aObj, UNO_QUERY );
+                    com::sun::star::uno::Reference< com::sun::star::bridge::oleautomation::XAutomationObject > xAutoMation( aObj, UNO_QUERY );
                     if ( xAutoMation.is() )
                     {
-                        Reference< XInvocation > xInv( aObj, UNO_QUERY );
+                        com::sun::star::uno::Reference< XInvocation > xInv( aObj, UNO_QUERY );
                         if ( xInv.is() )
                         {
                             try