From: <bl...@us...> - 2003-01-09 19:44:54
|
Update of /cvsroot/cpptool/rfta/src/rftavc6addin In directory sc8-pr-cvs1:/tmp/cvs-serv14608/src/rftavc6addin Modified Files: TextDocumentHelper.cpp TextDocumentHelper.h VCLineBasedTextDocument.cpp Log Message: * fixed some constness issues Index: TextDocumentHelper.cpp =================================================================== RCS file: /cvsroot/cpptool/rfta/src/rftavc6addin/TextDocumentHelper.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TextDocumentHelper.cpp 25 Dec 2002 12:38:09 -0000 1.2 --- TextDocumentHelper.cpp 9 Jan 2003 19:44:51 -0000 1.3 *************** *** 22,26 **** bool ! TextDocumentHelper::isValid() { return !!_document; --- 22,26 ---- bool ! TextDocumentHelper::isValid() const { return !!_document; *************** *** 29,33 **** TextSelectionHelper ! TextDocumentHelper::selection() { CComPtr<IDispatch> selectionInterface; --- 29,33 ---- TextSelectionHelper ! TextDocumentHelper::selection() const { CComPtr<IDispatch> selectionInterface; *************** *** 46,50 **** int ! TextDocumentHelper::getTabSize() { long tabSize; --- 46,50 ---- int ! TextDocumentHelper::getTabSize() const { long tabSize; Index: TextDocumentHelper.h =================================================================== RCS file: /cvsroot/cpptool/rfta/src/rftavc6addin/TextDocumentHelper.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TextDocumentHelper.h 25 Dec 2002 12:38:09 -0000 1.2 --- TextDocumentHelper.h 9 Jan 2003 19:44:51 -0000 1.3 *************** *** 22,32 **** virtual ~TextDocumentHelper(); ! bool isValid(); ! TextSelectionHelper selection(); void discardingClose(); ! int getTabSize(); private: --- 22,32 ---- virtual ~TextDocumentHelper(); ! bool isValid() const; ! TextSelectionHelper selection() const; void discardingClose(); ! int getTabSize() const; private: Index: VCLineBasedTextDocument.cpp =================================================================== RCS file: /cvsroot/cpptool/rfta/src/rftavc6addin/VCLineBasedTextDocument.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** VCLineBasedTextDocument.cpp 30 Dec 2002 15:22:55 -0000 1.3 --- VCLineBasedTextDocument.cpp 9 Jan 2003 19:44:51 -0000 1.4 *************** *** 11,15 **** VCLineBasedTextDocument::VCLineBasedTextDocument( const TextDocumentHelper &helper ) ! : helper_( helper ), LineBasedTextDocument( helper.getTabSize() ) { initialize( getAllText() ); --- 11,16 ---- VCLineBasedTextDocument::VCLineBasedTextDocument( const TextDocumentHelper &helper ) ! : helper_( helper ) ! , LineBasedTextDocument( helper.getTabSize() ) { initialize( getAllText() ); |