Index: Core/Code/DataManagement/mitkPropertyList.cpp =================================================================== --- Core/Code/DataManagement/mitkPropertyList.cpp (revision 26421) +++ Core/Code/DataManagement/mitkPropertyList.cpp (working copy) @@ -239,38 +239,6 @@ } } - -#ifndef _MSC_VER -template -bool mitk::PropertyList::GetPropertyValue(const char* propertyKey, T & value) const -{ - GenericProperty* gp= dynamic_cast*>(GetProperty(propertyKey) ); - if ( gp != NULL ) - { - value = gp->GetValue(); - return true; - } - return false; -} - -template bool mitk::PropertyList::GetPropertyValue(char const*, double&) const; -template bool mitk::PropertyList::GetPropertyValue(char const*, float&) const; -template bool mitk::PropertyList::GetPropertyValue(char const*, int&) const; -template bool mitk::PropertyList::GetPropertyValue(char const*, bool&) const; -template bool mitk::PropertyList::GetPropertyValue(char const*, mitk::Vector3D&) const; -template bool mitk::PropertyList::GetPropertyValue(char const*, mitk::Point3D&) const; -template bool mitk::PropertyList::GetPropertyValue(char const*, mitk::Point4D&) const; -template bool mitk::PropertyList::GetPropertyValue(char const*, mitk::Point3I&) const; - -template bool mitk::PropertyList::GetPropertyValue(char const*, mitk::FloatLookupTable&) const; -template bool mitk::PropertyList::GetPropertyValue(char const*, mitk::BoolLookupTable&) const; -template bool mitk::PropertyList::GetPropertyValue(char const*, mitk::IntLookupTable&) const; -template bool mitk::PropertyList::GetPropertyValue(char const*, mitk::StringLookupTable&) const; - - -#endif - - bool mitk::PropertyList::GetBoolProperty(const char* propertyKey, bool& boolValue) const { return GetPropertyValue(propertyKey, boolValue); Index: Core/Code/DataManagement/mitkPropertyList.h =================================================================== --- Core/Code/DataManagement/mitkPropertyList.h (revision 26421) +++ Core/Code/DataManagement/mitkPropertyList.h (working copy) @@ -120,7 +120,6 @@ //## @return @a true property was found template bool GetPropertyValue(const char* propertyKey, T & value) const -#ifdef _MSC_VER { GenericProperty* gp= dynamic_cast*>(GetProperty(propertyKey)); if ( gp != NULL ) @@ -130,9 +129,6 @@ } return false; } -#else - ; -#endif /** * @brief Convenience method to access the value of a BoolProperty