diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-29 19:21:24 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-29 19:33:39 +0100 |
commit | e9c9f3f793a91525ac4fb74f8791ba74222515e4 (patch) | |
tree | 86b0c55c8520b86520b0e40bfaa75bf5ed229269 /cui | |
parent | 6f892ed9fc3b836e0d23681a16425ebd60aa61f8 (diff) |
cui: unused code in SvxAreaTabPage::ClickHatchingHdl_Impl()
Turns out 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 -> Hatching in Writer.
Change-Id: Ic26cc592c0792f966c52dd2ac6de8657ff635cd3
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/tparea.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index 4b8c2cc1b0d5..408988c316ae 100644 --- a/cui/source/tabpages/tparea.cxx +++ b/cui/source/tabpages/tparea.cxx @@ -1965,21 +1965,6 @@ void SvxAreaTabPage::ClickHatchingHdl_Impl() m_pCbxHatchBckgrd->Enable(); m_pLbHatchBckgrdColor->Enable(); - // set table text - OUString aString( CUI_RES( RID_SVXSTR_TABLE ) ); aString += ": "; - INetURLObject aURL( pHatchingList->GetPath() ); - - aURL.Append( pHatchingList->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(); - ModifyHatchingHdl_Impl( this ); ModifyHatchBckgrdColorHdl_Impl( this ); ToggleHatchBckgrdColorHdl_Impl( this ); |