Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for the issue #1766 : treat face as equal with different orientation to find...
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetCreatorFactory.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp
b/src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp
index 2d0ab9e2508c9fc85906f0dde7943ae69373d955..27697fef8aafd7280b3945875d6e1d5c343e4810 100755
(executable)
--- a/
src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp
@@
-19,7
+19,8
@@
std::shared_ptr<ModuleBase_WidgetCreatorFactory> MY_WIDGET_CREATOR_FACTORY;
std::shared_ptr<ModuleBase_WidgetCreatorFactory> ModuleBase_WidgetCreatorFactory::get()
{
if (!MY_WIDGET_CREATOR_FACTORY) {
std::shared_ptr<ModuleBase_WidgetCreatorFactory> ModuleBase_WidgetCreatorFactory::get()
{
if (!MY_WIDGET_CREATOR_FACTORY) {
- MY_WIDGET_CREATOR_FACTORY = std::shared_ptr<ModuleBase_WidgetCreatorFactory>(new ModuleBase_WidgetCreatorFactory());
+ MY_WIDGET_CREATOR_FACTORY =
+ std::shared_ptr<ModuleBase_WidgetCreatorFactory>(new ModuleBase_WidgetCreatorFactory());
}
return MY_WIDGET_CREATOR_FACTORY;
}
}
return MY_WIDGET_CREATOR_FACTORY;
}
@@
-44,7
+45,8
@@
void ModuleBase_WidgetCreatorFactory::registerCreator(const WidgetCreatorPtr& th
myPanelToCreator[aKey] = theCreator;
else {
Events_InfoMessage("ModuleBase_WidgetCreatorFactory",
myPanelToCreator[aKey] = theCreator;
else {
Events_InfoMessage("ModuleBase_WidgetCreatorFactory",
- "The %1 panel XML definition has been already used by another widget creator").arg(aKey).send();
+ "The %1 panel XML definition has been already used by another widget creator")
+ .arg(aKey).send();
}
}
}
}
@@
-57,7
+59,8
@@
void ModuleBase_WidgetCreatorFactory::registerCreator(const WidgetCreatorPtr& th
myCreators[aKey] = theCreator;
else {
Events_InfoMessage("ModuleBase_WidgetCreatorFactory",
myCreators[aKey] = theCreator;
else {
Events_InfoMessage("ModuleBase_WidgetCreatorFactory",
- "The %1 widget XML definition has been already used by another widget creator").arg(aKey).send();
+ "The %1 widget XML definition has been already used by another widget creator")
+ .arg(aKey).send();
}
}
}
}
@@
-70,7
+73,8
@@
void ModuleBase_WidgetCreatorFactory::registerCreator(const WidgetCreatorPtr& th
myPageToCreator[aKey] = theCreator;
else {
Events_InfoMessage("ModuleBase_WidgetCreatorFactory",
myPageToCreator[aKey] = theCreator;
else {
Events_InfoMessage("ModuleBase_WidgetCreatorFactory",
- "The %1 page XML definition has been already used by another widget creator").arg(aKey).send();
+ "The %1 page XML definition has been already used by another widget creator")
+ .arg(aKey).send();
}
}
}
}
}
}