diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-26 21:09:52 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-26 21:11:01 -0400 |
commit | ed89b3799f2b0131f2150b7762044afd4ffd8fd2 (patch) | |
tree | c6bb2ab56aedc84cf9b74ada2c4f7626f25f9508 /xmlreader | |
parent | 861acd5b73956425da788c78fb1ed5c283a1f6a0 (diff) |
Evil manual reference counter manipulations. Let's murder them.
Incidentally, this fixes the dbgutil error problem.
The old code was passing a copy of the ScHeaderFooterContentObj object
to the ScHeaderFooterTextData object, which was why the counter was
incremented on copy (though they should still have used a wrapper instead
of manual reference counting). My new code passes a reference, which
removes the copying, but those pesky acquire() and release() calls
were still there. This caused the ScHeaderFooterContentObj object to
never get deleted, which in turn caused the dbgutil refcounting check
of SvxUnoTextRangeBase object to fail.
Change-Id: I4e1780b32b21098a121ec7a43bb3eb842a419584
Diffstat (limited to 'xmlreader')
0 files changed, 0 insertions, 0 deletions