Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
3f01e7eb
Commit
3f01e7eb
authored
Feb 23, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aref to object with devbody only was not handled correctly
parent
157c3a80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
wb/lib/wb/src/wb_attribute.cpp
wb/lib/wb/src/wb_attribute.cpp
+7
-3
wb/lib/wb/src/wb_volume.cpp
wb/lib/wb/src/wb_volume.cpp
+7
-1
No files found.
wb/lib/wb/src/wb_attribute.cpp
View file @
3f01e7eb
/*
* Proview $Id: wb_attribute.cpp,v 1.3
5 2005-10-21 16:11:22
claes Exp $
* Proview $Id: wb_attribute.cpp,v 1.3
6 2006-02-23 14:38:28
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -61,8 +61,12 @@ wb_attribute::wb_attribute(pwr_tStatus sts, wb_orep * orep) :
}
wb_bdef
bdef
(((
wb_cdrep
*
)
cdef
)
->
bdrep
(
&
m_sts
,
pwr_eBix_rt
));
if
(
EVEN
(
bdef
.
sts
()))
{
m_sts
=
bdef
.
sts
();
return
;
wb_bdef
bdefdev
(((
wb_cdrep
*
)
cdef
)
->
bdrep
(
&
m_sts
,
pwr_eBix_dev
));
if
(
EVEN
(
bdefdev
.
sts
()))
{
m_sts
=
bdefdev
.
sts
();
return
;
}
bdef
=
bdefdev
;
}
m_size
=
bdef
.
size
();
...
...
wb/lib/wb/src/wb_volume.cpp
View file @
3f01e7eb
/*
* Proview $Id: wb_volume.cpp,v 1.3
2 2005-12-13 15:15:5
3 claes Exp $
* Proview $Id: wb_volume.cpp,v 1.3
3 2006-02-23 14:40:3
3 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -354,6 +354,12 @@ wb_attribute wb_volume::attribute(const pwr_sAttrRef* arp) const
return
wb_attribute
();
orep
->
ref
();
if
(
arp
->
Flags
.
b
.
Object
)
{
wb_attribute
a
(
sts
,
orep
);
orep
->
unref
();
return
a
;
}
cdrep
=
new
wb_cdrep
(
*
orep
);
if
(
EVEN
(
cdrep
->
sts
()))
{
orep
->
unref
();
return
wb_attribute
();}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment