Michael Gerz <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes schrieb:
| > [EMAIL PROTECTED] writes:
| >
| > | Modified: lyx-devel/trunk/src/text.C
| > | URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/text.C?rev=16859
| > | 
==============================================================================
| > | --- lyx-devel/trunk/src/text.C (original)
| > | +++ lyx-devel/trunk/src/text.C Thu Jan 25 23:28:15 2007
| > | @@ -845,7 +845,7 @@
| > |  }
| > |  |  | -void LyXText::acceptOrRejectChange(LCursor & cur, ChangeOp
| > op)
| > | +void LyXText::acceptOrRejectChanges(LCursor & cur, ChangeOp op)
| > |  {
| > |   BOOST_ASSERT(this == cur.text());
| > |  | @@ -949,6 +949,76 @@
| > |  }
| > |  |  | +void LyXText::acceptChanges(BufferParams const & bparams)
| > | +{
| > | +         pit_type pars_size = (pit_type) pars_.size();
| >
| > Now, the c-style-cast moved here...
| >
| 
| What would you like to see?

Either "pit_type(pars_.size())" or
"static_cast<pit_type>(pars_.size());"

Not c-style-casts.

-- 
        Lgb

Reply via email to