You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Pavel Janík <Pa...@Janik.cz> on 2013/05/03 20:42:58 UTC

A2S redefined

Hi,

curent trunk:

[ build CXX ] svx/source/sidebar/insert/InsertPropertyPanel
/Users/pavel/BUILD/BuildDir/ooo_trunk_src/svx/source/sidebar/insert/InsertPropertyPanel.cxx:49:1: error: "A2S" redefined
In file included from /Users/pavel/BUILD/BuildDir/ooo_trunk_src/svx/source/sidebar/insert/InsertPropertyPanel.cxx:30:
/Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/400/unxmacxi.pro/inc/sfx2/sidebar/Tools.hxx:37:1: error: this is the location of the previous definition
make: *** [/Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/400/unxmacxi.pro/workdir/CxxObject/svx/source/sidebar/insert/InsertPropertyPanel.o] Error 1
dmake:  Error code 2, while making 'all'

-- 
Pavel Janík




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: A2S redefined

Posted by Pavel Janík <Pa...@Janik.cz>.
On May 3, 2013, at 8:42 PM, Pavel Janík wrote:

> Hi,
> 
> curent trunk:
> 
> [ build CXX ] svx/source/sidebar/insert/InsertPropertyPanel
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/svx/source/sidebar/insert/InsertPropertyPanel.cxx:49:1: error: "A2S" redefined
> In file included from /Users/pavel/BUILD/BuildDir/ooo_trunk_src/svx/source/sidebar/insert/InsertPropertyPanel.cxx:30:
> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/400/unxmacxi.pro/inc/sfx2/sidebar/Tools.hxx:37:1: error: this is the location of the previous definition
> make: *** [/Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/400/unxmacxi.pro/workdir/CxxObject/svx/source/sidebar/insert/InsertPropertyPanel.o] Error 1
> dmake:  Error code 2, while making 'all'

This looks very ugly...

Pavel-Janiks-MacBook-Pro:svx pavel$ grep -r A2S * | grep define | grep -v svn/te
source/sidebar/PanelFactory.cxx:#define A2S(s) ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(s))
source/sidebar/area/AreaPropertyPanel.cxx:#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
source/sidebar/graphic/GraphicPropertyPanel.cxx:#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
source/sidebar/insert/InsertPropertyPanel.cxx:#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
source/sidebar/line/LinePropertyPanel.cxx:#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
source/sidebar/paragraph/ParaPropertyPanel.cxx:#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
source/sidebar/possize/PosSizePropertyPanel.cxx:#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
source/sidebar/text/TextPropertyPanel.cxx:#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
Pavel-Janiks-MacBook-Pro:svx pavel$ 


-- 
Pavel Janík




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org