Author: waltweltonlair
Date: 2007-03-23 08:16:31 -0400 (Fri, 23 Mar 2007)
New Revision: 1356
Modified:
trunk/MgDev/Common/PlatformBase/Services/FeatureQueryOptions.cpp
trunk/MgDev/Common/Stylization/SE_StyleVisitor.cpp
trunk/MgDev/Server/src/Services/Rendering/OpQueryFeatureProperties.cpp
trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
Log:
fix message typo and a warning
Modified: trunk/MgDev/Common/PlatformBase/Services/FeatureQueryOptions.cpp
===================================================================
--- trunk/MgDev/Common/PlatformBase/Services/FeatureQueryOptions.cpp 2007-03-23 03:04:26 UTC (rev 1355)
+++ trunk/MgDev/Common/PlatformBase/Services/FeatureQueryOptions.cpp 2007-03-23 12:16:31 UTC (rev 1356)
@@ -169,7 +169,7 @@
__LINE__, __WFILE__, NULL, L"", NULL);
}
- m_geometryProperty = geometryProperty;
+ m_geometryProperty = geometryProperty;
m_operation = spatialOperation;
m_geometry = SAFE_ADDREF(geometry);
}
Modified: trunk/MgDev/Common/Stylization/SE_StyleVisitor.cpp
===================================================================
--- trunk/MgDev/Common/Stylization/SE_StyleVisitor.cpp 2007-03-23 03:04:26 UTC (rev 1355)
+++ trunk/MgDev/Common/Stylization/SE_StyleVisitor.cpp 2007-03-23 12:16:31 UTC (rev 1356)
@@ -466,7 +466,7 @@
char* src_ascii = new char[srclen];
char* ptr = src_ascii;
- for (int i=0; i<srclen; i++)
+ for (size_t i=0; i<srclen; i++)
*ptr++ = (char)src_u[i];
size_t dstlen = Base64::GetDecodedLength(image.GetContent().size());
Modified: trunk/MgDev/Server/src/Services/Rendering/OpQueryFeatureProperties.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Rendering/OpQueryFeatureProperties.cpp 2007-03-23 03:04:26 UTC (rev 1355)
+++ trunk/MgDev/Server/src/Services/Rendering/OpQueryFeatureProperties.cpp 2007-03-23 12:16:31 UTC (rev 1356)
@@ -102,7 +102,7 @@
// Successful operation
MG_LOG_OPERATION_MESSAGE_ADD_STRING(MgResources::Success.c_str());
- MG_CATCH(L"MgOpGeneratePlot.Execute")
+ MG_CATCH(L"MgOpQueryFeatureProperties.Execute")
if (mgException != NULL)
{
Modified: trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ 2007-03-23 03:04:26 UTC (rev 1355)
+++ trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ 2007-03-23 12:16:31 UTC (rev 1356)
@@ -2380,10 +2380,8 @@
{
if((x2 - x1 <= 2) && (y2 - y1 <= 2))
{
- x1 -= 2; y1 -= 2;
- x2 = x1 + 4; y2 = y1 + 4;
- pt1 = ScreenToMapUnits(x1, y1);
- pt2 = ScreenToMapUnits(x2, y2);
+ pt1 = ScreenToMapUnits(x1-2, y1-2);
+ pt2 = ScreenToMapUnits(x1+2, y1+2);
RequestPointSelection(pt1.X, pt1.Y, pt2.X, pt2.Y, appending);
}
else