Hi Max,
On 12/16/07 00:38, Maximilian Odendahl wrote:
../../../inc/crsrsh.hxx:419: error: 'BOOL SwCrsrShell::Right(USHORT,
USHORT, BOOL)' is inaccessible
sw/source/ui/docvw/postit.cxx:953: error: within this context
This is the code:
What changed?
I guess the cause is the private using declaration change from 1.39 to 1.40
Does this look right:
//mpView->GetDocShell()->GetWrtShell()->Right(1,0); (old code)
mpView->GetDocShell()->GetWrtShell()->Right(0,false,1);
mpView->GetDocShell()->GetWrtShell()->SwCrsrShell::Right(1, 0, FALSE);
and
//rSh.Left(1,CRSR_SKIP_CHARS); (old code)
rSh.Left(CRSR_SKIP_CHARS,false,1);
rSh.SwCrsrShell::Left(1, CRSR_SKIP_CHARS, FALSE);
should work I guess. Hope this helps,
Frank
--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]