There appears to be a helper class for this, SwCrsrSaveState. Except
that it
doesn't seem to work, as far as I can judge SwCursor::RestoreState()
doesn't
really restore anything (quite hard to say, so much for "trivial APIs
don't
need docs").
Yeah - I tried to use that one instead when testing the patch, but
noticed the same thing, so I just pushed the patch verbatim :-) Do we
actually use SwCrsrSaveState somewhere (ie. is it worth fixing/removing
for good/anything else)? [Actually, I wouldn't be surprised if there
was a copy somewhere else that works ;-)]
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.