summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-03-31 09:32:53 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-03-31 09:46:36 +0200
commit2032e9f5d7683e49b8753d7c7362899c690005b6 (patch)
treef6e873c2cd858ca6ac0ba3318afb8a467f7e7092 /cui
parentcui: unused code in SvxAreaTabPage::ClickGradientHdl_Impl (diff)
downloadcore-2032e9f5d7683e49b8753d7c7362899c690005b6.tar.gz
core-2032e9f5d7683e49b8753d7c7362899c690005b6.zip
cui: unused code in SvxAreaTabPage::ClickBitmapHdl_Impl
This is unused since commit 5627d0bdaf1385df9d90dcec3a319c82c089c2ca (Fix #86988#: Redesign of dialogs, 2001-05-15), and just getting rid of it avoids a crash on Insert -> Frame -> Area -> Bitmap in Writer. Copy&paste of problematic code, take 3. Change-Id: Ide488585bbc6aed157fa6058bcfd1cd0a6d2c7aa
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tparea.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 74b748d10185..85ae669cf2de 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -2061,21 +2061,6 @@ void SvxAreaTabPage::ClickBitmapHdl_Impl()
m_pBxBitmap->Show();
- // set table text
- OUString aString( CUI_RES( RID_SVXSTR_TABLE ) ); aString += ": ";
- INetURLObject aURL( pBitmapList->GetPath() );
-
- aURL.Append( pBitmapList->GetName() );
- DBG_ASSERT( aURL.GetProtocol() != INET_PROT_NOT_VALID, "invalid URL" );
-
- if( aURL.getBase().getLength() > 18 )
- {
- aString += aURL.getBase().copy( 0, 15 );
- aString += "...";
- }
- else
- aString += aURL.getBase();
-
ModifyBitmapHdl_Impl( this );
ModifyTileHdl_Impl( m_pTsbOriginal );
}