[Libreoffice-bugs] [Bug 46501] New: EasyHack: cleanup SimpleResMgr ...

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 23 03:22:19 PST 2012


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: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: michael.meeks at novell.com


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.


More information about the Libreoffice-bugs mailing list