harvester/harvesterplugins/WMVPlugin/src/harvesterwmvplugin.cpp
branchRCL_3
changeset 12 9f21bab39f42
parent 9 82c0024438c8
child 13 4a4892eec172
--- a/harvester/harvesterplugins/WMVPlugin/src/harvesterwmvplugin.cpp	Tue Apr 27 17:05:23 2010 +0300
+++ b/harvester/harvesterplugins/WMVPlugin/src/harvesterwmvplugin.cpp	Tue May 11 16:36:55 2010 +0300
@@ -23,6 +23,7 @@
 #include "harvesterlog.h"
 #include "harvestercommon.h"
 #include "harvesterwmvplugin.h"
+#include "mdscommoninternal.h"
 #include <mdenamespacedef.h>
 #include <mdeobjectdef.h>
 #include "mdeobject.h"
@@ -310,7 +311,7 @@
                 *iPropDefs->iDrmPropertyDef, &aClipDetails.iDrmProtected, aIsAdd );
         } 
     // Title (is set from URI by default)
-    if( aClipDetails.iTitle.Length() > 0 && aClipDetails.iTitle.Length() < iMaxTextLength )
+    if( aClipDetails.iTitle.Length() > 0 && aClipDetails.iTitle.Length() < KMaxTitleFieldLength )
         {
         CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, 
                 *iPropDefs->iTitlePropertyDef, &aClipDetails.iTitle, EFalse );