summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/navigatortree.cxx4
-rw-r--r--svx/source/form/navigatortreemodel.cxx2
-rw-r--r--svx/source/inc/fmexpl.hxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 0528be0da8ac..c530948ea002 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -1343,7 +1343,7 @@ namespace svxform
// insert form
- GetNavModel()->Insert( pNewFormData, TREELIST_APPEND, true );
+ GetNavModel()->Insert(pNewFormData, SAL_MAX_UINT32, true);
// set new form as active
@@ -1394,7 +1394,7 @@ namespace svxform
// insert FormComponent
- GetNavModel()->Insert( pNewFormControlData, TREELIST_APPEND, true );
+ GetNavModel()->Insert(pNewFormControlData, SAL_MAX_UINT32, true);
GetNavModel()->SetModified();
if (bEditName)
diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx
index 8c8cedd6f0a4..3d54e3aea7f7 100644
--- a/svx/source/form/navigatortreemodel.cxx
+++ b/svx/source/form/navigatortreemodel.cxx
@@ -250,7 +250,7 @@ namespace svxform
}
- void NavigatorTreeModel::Insert(FmEntryData* pEntry, sal_uLong nRelPos, bool bAlterModel)
+ void NavigatorTreeModel::Insert(FmEntryData* pEntry, sal_uInt32 nRelPos, bool bAlterModel)
{
if (IsListening(*m_pFormModel))
EndListening(*m_pFormModel);
diff --git a/svx/source/inc/fmexpl.hxx b/svx/source/inc/fmexpl.hxx
index 31d4668e3b55..469b9edf35be 100644
--- a/svx/source/inc/fmexpl.hxx
+++ b/svx/source/inc/fmexpl.hxx
@@ -348,9 +348,9 @@ namespace svxform
void FillBranch( FmFormData* pParentData );
void UpdateContent( FmFormShell* pNewShell );
- void Insert( FmEntryData* pEntryData, sal_uLong nRelPos = CONTAINER_APPEND,
- bool bAlterModel = false );
- void Remove( FmEntryData* pEntryData, bool bAlterModel = false );
+ void Insert(FmEntryData* pEntryData, sal_uInt32 nRelPos = SAL_MAX_UINT32,
+ bool bAlterModel = false);
+ void Remove(FmEntryData* pEntryData, bool bAlterModel = false);
static bool Rename( FmEntryData* pEntryData, const OUString& rNewText );