summaryrefslogtreecommitdiff
path: root/forms/source/component/spinbutton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/spinbutton.cxx')
-rw-r--r--forms/source/component/spinbutton.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx
index 1faa874f7bab..70237f38b09d 100644
--- a/forms/source/component/spinbutton.cxx
+++ b/forms/source/component/spinbutton.cxx
@@ -206,7 +206,7 @@ namespace frm
OBoundControlModel::write( _rxOutStream );
::osl::MutexGuard aGuard( m_aMutex );
- OStreamSection aSection( Reference< XDataOutputStream >( _rxOutStream, UNO_QUERY ) );
+ OStreamSection aSection( _rxOutStream );
// version
_rxOutStream->writeShort( 0x0001 );
@@ -224,7 +224,7 @@ namespace frm
// version
{
- OStreamSection aSection( Reference< XDataInputStream >( _rxInStream, UNO_QUERY ) );
+ OStreamSection aSection( _rxInStream );
sal_uInt16 nVersion = _rxInStream->readShort();
if ( nVersion == 0x0001 )