diff options
-rw-r--r-- | sot/inc/sot/storage.hxx | 1 | ||||
-rw-r--r-- | sot/source/sdstor/storage.cxx | 10 | ||||
-rw-r--r-- | svl/inc/svl/cintitem.hxx | 2 | ||||
-rw-r--r-- | svl/inc/svl/flagitem.hxx | 1 | ||||
-rw-r--r-- | svl/inc/svl/intitem.hxx | 3 | ||||
-rw-r--r-- | svl/inc/svl/ptitem.hxx | 1 | ||||
-rw-r--r-- | svl/source/items/cintitem.cxx | 8 | ||||
-rw-r--r-- | svl/source/items/flagitem.cxx | 9 | ||||
-rw-r--r-- | svl/source/items/ptitem.cxx | 9 | ||||
-rw-r--r-- | unotools/inc/unotools/accelcfg.hxx | 1 | ||||
-rw-r--r-- | unotools/source/config/accelcfg.cxx | 25 |
11 files changed, 0 insertions, 70 deletions
diff --git a/sot/inc/sot/storage.hxx b/sot/inc/sot/storage.hxx index 9913edaaa40f..a71332b3108b 100644 --- a/sot/inc/sot/storage.hxx +++ b/sot/inc/sot/storage.hxx @@ -231,7 +231,6 @@ public: virtual sal_Bool MoveTo( const String & rEleName, SotStorage * pDest, const String & rNewName ); - SvStream* GetTargetSvStream() const; sal_Bool SetProperty( const String& rName, const ::com::sun::star::uno::Any& rValue ); sal_Bool GetProperty( const String& rName, ::com::sun::star::uno::Any& rValue ); sal_Bool GetProperty( const String& rEleName, const String& rName, ::com::sun::star::uno::Any& rValue ); diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 50a30d89b45e..3d99b0ad2f6f 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -1209,16 +1209,6 @@ const SvStream* SotStorage::GetSvStream() return pResult; } -SvStream* SotStorage::GetTargetSvStream() const -{ - SvStream* pResult = 0; - DBG_ASSERT( Owner(), "must be owner" ); - if( m_pOwnStg ) - pResult = (SvStream*)(m_pOwnStg->GetSvStream()); - return pResult; -} - - sal_Bool SotStorage::Validate() { DBG_ASSERT( m_bIsRoot, "Validate nur an Rootstorage" ); diff --git a/svl/inc/svl/cintitem.hxx b/svl/inc/svl/cintitem.hxx index a6725b2fcf0b..f7a0a9a0e392 100644 --- a/svl/inc/svl/cintitem.hxx +++ b/svl/inc/svl/cintitem.hxx @@ -46,8 +46,6 @@ public: CntByteItem(sal_uInt16 which = 0, sal_uInt8 nTheValue = 0): SfxPoolItem(which), m_nValue(nTheValue) { DBG_CTOR(CntByteItem, 0); } - CntByteItem(sal_uInt16 which, SvStream & rStream); - CntByteItem(const CntByteItem & rItem): SfxPoolItem(rItem), m_nValue(rItem.m_nValue) { DBG_CTOR(CntByteItem, 0); } diff --git a/svl/inc/svl/flagitem.hxx b/svl/inc/svl/flagitem.hxx index f64efc455867..cb5d43377235 100644 --- a/svl/inc/svl/flagitem.hxx +++ b/svl/inc/svl/flagitem.hxx @@ -49,7 +49,6 @@ public: TYPEINFO(); SfxFlagItem( sal_uInt16 nWhich = 0, sal_uInt16 nValue = 0 ); - SfxFlagItem( sal_uInt16 nWhich, SvStream & ); SfxFlagItem( const SfxFlagItem& ); ~SfxFlagItem() { diff --git a/svl/inc/svl/intitem.hxx b/svl/inc/svl/intitem.hxx index 9ecb9a904dc5..e38498af4e8f 100644 --- a/svl/inc/svl/intitem.hxx +++ b/svl/inc/svl/intitem.hxx @@ -41,9 +41,6 @@ public: SfxByteItem(sal_uInt16 which = 0, sal_uInt8 nValue = 0): CntByteItem(which, nValue) {} - SfxByteItem(sal_uInt16 which, SvStream & rStream): - CntByteItem(which, rStream) {} - virtual SfxPoolItem * Create(SvStream & rStream, sal_uInt16) const; virtual SfxPoolItem * Clone(SfxItemPool * = 0) const diff --git a/svl/inc/svl/ptitem.hxx b/svl/inc/svl/ptitem.hxx index 46963d8b7ade..93fda1b9fe05 100644 --- a/svl/inc/svl/ptitem.hxx +++ b/svl/inc/svl/ptitem.hxx @@ -46,7 +46,6 @@ public: TYPEINFO(); SfxPointItem(); SfxPointItem( sal_uInt16 nWhich, const Point& rVal ); - SfxPointItem( sal_uInt16 nWhich, SvStream & ); SfxPointItem( const SfxPointItem& ); ~SfxPointItem() { DBG_DTOR(SfxPointItem, 0); } diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx index 1f949babf9dc..dbb20a8b7cd6 100644 --- a/svl/source/items/cintitem.cxx +++ b/svl/source/items/cintitem.cxx @@ -44,14 +44,6 @@ DBG_NAME(CntByteItem) TYPEINIT1_AUTOFACTORY(CntByteItem, SfxPoolItem); //============================================================================ -CntByteItem::CntByteItem(sal_uInt16 which, SvStream & rStream): - SfxPoolItem(which) -{ - DBG_CTOR(CntByteItem, 0); - rStream >> m_nValue; -} - -//============================================================================ // virtual int CntByteItem::operator ==(const SfxPoolItem & rItem) const { diff --git a/svl/source/items/flagitem.cxx b/svl/source/items/flagitem.cxx index a151d430cd0d..cc206deb441c 100644 --- a/svl/source/items/flagitem.cxx +++ b/svl/source/items/flagitem.cxx @@ -61,15 +61,6 @@ SfxFlagItem::SfxFlagItem( sal_uInt16 nW, sal_uInt16 nV ) : // ----------------------------------------------------------------------- -SfxFlagItem::SfxFlagItem( sal_uInt16 nW, SvStream &rStream) : - SfxPoolItem( nW ) -{ - DBG_CTOR(SfxFlagItem, 0); - rStream >> nVal; -} - -// ----------------------------------------------------------------------- - SfxFlagItem::SfxFlagItem( const SfxFlagItem& rItem ) : SfxPoolItem( rItem ), nVal( rItem.nVal ) diff --git a/svl/source/items/ptitem.cxx b/svl/source/items/ptitem.cxx index e3d3ad5fdc1a..0043cb7cf172 100644 --- a/svl/source/items/ptitem.cxx +++ b/svl/source/items/ptitem.cxx @@ -67,15 +67,6 @@ SfxPointItem::SfxPointItem( sal_uInt16 nW, const Point& rVal ) : // ----------------------------------------------------------------------- -SfxPointItem::SfxPointItem( sal_uInt16 nW, SvStream &rStream ) : - SfxPoolItem( nW ) -{ - DBG_CTOR(SfxPointItem, 0); - rStream >> aVal; -} - -// ----------------------------------------------------------------------- - SfxPointItem::SfxPointItem( const SfxPointItem& rItem ) : SfxPoolItem( rItem ), aVal( rItem.aVal ) diff --git a/unotools/inc/unotools/accelcfg.hxx b/unotools/inc/unotools/accelcfg.hxx index 9bc3f2178e34..633ab38bf6f8 100644 --- a/unotools/inc/unotools/accelcfg.hxx +++ b/unotools/inc/unotools/accelcfg.hxx @@ -60,7 +60,6 @@ public: SvtAcceleratorConfiguration(); // get special accelerators - static SvtAcceleratorConfiguration* CreateFromStream( SvStream& rStream ); static String GetStreamName(); static SvStream* GetDefaultStream( StreamMode ); diff --git a/unotools/source/config/accelcfg.cxx b/unotools/source/config/accelcfg.cxx index c1748e3b411c..ca7200f07bb5 100644 --- a/unotools/source/config/accelcfg.cxx +++ b/unotools/source/config/accelcfg.cxx @@ -173,31 +173,6 @@ SvtAcceleratorConfiguration::SvtAcceleratorConfiguration() pImp = pOptions; } -SvtAcceleratorConfiguration* SvtAcceleratorConfiguration::CreateFromStream( SvStream& rStream ) -{ - SvtAcceleratorConfiguration* pRet = new SvtAcceleratorConfiguration; - ::utl::OInputStreamWrapper aHelper( rStream ); - com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > xOut( &aHelper ); - try - { - pRet->pImp = new SvtAcceleratorConfig_Impl( xOut ); - } - catch ( RuntimeException& ) - { - DELETEZ( pRet ); - } - catch( SAXException& ) - { - DELETEZ( pRet ); - } - catch( ::com::sun::star::io::IOException& ) - { - DELETEZ( pRet ); - } - - return pRet; -} - // ----------------------------------------------------------------------- SvtAcceleratorConfiguration::~SvtAcceleratorConfiguration() |