diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/imagemgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx index 9df68a72ef77..250d140c13d6 100644 --- a/svtools/source/misc/imagemgr.cxx +++ b/svtools/source/misc/imagemgr.cxx @@ -356,7 +356,7 @@ static sal_uInt16 GetImageId_Impl( const INetURLObject& rObject, bool bDetectFol OUString aExt, sURL = rObject.GetMainURL( INetURLObject::NO_DECODE ); sal_uInt16 nImage = IMG_FILE; - if ( rObject.GetProtocol() == INET_PROT_PRIVATE ) + if ( rObject.GetProtocol() == INET_PROT_PRIV_SOFFICE ) { OUString aURLPath = sURL.copy( URL_PREFIX_PRIV_SOFFICE_LEN ); OUString aType = aURLPath.getToken( 0, '/' ); @@ -534,7 +534,7 @@ OUString SvFileInformationManager::GetDescription_Impl( const INetURLObject& rOb { if ( !bDetected ) { - if ( rObject.GetProtocol() == INET_PROT_PRIVATE ) + if ( rObject.GetProtocol() == INET_PROT_PRIV_SOFFICE ) { OUString aURLPath = sURL.copy( URL_PREFIX_PRIV_SOFFICE_LEN ); OUString aType = aURLPath.getToken( 0, '/' ); |