summaryrefslogtreecommitdiffstats
path: root/cppuhelper/test/testhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/test/testhelper.cxx')
-rw-r--r--cppuhelper/test/testhelper.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/cppuhelper/test/testhelper.cxx b/cppuhelper/test/testhelper.cxx
index a50d78aed18a..431c3cb16251 100644
--- a/cppuhelper/test/testhelper.cxx
+++ b/cppuhelper/test/testhelper.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.
@@ -49,13 +50,16 @@
#include "testhelper.hxx"
-using namespace rtl;
using namespace cppu;
using namespace com::sun::star::uno;
using namespace com::sun::star;
using namespace com::sun::star::lang;
using namespace com::sun::star::registry;
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OUStringToOString;
+
SAL_IMPLEMENT_MAIN()
{
try
@@ -96,9 +100,11 @@ SAL_IMPLEMENT_MAIN()
catch (Exception & exc)
{
OString cstr_msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
- OSL_ENSURE( ! "exception occured: ", cstr_msg.getStr() );
+ OSL_ENSURE( ! "exception occurred: ", cstr_msg.getStr() );
}
printf( "Test finished\n" );
return 0;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */