xattr2.cxx (5aaf853b) xattr2.cxx (3324c5be)
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

--- 437 unchanged lines hidden (view full) ---

446
447com::sun::star::drawing::LineCap XLineCapItem::GetValue() const
448{
449 const com::sun::star::drawing::LineCap eRetval((com::sun::star::drawing::LineCap)SfxEnumItem::GetValue());
450 OSL_ENSURE(com::sun::star::drawing::LineCap_BUTT == eRetval
451 || com::sun::star::drawing::LineCap_ROUND == eRetval
452 || com::sun::star::drawing::LineCap_SQUARE == eRetval, "Unknown enum value in XATTR_LINECAP (!)");
453
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

--- 437 unchanged lines hidden (view full) ---

446
447com::sun::star::drawing::LineCap XLineCapItem::GetValue() const
448{
449 const com::sun::star::drawing::LineCap eRetval((com::sun::star::drawing::LineCap)SfxEnumItem::GetValue());
450 OSL_ENSURE(com::sun::star::drawing::LineCap_BUTT == eRetval
451 || com::sun::star::drawing::LineCap_ROUND == eRetval
452 || com::sun::star::drawing::LineCap_SQUARE == eRetval, "Unknown enum value in XATTR_LINECAP (!)");
453
454 return (com::sun::star::drawing::LineCap)SfxEnumItem::GetValue();
454 return eRetval;
455}
456
457//------------------------------
458// class XFillTransparenceItem
459//------------------------------
460TYPEINIT1_AUTOFACTORY(XFillTransparenceItem, SfxUInt16Item);
461
462/*************************************************************************

--- 1391 unchanged lines hidden ---
455}
456
457//------------------------------
458// class XFillTransparenceItem
459//------------------------------
460TYPEINIT1_AUTOFACTORY(XFillTransparenceItem, SfxUInt16Item);
461
462/*************************************************************************

--- 1391 unchanged lines hidden ---