summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-27 10:07:54 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:30:07 +0200
commitb4824c891590ba78d084f155457d1246abfc638c (patch)
tree443dcde3bf95837bcf7228282b26b5cb5f1ed550 /cui
parentconvert include/sfx2/frmdescr.hxx from String to OUString (diff)
downloadcore-b4824c891590ba78d084f155457d1246abfc638c.tar.gz
core-b4824c891590ba78d084f155457d1246abfc638c.zip
convert includes/sfx2/frame.hxx from String to OUString
Change-Id: Ia69548250beb2896cab8c19fe2e635fdc9162f4d
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/cuiimapwnd.cxx2
-rw-r--r--cui/source/dialogs/hltpbase.cxx6
2 files changed, 2 insertions, 6 deletions
diff --git a/cui/source/dialogs/cuiimapwnd.cxx b/cui/source/dialogs/cuiimapwnd.cxx
index 1c9e971f9f3b..7f1455d921f8 100644
--- a/cui/source/dialogs/cuiimapwnd.cxx
+++ b/cui/source/dialogs/cuiimapwnd.cxx
@@ -65,7 +65,7 @@ URLDlg::URLDlg( Window* pWindow, const String& rURL, const String& rAlternativeT
m_pEdtName->SetText( rName );
for( size_t i = 0, n = rTargetList.size(); i < n; ++i )
- m_pCbbTargets->InsertEntry( *rTargetList[ i ] );
+ m_pCbbTargets->InsertEntry( rTargetList[ i ] );
if( !rTarget.Len() )
m_pCbbTargets->SetText( OUString("_self") );
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index 773b82136349..2ede80c294dc 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -58,11 +58,7 @@ SvxFramesComboBox::SvxFramesComboBox ( Window* pParent, const ResId& rResId,
size_t i;
for ( i = 0; i < nCount; i++ )
{
- InsertEntry( *pList->at( i ) );
- }
- for ( i = nCount; i; )
- {
- delete pList->at( --i );
+ InsertEntry( pList->at( i ) );
}
}
}