summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpcontent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/ftp/ftpcontent.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx
index 1de00cd726ee..deba05ec9c1b 100644
--- a/ucb/source/ucp/ftp/ftpcontent.cxx
+++ b/ucb/source/ucp/ftp/ftpcontent.cxx
@@ -679,10 +679,7 @@ Reference<XContent > SAL_CALL
FTPContent::createNewContent( const ContentInfo& Info )
throw (RuntimeException)
{
- if(Info.Type.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("application/"
- "vnd.sun.staroffice.ftp-file")) ||
- Info.Type.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("application/"
- "vnd.sun.staroffice.ftp-folder")))
+ if( Info.Type =="application/vnd.sun.staroffice.ftp-file" || Info.Type == "application/vnd.sun.staroffice.ftp-folder" )
return new FTPContent(m_xSMgr,
m_pFCP,
m_xIdentifier,Info);