diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-05 09:27:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-05 12:49:02 +0200 |
commit | 50151db9f740afee7f11a10cc5c61b437bf87caf (patch) | |
tree | b41921d86a46931bc06457172994fb3a7dabe92b /svx | |
parent | bfde4866e07746eafa2f0d6173c29d805cc35ad0 (diff) |
convert FSysStyle to o3tl::typed_flags
Change-Id: I58a63a0e6f619442f21827064644ecd8ca57b8ff
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galbrws2.cxx | 4 | ||||
-rw-r--r-- | svx/source/gallery2/galmisc.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index df1ce017507e..7e4cdcac4fc8 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -1234,12 +1234,12 @@ OUString GalleryBrowser2::GetItemText( const GalleryTheme& rTheme, const SgaObje if( nItemTextFlags & GalleryItemFlags::Path ) { - const OUString aPath( aURL.getFSysPath( INetURLObject::FSYS_DETECT ) ); + const OUString aPath( aURL.getFSysPath( FSysStyle::Detect ) ); if( !aPath.isEmpty() && ( nItemTextFlags & GalleryItemFlags::Title ) ) aRet += " ("; - aRet += aURL.getFSysPath( INetURLObject::FSYS_DETECT ); + aRet += aURL.getFSysPath( FSysStyle::Detect ); if( !aPath.isEmpty() && ( nItemTextFlags & GalleryItemFlags::Title ) ) aRet += ")"; diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx index 765ad392030b..180cec48a1ae 100644 --- a/svx/source/gallery2/galmisc.cxx +++ b/svx/source/gallery2/galmisc.cxx @@ -195,7 +195,7 @@ OUString GetReducedString( const INetURLObject& rURL, sal_Int32 nMaxLen ) if( INetProtocol::PrivSoffice != rURL.GetProtocol() ) { sal_Unicode aDelimiter; - const OUString aPath( rURL.getFSysPath( INetURLObject::FSYS_DETECT, &aDelimiter ) ); + const OUString aPath( rURL.getFSysPath( FSysStyle::Detect, &aDelimiter ) ); const OUString aName( aReduced ); if( aPath.getLength() > nMaxLen ) |