diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-21 14:09:45 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-21 14:12:45 +0100 |
commit | db756953c17d50924ad88ba04284d6d12239f48b (patch) | |
tree | 4d9c72e6b01118ef05c6fd2c736bb3fb546ce0ac /ucb | |
parent | 99945b7ff863170626e976e84f1f0dee83dc9a0b (diff) |
Replace suitable equalsAscii calls with equalsAsciiL.
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontent.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx index 4c4400d86aa1..f0edeea018ee 100644 --- a/ucb/source/ucp/ftp/ftpcontent.cxx +++ b/ucb/source/ucp/ftp/ftpcontent.cxx @@ -681,10 +681,10 @@ Reference<XContent > SAL_CALL FTPContent::createNewContent( const ContentInfo& Info ) throw (RuntimeException) { - if(Info.Type.equalsAscii("application/" - "vnd.sun.staroffice.ftp-file") || - Info.Type.equalsAscii("application/" - "vnd.sun.staroffice.ftp-folder")) + 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"))) return new FTPContent(m_xSMgr, m_pFCP, m_xIdentifier,Info); |