summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/imapdlg.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx
index 8c01116825bd..0a16d670002c 100644
--- a/svx/source/dialog/imapdlg.cxx
+++ b/svx/source/dialog/imapdlg.cxx
@@ -383,7 +383,7 @@ void SvxIMapDlg::DoOpen()
if( pIStm )
{
- aLoadIMap.Read( *pIStm, IMAP_FORMAT_DETECT );
+ aLoadIMap.Read( *pIStm, IMapFormat::Detect );
if( pIStm->GetError() )
{
@@ -421,21 +421,21 @@ bool SvxIMapDlg::DoSave()
{
const OUString aFilter( aDlg.GetCurrentFilter() );
OUString aExt;
- sal_uLong nFormat;
+ IMapFormat nFormat;
if ( aFilter == aBinFilter )
{
- nFormat = IMAP_FORMAT_BIN;
+ nFormat = IMapFormat::Binary;
aExt = "sip";
}
else if ( aFilter == aCERNFilter )
{
- nFormat = IMAP_FORMAT_CERN;
+ nFormat = IMapFormat::CERN;
aExt = "map";
}
else if ( aFilter == aNCSAFilter )
{
- nFormat = IMAP_FORMAT_NCSA;
+ nFormat = IMapFormat::NCSA;
aExt = "map";
}
else