Imported Upstream version 0.8~alpha1
[platform/upstream/syncevolution.git] / src / vocl / VObject.cpp
index 57942e2..d03f1d4 100644 (file)
@@ -108,7 +108,7 @@ VProperty* VObject::getProperty(int index) {
     return (VProperty*)properties->get(index);
 }
 
-VProperty* VObject::getProperty(wchar_t* propName) {
+VProperty* VObject::getProperty(const wchar_t* propName) {
     for (int i=0; i<properties->size(); i++) {
         
         VProperty *property; 
@@ -230,7 +230,6 @@ static int hex2int( wchar_t x )
 void VObject::toNativeEncoding()
 {
     bool is_30 = !wcscmp(getVersion(), TEXT("3.0"));
-    bool is_21 = !wcscmp(getVersion(), TEXT("2.1"));
     // line break is encoded with either one or two
     // characters on different platforms
     const int linebreaklen = wcslen(SYNC4J_LINEBREAK);