~ubuntu-branches/ubuntu/precise/ginkgocadx/precise

« back to all changes in this revision

Viewing changes to src/cadxcore/main/controllers/pacscontroller.cpp

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2011-09-09 08:39:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: package-import@ubuntu.com-20110909083926-iktecd132cnku5cd
Tags: 2.5.4.0~rc-1
New upstream version (patches were applied)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
*  
3
 
*  $Id: pacscontroller.cpp 3897 2011-06-22 10:15:17Z tovar $
 
3
*  $Id: pacscontroller.cpp 4103 2011-08-31 06:33:25Z tovar $
4
4
*  Ginkgo CADx Project
5
5
*
6
6
*  Copyright 2008-10 MetaEmotion S.L. All rights reserved.
526
526
                                                                                FileRecord->findAndGetOFString(DCM_ReferencedSOPInstanceUIDInFile, uidImagen);
527
527
 
528
528
                                                                                wxString wxStr = FROMPATH(tmpString);
529
 
                                                                                wxChar separador = wxFileName::GetPathSeparator();
530
 
                                                                                wxChar barra = wxT('\\');
531
 
                                                                                wxStr.Replace(&barra,&separador);
 
529
                                                                                wxString separador = wxFileName::GetPathSeparator();
 
530
                                                                                wxString barra = wxT('\\');
 
531
                                                                                wxStr.Replace(barra,separador);
532
532
                                                                                std::ostringstream ostr;
533
533
                                                                                tmpString = TOPATH(wxStr);
534
 
                                                                                ostr << basePath << (char)separador << tmpString;
 
534
                                                                                ostr << basePath << separador.ToUTF8();
 
535
                                                                                ostr << tmpString;
535
536
 
536
537
                                                                                pModelo->InsertarImagen(uidSerie.c_str(),uidImagen.c_str(),ostr.str());
537
538
                                                                        }