NamedProperties.cxx (cde9e8dc) NamedProperties.cxx (9ec58d04)
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

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

41{
42 NamedFillProperties::AddPropertiesToVector( rOutProperties );
43 NamedLineProperties::AddPropertiesToVector( rOutProperties );
44}
45
46OUString NamedProperties::GetPropertyNameForHandle( sal_Int32 nHandle )
47{
48 OUString aName = NamedFillProperties::GetPropertyNameForHandle( nHandle );
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

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

41{
42 NamedFillProperties::AddPropertiesToVector( rOutProperties );
43 NamedLineProperties::AddPropertiesToVector( rOutProperties );
44}
45
46OUString NamedProperties::GetPropertyNameForHandle( sal_Int32 nHandle )
47{
48 OUString aName = NamedFillProperties::GetPropertyNameForHandle( nHandle );
49 if( !aName.getLength() )
49 if( aName.isEmpty() )
50 aName = NamedLineProperties::GetPropertyNameForHandle( nHandle );
51 return aName;
52}
53
54} // namespace chart
50 aName = NamedLineProperties::GetPropertyNameForHandle( nHandle );
51 return aName;
52}
53
54} // namespace chart