summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-06 13:36:23 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-06 13:36:23 +0000
commitac35fd450dbd07c371639c96b69d4251a34e7b55 (patch)
treebebc87ec88cd406d847f80648d4ec9624d84ed10 /sfx2/source
parentce3baa5ae7c1430d4d6ada240605534a1b450a3f (diff)
INTEGRATION: CWS warningfixes01 (1.30.4); FILE MERGED
2006/06/28 10:48:55 cd 1.30.4.1: #i66813# Fix call to InsertEntry with wrong arguments
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/acccfg.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/dialog/acccfg.cxx b/sfx2/source/dialog/acccfg.cxx
index 7abff33223a1..7c339166a84f 100644
--- a/sfx2/source/dialog/acccfg.cxx
+++ b/sfx2/source/dialog/acccfg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: acccfg.cxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 22:19:38 $
+ * last change: $Author: kz $ $Date: 2006-07-06 14:36:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -670,7 +670,7 @@ void SfxAcceleratorConfigPage::Init(const css::uno::Reference< css::ui::XAcceler
if (!sKey.Len())
continue;
TAccInfo* pEntry = new TAccInfo(i1, nListPos, aKey);
- SvLBoxEntry* pLBEntry = aEntriesBox.InsertEntry(sKey, 0L, LIST_APPEND, 0xFFFF);
+ SvLBoxEntry* pLBEntry = aEntriesBox.InsertEntryToColumn(sKey, 0L, LIST_APPEND, 0xFFFF);
pLBEntry->SetUserData(pEntry);
}
@@ -768,7 +768,7 @@ void SfxAcceleratorConfigPage::ResetConfig()
String FileDialog_Impl( Window* /*pParent*/, WinBits nBits, const String& rTitle )
{
BOOL bSave = ( ( nBits & WB_SAVEAS ) == WB_SAVEAS );
- short nDialogType = bSave? ::sfx2::FILESAVE_SIMPLE : ::sfx2::FILEOPEN_SIMPLE;
+ short nDialogType = bSave? short(::sfx2::FILESAVE_SIMPLE) : short(::sfx2::FILEOPEN_SIMPLE);
sfx2::FileDialogHelper aFileDlg( nDialogType, 0 );
aFileDlg.SetTitle( rTitle );
@@ -1073,7 +1073,7 @@ IMPL_LINK( SfxAcceleratorConfigPage, SelectHdl, Control*, pListBox )
)
{
TAccInfo* pU1 = new TAccInfo(-1, -1, pUserData->m_aKey);
- SvLBoxEntry* pE1 = aKeyBox.InsertEntry( pUserData->m_aKey.GetName(), 0, LIST_APPEND, 0xFFFF);
+ SvLBoxEntry* pE1 = aKeyBox.InsertEntry( pUserData->m_aKey.GetName(), 0L, TRUE, LIST_APPEND );
pE1->SetUserData(pU1);
pE1->EnableChildsOnDemand( FALSE );
}