[PATCH][PUSHED] Fix windows build

Michael Meeks michael.meeks at suse.com
Thu Feb 23 03:22:40 PST 2012


On Thu, 2012-02-23 at 10:56 +0100, Stephan Bergmann wrote:
> Yes, fix should be good.  With the newly added rtl::OUString ctor, a 
> string literal can now implicitly be converted to an rtl::OUString, 
> which can lead to ambiguities.  In this case, SimpleResMgr has ctors 
> that take either a char const * or an rtl::OUString const &.  Probably 
> something that should be cleaned up, leaving SimpleResMgr with just one 
> of the two ctors.  (And CREATEVERSIONRESMGR_NAME is just a glorious 
> macro to turn its argument into a string literal, so can safely be dropped.)

	Easy hack created:

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

	We constantly need more of these, as they keep getting fixed
(somehow) ;-) so it'd be great if people can file/create them as/when
they notice code problems during reading.

	ATB,

		Michael.

-- 
michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot



More information about the LibreOffice mailing list