https://bugs.freedesktop.org/show_bug.cgi?id=46501

             Bug #: 46501
           Summary: EasyHack: cleanup SimpleResMgr ...
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The SimpleResMgr has two constructors, one taking an rtl::OUString and the
other a simple char * - since we now have implicit construction of OUStrings,
this was seen to cause problems.

We should audit the usage of these two constructors, and remove one of them -
perhaps keeping the 'const char *' version.

Similarly we should remove usage of: CREATEVERSIONRESMGR_NAME - which seems to
be an un-necessary stringifying macro.

We prolly want to junk the: CREATEVERSIONRESMGR macro, in-lining it at each
site as well - it appears to add no value at all if the _NAME macro is gone.

Thanks ! :-)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to