summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-02-22 14:24:52 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-02-22 14:25:33 +0000
commitfdb9d721c18fb3c3f81f7384ad544e72e969f448 (patch)
tree87337f4c493c58d1c72efa92f5307f5efd5b64d9 /svtools
parent131cfef07ba1e941686bf71c4583b06e54e87434 (diff)
revert slew of debug code committed in error
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/grfmgr.cxx5
-rw-r--r--svtools/source/graphic/provider.cxx3
2 files changed, 0 insertions, 8 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 2124d62da555..7c2de86b9767 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -422,17 +422,12 @@ String GraphicObject::GetLink() const
void GraphicObject::SetUserData()
{
- fprintf (stderr, "SetUserData to null from '%s'\n",
- mpUserData ? rtl::OUStringToOString(*mpUserData, RTL_TEXTENCODING_UTF8).getStr() : "<null>");
if( mpUserData )
delete mpUserData, mpUserData = NULL;
}
void GraphicObject::SetUserData( const String& rUserData )
{
- fprintf (stderr, "SetUserData to '%s' from '%s'\n",
- rtl::OUStringToOString(rUserData, RTL_TEXTENCODING_UTF8).getStr(),
- mpUserData ? rtl::OUStringToOString(*mpUserData, RTL_TEXTENCODING_UTF8).getStr() : "<null>");
delete mpUserData, mpUserData = new String( rUserData );
}
diff --git a/svtools/source/graphic/provider.cxx b/svtools/source/graphic/provider.cxx
index 185e9dc1712c..d5bcf46d990b 100644
--- a/svtools/source/graphic/provider.cxx
+++ b/svtools/source/graphic/provider.cxx
@@ -867,7 +867,6 @@ void SAL_CALL GraphicProvider::storeGraphic( const uno::Reference< ::graphic::XG
if( pGraphic && ( pGraphic->GetType() != GRAPHIC_NONE ) )
{
- fprintf (stderr, "provider.cxx - write graphic: ! 0x%lx\n", (long)pGraphic->GetChecksum() );
::Graphic aGraphic( *pGraphic );
ImplApplyFilterData( aGraphic, aFilterDataSeq );
@@ -885,8 +884,6 @@ void SAL_CALL GraphicProvider::storeGraphic( const uno::Reference< ::graphic::XG
}
aMemStrm.Seek( STREAM_SEEK_TO_END );
pOStm->Write( aMemStrm.GetData(), aMemStrm.Tell() );
-
- fprintf (stderr, "provider.cxx - after write graphic: ! 0x%lx\n", (long)pGraphic->GetChecksum() );
}
}
}