summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-03-30 16:09:02 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-03-30 16:25:50 +0200
commit1478e89e08a54f02a137c74c0cde6ae75e80d9f3 (patch)
tree2b4e6d32352f17209884ff6a88ea9859a166a3dc /cui
parentf110f4875b8661476a81c9617f97e62d09b29afb (diff)
cui: unused code in SvxAreaTabPage::ClickColorHdl_Impl
Once again 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 -> Color in Writer. Change-Id: I4e93b8e5f68c229b3093f60b463bb21173dbd0e5
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 408988c316ae..73be1ba5f08b 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -1825,21 +1825,6 @@ void SvxAreaTabPage::ClickColorHdl_Impl()
// Controls for Hatch-Background
m_pFlHatchBckgrd->Hide();
- // set table text
- OUString aString( CUI_RES( RID_SVXSTR_TABLE ) ); aString += ": ";
- INetURLObject aURL( pColorList->GetPath() );
-
- aURL.Append( pColorList->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();
-
ModifyColorHdl_Impl( this );
}