EnumContext.cxx (f120fe41) | EnumContext.cxx (54eaaa32) |
---|---|
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 --- 200 unchanged lines hidden (view full) --- 209 210void EnumContext::ProvideContextContainers (void) 211{ 212 if (maContextMap.empty()) 213 { 214 maContextVector.resize(static_cast<size_t>(__LastContextEnum)+1); 215 AddEntry(A2S("any"), Context_Any); 216 AddEntry(A2S("default"), Context_Default); | 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 --- 200 unchanged lines hidden (view full) --- 209 210void EnumContext::ProvideContextContainers (void) 211{ 212 if (maContextMap.empty()) 213 { 214 maContextVector.resize(static_cast<size_t>(__LastContextEnum)+1); 215 AddEntry(A2S("any"), Context_Any); 216 AddEntry(A2S("default"), Context_Default); |
217 AddEntry(A2S("empty"), Context_Empty); |
|
217#define AddContext(context) AddEntry(A2S(#context), Context_##context); 218 AddContext(3DObject); 219 AddContext(Annotation); 220 AddContext(Auditing); 221 AddContext(Cell); 222 AddContext(Chart); 223 AddContext(Chart); 224 AddContext(Draw); --- 102 unchanged lines hidden --- | 218#define AddContext(context) AddEntry(A2S(#context), Context_##context); 219 AddContext(3DObject); 220 AddContext(Annotation); 221 AddContext(Auditing); 222 AddContext(Cell); 223 AddContext(Chart); 224 AddContext(Chart); 225 AddContext(Draw); --- 102 unchanged lines hidden --- |