Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bos #20256: [CEA 18523] Porting SMESH to int 64 bits
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_ScaleDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_ScaleDlg.cxx
b/src/SMESHGUI/SMESHGUI_ScaleDlg.cxx
index 071a99afd3cdc33a8eda665448be878ba83d07f7..1a1b0f5d990119b9220a5c7fb3c0094e0e7d111d 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ScaleDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_ScaleDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-448,7
+448,7
@@
bool SMESHGUI_ScaleDlg::ClickOnApply()
if (myNbOkElements) {
QStringList aListElementsId = myElementsId.split(" ", QString::SkipEmptyParts);
if (myNbOkElements) {
QStringList aListElementsId = myElementsId.split(" ", QString::SkipEmptyParts);
- SMESH::
long_array_var anElementsId = new SMESH::long
_array;
+ SMESH::
smIdType_array_var anElementsId = new SMESH::smIdType
_array;
anElementsId->length(aListElementsId.count());
for (int i = 0; i < aListElementsId.count(); i++)
anElementsId->length(aListElementsId.count());
for (int i = 0; i < aListElementsId.count(); i++)
@@
-682,7
+682,7
@@
void SMESHGUI_ScaleDlg::onTextChange (const QString& theNewText)
if (aMesh) {
Handle(SALOME_InteractiveObject) anIO = myActor->getIO();
if (aMesh) {
Handle(SALOME_InteractiveObject) anIO = myActor->getIO();
-
TColStd_MapOfInteger
newIndices;
+
SVTK_TVtkIDsMap
newIndices;
QStringList aListId = theNewText.split(" ", QString::SkipEmptyParts);
QStringList aListId = theNewText.split(" ", QString::SkipEmptyParts);
@@
-1145,7
+1145,7
@@
void SMESHGUI_ScaleDlg::onDisplaySimulation( bool toDisplayPreview ) {
if ( myNbOkElements && isValid() ) {
QStringList aListElementsId = myElementsId.split(" ", QString::SkipEmptyParts);
if ( myNbOkElements && isValid() ) {
QStringList aListElementsId = myElementsId.split(" ", QString::SkipEmptyParts);
- SMESH::
long_array_var anElementsId = new SMESH::long
_array;
+ SMESH::
smIdType_array_var anElementsId = new SMESH::smIdType
_array;
anElementsId->length(aListElementsId.count());
for (int i = 0; i < aListElementsId.count(); i++)
anElementsId->length(aListElementsId.count());
for (int i = 0; i < aListElementsId.count(); i++)