diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/helper/formpdfexport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/helper/formpdfexport.cxx b/toolkit/source/helper/formpdfexport.cxx index e02ba19bbdfa..0503a57edd23 100644 --- a/toolkit/source/helper/formpdfexport.cxx +++ b/toolkit/source/helper/formpdfexport.cxx @@ -313,9 +313,9 @@ namespace toolkitform OUString sBorderColorPropertyName( "BorderColor" ); if ( xPSI->hasPropertyByName( sBorderColorPropertyName ) ) { - sal_Int32 nBoderColor = COL_TRANSPARENT; - if ( xModelProps->getPropertyValue( sBorderColorPropertyName ) >>= nBoderColor ) - Descriptor->BorderColor = Color( nBoderColor ); + sal_Int32 nBorderColor = COL_TRANSPARENT; + if ( xModelProps->getPropertyValue( sBorderColorPropertyName ) >>= nBorderColor ) + Descriptor->BorderColor = Color( nBorderColor ); else Descriptor->BorderColor = Color( COL_BLACK ); } |