diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 08:43:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 10:21:35 +0000 |
commit | 5f2d57fb32bc47dad8ec38287db6627ea6273527 (patch) | |
tree | c99f6d8f7effb91c62821e2ddaa06d928e9117e8 /fpicker/source/office | |
parent | fd68b73042ac59d610e1f0edb53444a3444c5c64 (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 'fpicker/source/office')
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.cxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index f2682405895d..32034f6fe441 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -304,7 +304,7 @@ void RemoteFilesDialog::dispose() // save window state if( !m_sIniKey.isEmpty() ) { - SvtViewOptions aDlgOpt( E_DIALOG, m_sIniKey ); + SvtViewOptions aDlgOpt( EViewType::Dialog, m_sIniKey ); aDlgOpt.SetWindowState( OStringToOUString( GetWindowState(), osl_getThreadTextEncoding() ) ); Size aSize( GetSizePixel() ); @@ -443,7 +443,7 @@ void RemoteFilesDialog::InitSize() return; // initialize from config - SvtViewOptions aDlgOpt( E_DIALOG, m_sIniKey ); + SvtViewOptions aDlgOpt( EViewType::Dialog, m_sIniKey ); if( aDlgOpt.Exists() ) { diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 4792c4b6c69d..b2b5a3347443 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -487,7 +487,7 @@ void SvtFileDialog::dispose() if ( !pImpl->_aIniKey.isEmpty() ) { // save window state - SvtViewOptions aDlgOpt( E_DIALOG, pImpl->_aIniKey ); + SvtViewOptions aDlgOpt( EViewType::Dialog, pImpl->_aIniKey ); aDlgOpt.SetWindowState(OStringToOUString(GetWindowState(), osl_getThreadTextEncoding())); OUString sUserData = _pFileView->GetConfigString(); aDlgOpt.SetUserItem( "UserData", @@ -2151,7 +2151,7 @@ void SvtFileDialog::InitSize() return; // initialize from config - SvtViewOptions aDlgOpt( E_DIALOG, pImpl->_aIniKey ); + SvtViewOptions aDlgOpt( EViewType::Dialog, pImpl->_aIniKey ); if ( aDlgOpt.Exists() ) { |