diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-27 22:31:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-28 10:22:59 +0100 |
commit | 576d7aaadaf97fd504d2e8be258a4a5b738837f3 (patch) | |
tree | ee25b3f1f6fa31ea300e65a20d13acc010d2e2b1 /svl | |
parent | cbc0073221ba1df90a56d541752bed16272906b1 (diff) |
drop some unused code
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/imageitm.hxx | 2 | ||||
-rw-r--r-- | svl/source/items/imageitm.cxx | 14 |
2 files changed, 0 insertions, 16 deletions
diff --git a/svl/inc/svl/imageitm.hxx b/svl/inc/svl/imageitm.hxx index e6cd1d552fd1..1f75ea84f607 100644 --- a/svl/inc/svl/imageitm.hxx +++ b/svl/inc/svl/imageitm.hxx @@ -41,7 +41,6 @@ class SVL_DLLPUBLIC SfxImageItem : public SfxInt16Item public: TYPEINFO(); SfxImageItem( sal_uInt16 nWhich = 0, sal_uInt16 nImage = 0 ); - SfxImageItem( sal_uInt16 nWhich, const String& rURL ); SfxImageItem( const SfxImageItem& ); virtual ~SfxImageItem(); @@ -54,7 +53,6 @@ public: long GetRotation() const; void SetMirrored( sal_Bool bSet ); sal_Bool IsMirrored() const; - String GetURL() const; }; #endif // _SFX_IMAGEITM_HXX diff --git a/svl/source/items/imageitm.cxx b/svl/source/items/imageitm.cxx index 4daa24f2a442..0a24080c12dd 100644 --- a/svl/source/items/imageitm.cxx +++ b/svl/source/items/imageitm.cxx @@ -53,15 +53,6 @@ SfxImageItem::SfxImageItem( sal_uInt16 which, sal_uInt16 nImage ) pImp->bMirrored = sal_False; } -SfxImageItem::SfxImageItem( sal_uInt16 which, const String& rURL ) - : SfxInt16Item( which, 0 ) -{ - pImp = new SfxImageItem_Impl; - pImp->nAngle = 0; - pImp->bMirrored = sal_False; - pImp->aURL = rURL; -} - SfxImageItem::SfxImageItem( const SfxImageItem& rItem ) : SfxInt16Item( rItem ) { @@ -139,9 +130,4 @@ sal_Bool SfxImageItem::IsMirrored() const return pImp->bMirrored; } -String SfxImageItem::GetURL() const -{ - return pImp->aURL; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |