summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk/fpicker/SalGtkPicker.cxx')
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkPicker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
index ebadb962888c..0443eda76340 100644
--- a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
@@ -51,7 +51,7 @@ OUString SalGtkPicker::uritounicode(const gchar* pIn)
RTL_TEXTENCODING_UTF8 );
INetURLObject aURL(sURL);
- if (INET_PROT_FILE == aURL.GetProtocol())
+ if (INetProtocol::FILE == aURL.GetProtocol())
{
// all the URLs are handled by office in UTF-8
// so the Gnome FP related URLs should be converted accordingly
@@ -81,7 +81,7 @@ OString SalGtkPicker::unicodetouri(const OUString &rURL)
// so the Gnome FP related URLs should be converted accordingly
OString sURL = OUStringToOString(rURL, RTL_TEXTENCODING_UTF8);
INetURLObject aURL(rURL);
- if (INET_PROT_FILE == aURL.GetProtocol())
+ if (INetProtocol::FILE == aURL.GetProtocol())
{
OUString aNewURL = uri::ExternalUriReferenceTranslator::create( m_xContext )->translateToInternal(rURL);