diff -r ab88d4a85041 -r 9f21bab39f42 harvester/harvesterplugins/WMVPlugin/src/harvesterwmvplugin.cpp --- 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 #include #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 );