[Libreoffice] [PATCH] Duplicate code: join ImportFrom and InsertFrom
oolst at nouenoff.nl
Thu Jun 2 15:00:26 PDT 2011
Chr. Rossmanith wrote (31-05-11 14:03)
> more duplicate code cleanup.
Good to see your work :-)
> Class SfxObjectShell has two nearly identical methods: ImportFrom and
> InsertFrom. The latter has a few lines of code more, so I've removed
> InsertFrom (which was added to the code base later than ImportFrom),
> added a boolean parameter to ImportFrom and adjusted the few calls to
> those methods. And InsertFrom is not virtual like ImportFrom. Please
> review the attached patches. I'll commit them if I get an "ok".
> The changes affect three modules (libs-core/sfx2, writer/sw and
When I took a quick look at it, I thought that it was about working with
Is that correct?
If so, I could test the effect with some different scenarios.
I guess it will be resent in a nightly build soon?
- giving openoffice.org its foundation :: The Document Foundation -
More information about the LibreOffice