summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-02 11:14:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-02 16:30:32 +0200
commit796ca9ba61ab14e4bdb7b244c64f7fb2c6bf5f65 (patch)
tree5f390c2b42d6f8d4977cb9f3037289068fac8325 /svtools
parent6e74c9fd90b3c416dbdfaf091fa3c1c26e70d1de (diff)
Remove obsolete INET_PROT_PRIVATE alias
Change-Id: I6c82dad9d69e19d5596f23eacfbd20768f9f6442
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/imagemgr.cxx4
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, '/' );