Author: aschnell Date: Fri Dec 5 13:02:22 2008 New Revision: 53921 URL: http://svn.opensuse.org/viewcvs/yast?rev=53921&view=rev Log: - reverted last commit since that issue should be fixed differently Modified: trunk/storage/libstorage/src/AppUtil.cc trunk/storage/libstorage/src/AppUtil.h Modified: trunk/storage/libstorage/src/AppUtil.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/AppUtil.cc?rev=53921&r1=53920&r2=53921&view=diff ============================================================================== --- trunk/storage/libstorage/src/AppUtil.cc (original) +++ trunk/storage/libstorage/src/AppUtil.cc Fri Dec 5 13:02:22 2008 @@ -533,18 +533,6 @@ } -string escapeHtml(const string& str) -{ - string ret = str; - boost::replace_all(ret, "&", "&"); - boost::replace_all(ret, "<", "<"); - boost::replace_all(ret, ">", ">"); - boost::replace_all(ret, "\"", """); - boost::replace_all(ret, "'", "'"); - return ret; -} - - string sformat(const char* format, ...) { char* result; Modified: trunk/storage/libstorage/src/AppUtil.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/AppUtil.h?rev=53921&r1=53920&r2=53921&view=diff ============================================================================== --- trunk/storage/libstorage/src/AppUtil.h (original) +++ trunk/storage/libstorage/src/AppUtil.h Fri Dec 5 13:02:22 2008 @@ -47,8 +47,6 @@ bool isNfsDev( const string& dev ); unsigned getMajorDevices( const string& driver ); -string escapeHtml(const string& str); - template<class StreamType> void classic(StreamType& stream) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org