summaryrefslogtreecommitdiff
path: root/sfx2
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 /sfx2
parent6e74c9fd90b3c416dbdfaf091fa3c1c26e70d1de (diff)
Remove obsolete INET_PROT_PRIVATE alias
Change-Id: I6c82dad9d69e19d5596f23eacfbd20768f9f6442
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 36d31f3a6ed1..5928480a3650 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -988,7 +988,7 @@ void SfxDocumentPage::Reset( const SfxItemSet* rSet )
// determine name
INetURLObject aURL(aFile);
OUString aName = aURL.GetName( INetURLObject::DECODE_WITH_CHARSET );
- if ( aName.isEmpty() || aURL.GetProtocol() == INET_PROT_PRIVATE )
+ if ( aName.isEmpty() || aURL.GetProtocol() == INET_PROT_PRIV_SOFFICE )
aName = SfxResId( STR_NONAME ).toString();
m_pNameED->SetText( aName );
@@ -1030,7 +1030,7 @@ void SfxDocumentPage::Reset( const SfxItemSet* rSet )
OUString aText( aPath.PathToFileName() ); //! (pb) MaxLen?
m_pFileValFt->SetText( aText );
}
- else if ( aURL.GetProtocol() != INET_PROT_PRIVATE )
+ else if ( aURL.GetProtocol() != INET_PROT_PRIV_SOFFICE )
m_pFileValFt->SetText( aURL.GetPartBeforeLastName() );
// handle access data