summaryrefslogtreecommitdiff
path: root/forms/source/component/navigationbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/navigationbar.cxx')
-rw-r--r--forms/source/component/navigationbar.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/navigationbar.cxx b/forms/source/component/navigationbar.cxx
index 44133a8da799..99ac10ac19e8 100644
--- a/forms/source/component/navigationbar.cxx
+++ b/forms/source/component/navigationbar.cxx
@@ -218,11 +218,11 @@ namespace frm
}
if ( nNonVoids & PERSIST_TEXTCOLOR )
{
- _rxOutStream->writeLong( getTextColor() );
+ _rxOutStream->writeLong( sal_Int32(getTextColor()) );
}
if ( nNonVoids & PERSIST_TEXTLINECOLOR )
{
- _rxOutStream->writeLong( getTextLineColor() );
+ _rxOutStream->writeLong( sal_Int32(getTextLineColor()) );
}
}
@@ -276,12 +276,12 @@ namespace frm
m_aBackgroundColor.clear();
if ( nNonVoids & PERSIST_TEXTCOLOR )
- setTextColor( _rxInStream->readLong() );
+ setTextColor( ::Color(_rxInStream->readLong()) );
else
clearTextColor();
if ( nNonVoids & PERSIST_TEXTLINECOLOR )
- setTextLineColor( _rxInStream->readLong() );
+ setTextLineColor( ::Color(_rxInStream->readLong()) );
else
clearTextLineColor();
}