diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-10-05 14:02:53 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-10-05 19:44:39 +0200 |
commit | 4106979a1d37c98b6ea93d134521fde9bb788956 (patch) | |
tree | 5f38c4259e94428cdafc07599b2b653682f3c5b5 | |
parent | b0caeafc1add0b52b3d7a9dc80f50080ba439f59 (diff) |
Unused data member and setter
Change-Id: Ib11213ecad715948793f0b608ebb99d22fbc3152
-rw-r--r-- | sw/inc/ndgrf.hxx | 3 | ||||
-rw-r--r-- | sw/source/core/graphic/ndgrf.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/xml/xmltexte.cxx | 3 |
3 files changed, 0 insertions, 10 deletions
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx index c839abb4b3c3..5d01aafe8b5e 100644 --- a/sw/inc/ndgrf.hxx +++ b/sw/inc/ndgrf.hxx @@ -41,8 +41,6 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTxtNode GraphicObject *mpReplacementGraphic; ::sfx2::SvBaseLinkRef refLink; ///< If graphics only as link then pointer is set. Size nGrfSize; - String aNewStrmName; /**< SW3/XML: new stream name (either SW3 stream - // name or package url) */ String aLowResGrf; ///< HTML: LowRes graphics (substitute until regular HighRes graphics is loaded). sal_Bool bTransparentFlagValid :1; sal_Bool bInSwapIn :1; @@ -181,7 +179,6 @@ public: short SwapOut(); /// Access to storage stream-name. void SetStreamName( const String& r ) { maGrfObj.SetUserData( r ); } - void SetNewStreamName( const String& r ) { aNewStrmName = r; } /// Is this node selected by any shell? sal_Bool IsSelected() const; diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 67200ac16cfe..e2df34b6ad31 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -880,10 +880,6 @@ void SwGrfNode::_GetStreamStorageNames( String& rStrmName, if( !aUserData.Len() ) return; - if (aNewStrmName.Len()>0) { - aUserData=aNewStrmName; - } - String aProt( "vnd.sun.star.Package:" ); if( 0 == aUserData.CompareTo( aProt, aProt.Len() ) ) { diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx index fcc1373aebcb..e9aac0715b1a 100644 --- a/sw/source/filter/xml/xmltexte.cxx +++ b/sw/source/filter/xml/xmltexte.cxx @@ -208,9 +208,6 @@ void SwXMLTextParagraphExport::setTextEmbeddedGraphicURL( String aNewURL( RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.Package:") ); aNewURL += String(rURL); -// This is nonsensical. -// pGrfNd->SetNewStreamName( aNewURL ); - // #i15411# save-as will swap all graphics in; we need to swap // them out again, to prevent excessive memory use pGrfNd->SwapOut(); |