Hi,
Just out of curiousity, but I wonder why both IMPRESS_FACTORY_ID and
DRAW_FACTORY_ID share the same value 1 in impress/sd/inc/FactoryIds.hxx:
---
enum ViewShellFactoryIds
{
IMPRESS_FACTORY_ID = 1,
DRAW_FACTORY_ID = 1,
SLIDE_SORTER_FACTORY_ID = 2,
OUTLINE_FACTORY_ID = 3,
PRESENTATION_FACTORY_ID = 4
};
---
At a glance they seems expected to be distinguishable
for, say, SdDLL::RegisterFactorys() in sd/source/ui/app/sddll1.cxx
or ViewShell::Implementation::GetViewId() in
sd/source/ui/view/ViewShellImplementation.cxx .
Any suggestions would be appreciated.
Cheers,
-- Takeshi Abe
Context
- [Libreoffice] Duplicate entries in sd::ViewShellFactoryIds · Takeshi Abe
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.