summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/filedlghelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-29 08:43:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-29 10:21:35 +0000
commit5f2d57fb32bc47dad8ec38287db6627ea6273527 (patch)
treec99f6d8f7effb91c62821e2ddaa06d928e9117e8 /sfx2/source/dialog/filedlghelper.cxx
parentfd68b73042ac59d610e1f0edb53444a3444c5c64 (diff)
convert EViewType to scoped enum
Change-Id: I5b10aada64408897a56a5932aa28486d7562d617 Reviewed-on: https://gerrit.libreoffice.org/35822 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/dialog/filedlghelper.cxx')
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index ea5654282a0a..17df1c910a04 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -338,7 +338,7 @@ OUString FileDialogHelper_Impl::getCurrentFilterUIName() const
void FileDialogHelper_Impl::LoadLastUsedFilter( const OUString& _rContextIdentifier )
{
- SvtViewOptions aDlgOpt( E_DIALOG, IODLG_CONFIGNAME );
+ SvtViewOptions aDlgOpt( EViewType::Dialog, IODLG_CONFIGNAME );
if( aDlgOpt.Exists() )
{
@@ -352,7 +352,7 @@ void FileDialogHelper_Impl::SaveLastUsedFilter()
{
const OUString* pConfigId = GetLastFilterConfigId( meContext );
if( pConfigId )
- SvtViewOptions( E_DIALOG, IODLG_CONFIGNAME ).SetUserItem( *pConfigId,
+ SvtViewOptions( EViewType::Dialog, IODLG_CONFIGNAME ).SetUserItem( *pConfigId,
makeAny( getFilterWithExtension( getFilter() ) ) );
}
@@ -1921,7 +1921,7 @@ void FileDialogHelper_Impl::saveConfig()
if ( mbHasPreview )
{
- SvtViewOptions aDlgOpt( E_DIALOG, IMPGRF_CONFIGNAME );
+ SvtViewOptions aDlgOpt( EViewType::Dialog, IMPGRF_CONFIGNAME );
OUString aUserData(GRF_CONFIG_STR);
try
@@ -1947,7 +1947,7 @@ void FileDialogHelper_Impl::saveConfig()
else
{
bool bWriteConfig = false;
- SvtViewOptions aDlgOpt( E_DIALOG, IODLG_CONFIGNAME );
+ SvtViewOptions aDlgOpt( EViewType::Dialog, IODLG_CONFIGNAME );
OUString aUserData(STD_CONFIG_STR);
if ( aDlgOpt.Exists() )
@@ -2049,7 +2049,7 @@ void FileDialogHelper_Impl::loadConfig()
if ( mbHasPreview )
{
- SvtViewOptions aViewOpt( E_DIALOG, IMPGRF_CONFIGNAME );
+ SvtViewOptions aViewOpt( EViewType::Dialog, IMPGRF_CONFIGNAME );
OUString aUserData;
if ( aViewOpt.Exists() )
@@ -2095,7 +2095,7 @@ void FileDialogHelper_Impl::loadConfig()
}
else
{
- SvtViewOptions aViewOpt( E_DIALOG, IODLG_CONFIGNAME );
+ SvtViewOptions aViewOpt( EViewType::Dialog, IODLG_CONFIGNAME );
OUString aUserData;
if ( aViewOpt.Exists() )