diff options
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/doc/frmdescr.cxx | 35 | ||||
-rw-r--r-- | sfx2/source/doc/oleprops.cxx | 14 |
3 files changed, 0 insertions, 55 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index c4685aba1e1e..c7e60dada5c4 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -2959,12 +2959,6 @@ void SfxMedium::SetReferer( const String& rRefer ) { pImp->aReferer = rRefer; } -//---------------------------------------------------------------- - -const String& SfxMedium::GetReferer( ) const -{ - return pImp->aReferer; -} //---------------------------------------------------------------- diff --git a/sfx2/source/doc/frmdescr.cxx b/sfx2/source/doc/frmdescr.cxx index 81da3e86da75..760869ffe58b 100644 --- a/sfx2/source/doc/frmdescr.cxx +++ b/sfx2/source/doc/frmdescr.cxx @@ -89,12 +89,6 @@ void SfxFrameDescriptor::SetURL( const String& rURL ) SetActualURL( aURL ); } -void SfxFrameDescriptor::SetURL( const INetURLObject& rURL ) -{ - aURL = rURL.GetMainURL( INetURLObject::DECODE_TO_IURI ); - SetActualURL( aURL ); -} - void SfxFrameDescriptor::SetActualURL( const String& rURL ) { aActualURL = INetURLObject(rURL); @@ -151,30 +145,11 @@ SfxFrameDescriptor* SfxFrameDescriptor::Clone( sal_Bool bWithIds ) const return pFrame; } -sal_uInt16 SfxFrameDescriptor::GetWinBits() const -{ - sal_uInt16 nBits = 0; - if ( eSizeSelector == SIZE_REL ) - nBits |= SWIB_RELATIVESIZE; - if ( eSizeSelector == SIZE_PERCENT ) - nBits |= SWIB_PERCENTSIZE; - if ( !IsResizable() ) - nBits |= SWIB_FIXED; - if ( !nWidth ) - nBits |= SWIB_INVISIBLE; - return nBits; -} - sal_Bool SfxFrameDescriptor::HasFrameBorder() const { return (nHasBorder & BORDER_YES) != 0; } -long SfxFrameDescriptor::GetSize() const -{ - return nWidth; -} - void SfxFrameDescriptor::SetWallpaper( const Wallpaper& rWallpaper ) { DELETEZ( pImp->pWallpaper ); @@ -183,16 +158,6 @@ void SfxFrameDescriptor::SetWallpaper( const Wallpaper& rWallpaper ) pImp->pWallpaper = new Wallpaper( rWallpaper ); } -const Wallpaper* SfxFrameDescriptor::GetWallpaper() const -{ - return pImp->pWallpaper; -} - -sal_uInt16 SfxFrameDescriptor::GetItemPos() const -{ - return USHRT_MAX; -} - SfxFrameProperties& SfxFrameProperties::operator =( const SfxFrameProperties &rProp ) { diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index 91d9c5bce5ac..9c111a05d2a8 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -181,7 +181,6 @@ class SfxOleString16Property : public SfxOleStringPropertyBase { public: explicit SfxOleString16Property( sal_Int32 nPropId ); - explicit SfxOleString16Property( sal_Int32 nPropId, const String& rValue ); private: virtual void ImplLoad( SvStream& rStrm ); @@ -216,8 +215,6 @@ class SfxOleDateProperty : public SfxOlePropertyBase { public: explicit SfxOleDateProperty( sal_Int32 nPropId ); - /** @param rDate Date as LOCAL time. */ - explicit SfxOleDateProperty( sal_Int32 nPropId, const util::Date& rDate ); /** Returns the date value as LOCAL time. */ inline const util::Date& GetValue() const { return maDate; } @@ -571,11 +568,6 @@ SfxOleString16Property::SfxOleString16Property( sal_Int32 nPropId ) : { } -SfxOleString16Property::SfxOleString16Property( sal_Int32 nPropId, const String& rValue ) : - SfxOleStringPropertyBase( nPropId, PROPTYPE_STRING16, RTL_TEXTENCODING_UCS2, rValue ) -{ -} - void SfxOleString16Property::ImplLoad( SvStream& rStrm ) { SetValue( LoadString16( rStrm ) ); @@ -648,12 +640,6 @@ SfxOleDateProperty::SfxOleDateProperty( sal_Int32 nPropId ) : { } -SfxOleDateProperty::SfxOleDateProperty( sal_Int32 nPropId, const util::Date& rDate ) : - SfxOlePropertyBase( nPropId, PROPTYPE_DATE ), - maDate( rDate ) -{ -} - void SfxOleDateProperty::ImplLoad( SvStream& rStrm ) { double fValue(0.0); |