xattr.cxx (ae2dc0fa) | xattr.cxx (fefd526c) |
---|---|
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 --- 468 unchanged lines hidden (view full) --- 477 478const Color& XColorItem::GetColorValue() const 479{ 480 if(!IsIndex()) 481 { 482 return aColor; 483 } 484 | 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 --- 468 unchanged lines hidden (view full) --- 477 478const Color& XColorItem::GetColorValue() const 479{ 480 if(!IsIndex()) 481 { 482 return aColor; 483 } 484 |
485 OSL_ENSURE(false, "Acces to Indexed XColorItem needs to use the call which hands over a XColorListSharedPtr (!)"); | 485 OSL_ENSURE(false, "Access to Indexed XColorItem needs to use the call which hands over a XColorListSharedPtr (!)"); |
486 487 return aColor; 488} 489 490const Color& XColorItem::GetColorValue(const XColorListSharedPtr aTable) const 491{ 492 if(!IsIndex()) 493 { --- 5194 unchanged lines hidden --- | 486 487 return aColor; 488} 489 490const Color& XColorItem::GetColorValue(const XColorListSharedPtr aTable) const 491{ 492 if(!IsIndex()) 493 { --- 5194 unchanged lines hidden --- |