From 77fd448d0990adc79406e13a127b2b1834984b71 Mon Sep 17 00:00:00 2001 From: Jean-Noël Rouvignac Date: Fri, 1 Feb 2013 09:33:19 +0100 Subject: Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist --- connectivity/source/drivers/postgresql/pq_xcontainer.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'connectivity/source/drivers/postgresql/pq_xcontainer.cxx') diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx index a93a6c51b1b8..c88bdeb2079b 100644 --- a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx +++ b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx @@ -103,8 +103,6 @@ using com::sun::star::sdbcx::XDataDescriptorFactory; namespace pq_sdbc_driver { -#define ASCII_STR(x) OUString( RTL_CONSTASCII_USTRINGPARAM( x ) ) - class ReplacedBroadcaster : public EventBroadcastHelper { @@ -296,7 +294,7 @@ com::sun::star::uno::Any ContainerEnumeration::nextElement() if( ! hasMoreElements() ) { throw NoSuchElementException( - ASCII_STR( "NoSuchElementException during enumeration" ), *this ); + "NoSuchElementException during enumeration", *this ); } m_index ++; return m_vec[m_index]; -- cgit