]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/uri.cpp
fixed SetUserScale() calls to use correct scale on Y axis
[wxWidgets.git] / src / common / uri.cpp
index bcdd7eae660447ad11e6267d0c6408c4b24abc28..7ddc18d1dd1c3ba33b470b0b23528c90d5d87b4e 100644 (file)
@@ -648,10 +648,6 @@ const wxChar* wxURI::ParsePath(const wxChar* uri, bool bReference, bool bNormali
         if (bNormalize)
         {
             wxStringBufferLength theBuffer(m_path, m_path.length() + 1);
-#if wxUSE_STL || wxUSE_UNICODE_UTF8
-            // FIXME-UTF8: have some wxReadWriteStringBuffer instead?
-            wxTmemcpy(theBuffer, m_path.c_str(), m_path.length()+1);
-#endif
             Normalize(theBuffer, true);
             theBuffer.SetLength(wxStrlen(theBuffer));
         }
@@ -701,10 +697,6 @@ const wxChar* wxURI::ParsePath(const wxChar* uri, bool bReference, bool bNormali
             if (bNormalize)
             {
                 wxStringBufferLength theBuffer(m_path, m_path.length() + 1);
-#if wxUSE_STL || wxUSE_UNICODE_UTF8
-                // FIXME-UTF8: have some wxReadWriteStringBuffer instead?
-                wxTmemcpy(theBuffer, m_path.c_str(), m_path.length()+1);
-#endif
                 Normalize(theBuffer);
                 theBuffer.SetLength(wxStrlen(theBuffer));
             }