diff options
author | Greggory Hernandez <greggory.hz@gmail.com> | 2012-02-22 14:08:57 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-22 14:09:45 +0000 |
commit | aff6db70245a74039b5331810d3ff654b1f6af63 (patch) | |
tree | 24467551cc77e694179b989bfc576baee0b4f199 /svtools/source/graphic | |
parent | 00f022bac10629d35eb6f073c3dfe90e120202b5 (diff) |
fdo#37210 - UI: Calc usability improvement: Merge cells on right mouse click
Diffstat (limited to 'svtools/source/graphic')
-rw-r--r-- | svtools/source/graphic/grfmgr.cxx | 5 | ||||
-rw-r--r-- | svtools/source/graphic/provider.cxx | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index 7c2de86b9767..2124d62da555 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -422,12 +422,17 @@ 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 d5bcf46d990b..185e9dc1712c 100644 --- a/svtools/source/graphic/provider.cxx +++ b/svtools/source/graphic/provider.cxx @@ -867,6 +867,7 @@ 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 ); @@ -884,6 +885,8 @@ 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() ); } } } |