1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-21 10:55:33 +03:00

0025993: References to enums are wrapped wrong in SWIG Java

Modified Graphic3d/Graphic3d_GraduatedTrihedron.hxx to prevent using const references to enumerations
This commit is contained in:
apn 2015-03-31 15:12:58 +03:00 committed by bugmaster
parent c1e0171c58
commit a3ee6e9f77

View File

@ -172,8 +172,8 @@ public:
const TCollection_AsciiString& NamesFont() const { return myNamesFont; }
void SetNamesFont (const TCollection_AsciiString& theFont) { myNamesFont = theFont; }
const Font_FontAspect& NamesFontAspect() const { return myNamesStyle; }
void SetNamesFontAspect (const Font_FontAspect& theAspect) { myNamesStyle = theAspect; }
Font_FontAspect NamesFontAspect() const { return myNamesStyle; }
void SetNamesFontAspect (Font_FontAspect theAspect) { myNamesStyle = theAspect; }
const Standard_Integer NamesSize() const { return myNamesSize; }
void SetNamesSize (const Standard_Integer theValue) { myNamesSize = theValue; }
@ -181,8 +181,8 @@ public:
const TCollection_AsciiString& ValuesFont () const { return myValuesFont; }
void SetValuesFont (const TCollection_AsciiString& theFont) { myValuesFont = theFont; }
const Font_FontAspect& ValuesFontAspect() const { return myValuesStyle; }
void SetValuesFontAspect (const Font_FontAspect& theAspect) { myValuesStyle = theAspect; }
Font_FontAspect ValuesFontAspect() const { return myValuesStyle; }
void SetValuesFontAspect (Font_FontAspect theAspect) { myValuesStyle = theAspect; }
const Standard_Integer ValuesSize() const { return myValuesSize; }
void SetValuesSize (const Standard_Integer theValue) { myValuesSize = theValue; }