debugbase.cxx (82c0ddf2) | debugbase.cxx (22076bf1) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 30 unchanged lines hidden (view full) --- 39 { \ 40 if (!(c) && _OSL_GLOBAL osl_assertFailedLine(f, l, m)) \ 41 _OSL_GLOBAL osl_breakDebug(); \ 42 } while (0) 43#define DEBUGBASE_ENSURE(c, m) DEBUGBASE_ENSURE_(c, OSL_THIS_FILE, __LINE__, m) 44 45namespace { 46 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 30 unchanged lines hidden (view full) --- 39 { \ 40 if (!(c) && _OSL_GLOBAL osl_assertFailedLine(f, l, m)) \ 41 _OSL_GLOBAL osl_breakDebug(); \ 42 } while (0) 43#define DEBUGBASE_ENSURE(c, m) DEBUGBASE_ENSURE_(c, OSL_THIS_FILE, __LINE__, m) 44 45namespace { 46 |
47typedef std::vector<rtl::OString, rtl::Allocator<rtl::OString> > OStringVec; | 47typedef std::vector<rtl::OString> OStringVec; |
48 49struct StaticDebugBaseAddressFilter 50 : rtl::StaticWithInit<OStringVec const, StaticDebugBaseAddressFilter> { 51 OStringVec const operator()() const { 52 OStringVec vec; 53 rtl_uString * pStr = 0; 54 rtl::OUString const name( 55 RTL_CONSTASCII_USTRINGPARAM("OSL_DEBUGBASE_STORE_ADDRESSES") ); --- 103 unchanged lines hidden --- | 48 49struct StaticDebugBaseAddressFilter 50 : rtl::StaticWithInit<OStringVec const, StaticDebugBaseAddressFilter> { 51 OStringVec const operator()() const { 52 OStringVec vec; 53 rtl_uString * pStr = 0; 54 rtl::OUString const name( 55 RTL_CONSTASCII_USTRINGPARAM("OSL_DEBUGBASE_STORE_ADDRESSES") ); --- 103 unchanged lines hidden --- |