summaryrefslogtreecommitdiff
path: root/svtools/source/graphic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-29 12:40:47 +0200
committerNoel Grandin <noel@peralex.com>2015-09-29 15:08:43 +0200
commit34180700b2686c97cdce0b52ca9578a41a153035 (patch)
tree073f3753e4483f30efa3c7c769f23971e6a046d5 /svtools/source/graphic
parente710170d906fcb248a5e4ff5a3a90cbf0e20003d (diff)
loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
Diffstat (limited to 'svtools/source/graphic')
-rw-r--r--svtools/source/graphic/grfmgr.cxx42
1 files changed, 0 insertions, 42 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index e6fbd3f3024d..a1f1015b644b 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -1083,48 +1083,6 @@ IMPL_LINK_NOARG_TYPED(GraphicObject, ImplAutoSwapOutHdl, Timer *, void)
mpSwapOutTimer->Start();
}
-SvStream& ReadGraphicObject( SvStream& rIStm, GraphicObject& rGraphicObj )
-{
- VersionCompat aCompat( rIStm, StreamMode::READ );
- Graphic aGraphic;
- GraphicAttr aAttr;
- bool bLink;
-
- ReadGraphic( rIStm, aGraphic );
- ReadGraphicAttr( rIStm, aAttr );
- rIStm.ReadCharAsBool( bLink );
-
- rGraphicObj.SetGraphic( aGraphic );
- rGraphicObj.SetAttr( aAttr );
-
- if( bLink )
- {
- OUString aLink = read_uInt16_lenPrefixed_uInt8s_ToOUString(rIStm, RTL_TEXTENCODING_UTF8);
- rGraphicObj.SetLink(aLink);
- }
- else
- rGraphicObj.SetLink();
-
- rGraphicObj.SetSwapStreamHdl();
-
- return rIStm;
-}
-
-SvStream& WriteGraphicObject( SvStream& rOStm, const GraphicObject& rGraphicObj )
-{
- VersionCompat aCompat( rOStm, StreamMode::WRITE, 1 );
- const bool bLink = rGraphicObj.HasLink();
-
- WriteGraphic( rOStm, rGraphicObj.GetGraphic() );
- WriteGraphicAttr( rOStm, rGraphicObj.GetAttr() );
- rOStm.WriteBool( bLink );
-
- if( bLink )
- write_uInt16_lenPrefixed_uInt8s_FromOUString(rOStm, rGraphicObj.GetLink(), RTL_TEXTENCODING_UTF8);
-
- return rOStm;
-}
-
#define UNO_NAME_GRAPHOBJ_URLPREFIX "vnd.sun.star.GraphicObject:"
GraphicObject GraphicObject::CreateGraphicObjectFromURL( const OUString &rURL )