summaryrefslogtreecommitdiffstats
path: root/stoc/test/testloader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/test/testloader.cxx')
-rw-r--r--stoc/test/testloader.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/stoc/test/testloader.cxx b/stoc/test/testloader.cxx
index a0ef275565e0..e6830dec36e4 100644
--- a/stoc/test/testloader.cxx
+++ b/stoc/test/testloader.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -31,9 +32,7 @@
#include <stdio.h>
#include <sal/main.h>
-#ifndef _OSL_MODULE_H_
#include <osl/module.hxx>
-#endif
#include <osl/diagnose.h>
#include <com/sun/star/loader/XImplementationLoader.hpp>
@@ -53,9 +52,10 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::loader;
using namespace com::sun::star::lang;
using namespace osl;
-using namespace rtl;
using namespace cppu;
+using ::rtl::OUString;
+
#if OSL_DEBUG_LEVEL > 0
#define TEST_ENSHURE(c, m) OSL_ENSURE(c, m)
#else
@@ -92,7 +92,7 @@ SAL_IMPLEMENT_MAIN()
{
// try to get provider from module
component_getFactoryFunc pCompFactoryFunc = (component_getFactoryFunc)
- module.getFunctionSymbol( OUString::createFromAscii(COMPONENT_GETFACTORY) );
+ module.getFunctionSymbol( OUString(RTL_CONSTASCII_USTRINGPARAM(COMPONENT_GETFACTORY)) );
if (pCompFactoryFunc)
{
@@ -135,3 +135,4 @@ SAL_IMPLEMENT_MAIN()
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */