From 7ab2d56e84cfde610715e56f971f409674036b6f Mon Sep 17 00:00:00 2001 From: snn Date: Fri, 12 May 2017 11:50:21 +0300 Subject: [PATCH] XCAF: stupid compilation bug fix --- src/XCAFDoc/XCAFDoc_Note.hxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/XCAFDoc/XCAFDoc_Note.hxx b/src/XCAFDoc/XCAFDoc_Note.hxx index 524e2d6346..736e6f1802 100644 --- a/src/XCAFDoc/XCAFDoc_Note.hxx +++ b/src/XCAFDoc/XCAFDoc_Note.hxx @@ -44,6 +44,13 @@ public: //! Finds a reference attribute on the given label and returns it, if it is found Standard_EXPORT static Handle(XCAFDoc_Note) Get(const TDF_Label& theLabel); + //! Sets the user name and the timestamp of the note. + //! \param [in] theUserName - the user associated with the note. + //! \param [in] theTimeStamp - timestamp of the note. + //! \return A handle to the attribute instance. + Standard_EXPORT void Set(const TCollection_ExtendedString& theUserName, + const TCollection_ExtendedString& theTimeStamp); + //! Returns the user name, who created the note. Standard_EXPORT const TCollection_ExtendedString& UserName() const; @@ -63,13 +70,6 @@ public: protected: - //! Sets the user name and the timestamp of the note. - //! \param [in] theUserName - the user associated with the note. - //! \param [in] theTimeStamp - timestamp of the note. - //! \return A handle to the attribute instance. - Standard_EXPORT void Set(const TCollection_ExtendedString& theUserName, - const TCollection_ExtendedString& theTimeStamp); - //! Creates an empty note. Standard_EXPORT XCAFDoc_Note();