Hello Yan Wu,
Hello Andreas,
Now I have such two problems when using "String SvtUserOptions::GetXXX()":
1)All the functions of OOo will be disable after OOo starts.(Please see
the image in the attachment I captured.) I debugged it but didnt find
the cause.
Seams that the SFX library couldnt be loaded successfully.
2)I removed the output trees(wntmsci10.pro) of modules desktop,svx and
sfx2 then build the three modules. But the compiler would not break
during the building process.(svtools has been built/delivered before
builing desktop,svx,sfx2.) Should the compiler break?
It depends ...
Normaly the compiler will be interested on the right side of a signature
... not on the left side. Further assigning a string value to a string
reference variable will work (even if it will break later by already
freed memory) - so the compiler will ignore that. But if you change the
return type to ::rtl::OUString it should break the compiler I guess.
On the other side it's not enough to build desktop, svx and sfx2 after
changing svtools. At least nearly every module of OOo depends on
svtools. So you have to build ANY module new.
On a CWS you can do that by using "build --prepare --from svtools" +
"build --all". But I do not know if you have such tools available.
I've never worked on an OOo environment ... at least till now :-)
Regards
Yan Wu
Regards
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]