Date: prev next · Thread: first prev next last


ops... agora que vi o anexo.

Se por acaso queres ajudar na refatoração dessas linhas, melhor fazer no
master 3.7.

Abraços

Em 18-09-2012 01:05, Sebastiao Emidio Alves Filho escreveu:

Olá pessoal,

Minha primeira postagem na lista, só depois de umas três semanas
consegui terminar a compilação sem nenhum erro e testar. Estou usando o
branch libreoffice-3.6.

Sobre o define DECLARE_ASCCI, se não me engano todo define tem escopo de
arquivo então se tiver deve estar em algum arquivo que inclui o que ele
está declarado.

Fiz uma busca com fgrep e o resultado vai no arquivo anexo.

Me parece que essa macro foi colocada para abstrair o tipo na criação de
uma string e é usado em uma quantidade limitada de arquivos.

Até mais.


Em Seg, 2012-09-17 às 08:57 -0300, Olivier Hallot escreveu: 
Olá Ricardo

Observe bem a declaração da macro, que está logo acima: Ela é uma
simples geradora de OUString:

#define DECLARE_ASCII( SASCIIVALUE ) \
        OUString( SASCIIVALUE  )

#define IMPLEMENTATIONNAME_SOUNDHANDLER
DECLARE_ASCII("com.sun.star.comp.framework.SoundHandler")
#define SERVICENAME_CONTENTHANDLER
DECLARE_ASCII("com.sun.star.frame.ContentHandler")

Portanto, sim, basta fazer o que você fez e compilar, mas antes remova
#define DECLARE_ASCII( ... para ver se é usada em outro lugar...

Olivier



-- 
Olivier Hallot
Comunidade LibreOffice

-- 
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.