summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/VLineProperties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/main/VLineProperties.cxx')
-rw-r--r--chart2/source/view/main/VLineProperties.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/view/main/VLineProperties.cxx b/chart2/source/view/main/VLineProperties.cxx
index e3486ce84cf3..2c0330bf2ff9 100644
--- a/chart2/source/view/main/VLineProperties.cxx
+++ b/chart2/source/view/main/VLineProperties.cxx
@@ -29,10 +29,10 @@ using namespace ::com::sun::star;
VLineProperties::VLineProperties()
{
- this->Color = uno::makeAny( sal_Int32(0x000000) ); //type sal_Int32 UNO_NAME_LINECOLOR
- this->LineStyle = uno::makeAny( drawing::LineStyle_SOLID ); //type drawing::LineStyle for property UNO_NAME_LINESTYLE
- this->Transparence = uno::makeAny( sal_Int16(0) );//type sal_Int16 for property UNO_NAME_LINETRANSPARENCE
- this->Width = uno::makeAny( sal_Int32(0) );//type sal_Int32 for property UNO_NAME_LINEWIDTH
+ this->Color <<= sal_Int32(0x000000); //type sal_Int32 UNO_NAME_LINECOLOR
+ this->LineStyle <<= drawing::LineStyle_SOLID; //type drawing::LineStyle for property UNO_NAME_LINESTYLE
+ this->Transparence <<= sal_Int16(0);//type sal_Int16 for property UNO_NAME_LINETRANSPARENCE
+ this->Width <<= sal_Int32(0);//type sal_Int32 for property UNO_NAME_LINEWIDTH
}
void VLineProperties::initFromPropertySet( const uno::Reference< beans::XPropertySet >& xProp )
@@ -53,7 +53,7 @@ void VLineProperties::initFromPropertySet( const uno::Reference< beans::XPropert
}
}
else
- this->LineStyle = uno::makeAny( drawing::LineStyle_NONE );
+ this->LineStyle <<= drawing::LineStyle_NONE;
}
bool VLineProperties::isLineVisible() const