summaryrefslogtreecommitdiff
path: root/stoc/test
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-08-08 13:53:08 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-08-08 13:53:54 +0200
commit2beba8f93e7991372dd45351c92c50f7850dc46a (patch)
tree15dfae00223ccc7fdbfe2e06a3d931b97fded890 /stoc/test
parent49ad17e2b1aef65fad357b9c540ab36189233dd3 (diff)
reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
Diffstat (limited to 'stoc/test')
-rw-r--r--stoc/test/testcorefl.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx
index 5e2b53962210..4a1313ffd762 100644
--- a/stoc/test/testcorefl.cxx
+++ b/stoc/test/testcorefl.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <sal/main.h>
#include <osl/diagnose.h>
@@ -42,7 +41,6 @@
#include <stdio.h>
-
using namespace cppu;
using namespace osl;
using namespace ModuleA;
@@ -61,7 +59,6 @@ using ::rtl::OUString;
using ::rtl::OUStringToOString;
using ::rtl::OString;
-
//==================================================================================================
class OInterfaceA : public WeakImplHelper1< XInterfaceA >
{
@@ -95,7 +92,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
OSL_ENSURE(xRefl->forName(OUString("ModuleA.StructA"))->getName() == OUString("ModuleA.StructA"), "test_RegCoreReflection(): error 2b");
OSL_ENSURE(xRefl->forName(OUString("ModuleA.ExceptionB"))->getTypeClass() == TypeClass_EXCEPTION, "test_RegCoreReflection(): error 2c");
OSL_ENSURE(xRefl->forName(OUString("ModuleA.ModuleB.EnumA")).is(), "test_RegCoreReflection(): error 2e");
- // const
+
OSL_ENSURE(*(const sal_Bool *)xHNameAccess->getByHierarchicalName(OUString("ModuleC.aConstBoolean")).getValue() == aConstBoolean, "test_RegCoreReflection(): error 4c");
OSL_ENSURE(*(const sal_Int8 *)xHNameAccess->getByHierarchicalName(OUString("ModuleC.aConstByte")).getValue() == aConstByte, "test_RegCoreReflection(): error 4e");