diff options
Diffstat (limited to 'chart2/source/view/main/VLineProperties.cxx')
-rw-r--r-- | chart2/source/view/main/VLineProperties.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/chart2/source/view/main/VLineProperties.cxx b/chart2/source/view/main/VLineProperties.cxx index 614770a199de..76cddf36f94c 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 <<= 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 + Color <<= sal_Int32(0x000000); //type sal_Int32 UNO_NAME_LINECOLOR + LineStyle <<= drawing::LineStyle_SOLID; //type drawing::LineStyle for property UNO_NAME_LINESTYLE + Transparence <<= sal_Int16(0);//type sal_Int16 for property UNO_NAME_LINETRANSPARENCE + Width <<= sal_Int32(0);//type sal_Int32 for property UNO_NAME_LINEWIDTH } void VLineProperties::initFromPropertySet( const uno::Reference< beans::XPropertySet >& xProp ) @@ -41,11 +41,11 @@ void VLineProperties::initFromPropertySet( const uno::Reference< beans::XPropert { try { - this->Color = xProp->getPropertyValue( "LineColor" ); - this->LineStyle = xProp->getPropertyValue( "LineStyle" ); - this->Transparence = xProp->getPropertyValue( "LineTransparence" ); - this->Width = xProp->getPropertyValue( "LineWidth" ); - this->DashName = xProp->getPropertyValue( "LineDashName" ); + Color = xProp->getPropertyValue( "LineColor" ); + LineStyle = xProp->getPropertyValue( "LineStyle" ); + Transparence = xProp->getPropertyValue( "LineTransparence" ); + Width = xProp->getPropertyValue( "LineWidth" ); + DashName = xProp->getPropertyValue( "LineDashName" ); } catch( const uno::Exception& e ) { @@ -53,7 +53,7 @@ void VLineProperties::initFromPropertySet( const uno::Reference< beans::XPropert } } else - this->LineStyle <<= drawing::LineStyle_NONE; + LineStyle <<= drawing::LineStyle_NONE; } bool VLineProperties::isLineVisible() const @@ -61,11 +61,11 @@ bool VLineProperties::isLineVisible() const bool bRet = false; drawing::LineStyle aLineStyle(drawing::LineStyle_SOLID); - this->LineStyle >>= aLineStyle; + LineStyle >>= aLineStyle; if( aLineStyle != drawing::LineStyle_NONE ) { sal_Int16 nLineTransparence=0; - this->Transparence >>= nLineTransparence; + Transparence >>= nLineTransparence; if(nLineTransparence!=100) { bRet = true; |