Date: prev next · Thread: first prev next last


Boa noite Olivier.

Encontrei uma mudança cabeluda. Veja se consegue entender.

No arquivo, eps.cxx em filter (opengrok: http://goo.gl/il1WS), existe uma
inicialização de uma String com três parâmetros. Os quais não estou
conseguindo incializar como OUString.

- String  aUniStr( pA->GetText(), pA->GetIndex(), pA->GetLen() );
+ OUString    aOUStr = OUString( pA->GetText() + pA->GetIndex(),
pA->GetLen() );

No canal irc, falando com o Norbert Thiebaud, ele disse que apenas
incluindo o sinal de + e o tipo OUString ai, deveria funcionar.. Mas não
compila..

Erro:


ricardo@localhost ~/git_projects/libo $ make filter
make -r -f /home/ricardo/git_projects/libo/Makefile.top filter
make[1]: Entering directory `/home/ricardo/git_projects/libo'
cd filter && make -j 4 -rs gb_PARTIALBUILD=T
[build CXX] filter/source/graphicfilter/eps/eps.cxx
make[2]: Entering directory `/home/ricardo/git_projects/libo/filter'
[build CUT] filter_pict_test
[build CUT] filter_tga_test
[build CUT] filter_tiff_test
[build CHK] filter
[build CHK] loaded modules: filter
/home/ricardo/git_projects/libo/filter/source/graphicfilter/eps/eps.cxx: In
member function ‘void PSWriter::ImplWriteActions(const GDIMetaFile&,
VirtualDevice&)’:
/home/ricardo/git_projects/libo/filter/source/graphicfilter/eps/eps.cxx:770:77:
error: converting to ‘const rtl::OUString’ from initializer list would use
explicit constructor ‘rtl::OUString::OUString(sal_Unicode)’
/home/ricardo/git_projects/libo/solver/
unxlngx6.pro/inc/rtl/ustring.hxx:1404:21: error:   initializing argument 2
of ‘rtl::OUString rtl::operator+(const rtl::OUString&, const
rtl::OUString&)’
/home/ricardo/git_projects/libo/filter/source/graphicfilter/eps/eps.cxx:786:77:
error: converting to ‘const rtl::OUString’ from initializer list would use
explicit constructor ‘rtl::OUString::OUString(sal_Unicode)’
/home/ricardo/git_projects/libo/solver/
unxlngx6.pro/inc/rtl/ustring.hxx:1404:21: error:   initializing argument 2
of ‘rtl::OUString rtl::operator+(const rtl::OUString&, const
rtl::OUString&)’
/home/ricardo/git_projects/libo/filter/source/graphicfilter/eps/eps.cxx:796:77:
error: converting to ‘const rtl::OUString’ from initializer list would use
explicit constructor ‘rtl::OUString::OUString(sal_Unicode)’
/home/ricardo/git_projects/libo/solver/
unxlngx6.pro/inc/rtl/ustring.hxx:1404:21: error:   initializing argument 2
of ‘rtl::OUString rtl::operator+(const rtl::OUString&, const
rtl::OUString&)’
make[2]: *** [/home/ricardo/git_projects/libo/workdir/
unxlngx6.pro/CxxObject/filter/source/graphicfilter/eps/eps.o] Error 1
make[2]: Leaving directory `/home/ricardo/git_projects/libo/filter'
make[1]: *** [filter] Error 2
make[1]: Leaving directory `/home/ricardo/git_projects/libo'
make: *** [filter] Error 2
ricardo@localhost ~/git_projects/libo $


-- 
Ricardo Montania Prado de Campos
http://www.linuxafundo.com.br

-- 
Você está recebendo e-mails da lista dev@pt-br.libreoffice.org
# Informações sobre os comandos disponíveis (em inglês):
  mande e-mail vazio para dev+help@pt-br.libreoffice.org
# Cancelar sua assinatura: mande e-mail vazio para:
  dev+unsubscribe@pt-br.libreoffice.org
# Arquivo de mensagens: http://listarchives.libreoffice.org/pt-br/dev

Context


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.