summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-02 16:36:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-02 16:36:23 +0100
commite8eec3b3979cf0626bd88db857879fd57fe7a39c (patch)
tree5cd3ace0e29ac164c0be6f109af48c0b521a1071 /sal
parent7d79ae437e16191a62dbe3ec81f9b82e79daf7ea (diff)
typo
Change-Id: Ifc03631b126ec19cb98cb42a258ca4880e868385
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/strtmpl.cxx18
-rw-r--r--sal/rtl/ustring.cxx2
2 files changed, 10 insertions, 10 deletions
diff --git a/sal/rtl/strtmpl.cxx b/sal/rtl/strtmpl.cxx
index bfd61dec767f..71052bc26941 100644
--- a/sal/rtl/strtmpl.cxx
+++ b/sal/rtl/strtmpl.cxx
@@ -1191,7 +1191,7 @@ static IMPL_RTL_STRCODE* IMPL_RTL_STRINGNAME( ImplNewCopy )( IMPL_RTL_STRINGDATA
/* String-Class functions */
/* ======================================================================= */
-#define IMPL_RTL_AQUIRE( pThis ) \
+#define IMPL_RTL_ACQUIRE( pThis ) \
{ \
if (!SAL_STRING_IS_STATIC (pThis)) \
osl_atomic_increment( &((pThis)->refCount) ); \
@@ -1202,7 +1202,7 @@ static IMPL_RTL_STRCODE* IMPL_RTL_STRINGNAME( ImplNewCopy )( IMPL_RTL_STRINGDATA
void SAL_CALL IMPL_RTL_STRINGNAME( acquire )( IMPL_RTL_STRINGDATA* pThis )
SAL_THROW_EXTERN_C()
{
- IMPL_RTL_AQUIRE( pThis );
+ IMPL_RTL_ACQUIRE( pThis );
}
/* ----------------------------------------------------------------------- */
@@ -1451,7 +1451,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( assign )( IMPL_RTL_STRINGDATA** ppThis,
{
assert(ppThis);
/* must be done at first, if pStr == *ppThis */
- IMPL_RTL_AQUIRE( pStr );
+ IMPL_RTL_ACQUIRE( pStr );
if ( *ppThis )
IMPL_RTL_STRINGNAME( release )( *ppThis );
@@ -1491,12 +1491,12 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newConcat )( IMPL_RTL_STRINGDATA** ppThis,
if ( !pRight || !pRight->length )
{
*ppThis = pLeft;
- IMPL_RTL_AQUIRE( pLeft );
+ IMPL_RTL_ACQUIRE( pLeft );
}
else if ( !pLeft || !pLeft->length )
{
*ppThis = pRight;
- IMPL_RTL_AQUIRE( pRight );
+ IMPL_RTL_ACQUIRE( pRight );
}
else
{
@@ -1670,7 +1670,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newReplace )( IMPL_RTL_STRINGDATA** ppThis,
if ( !bChanged )
{
*ppThis = pStr;
- IMPL_RTL_AQUIRE( pStr );
+ IMPL_RTL_ACQUIRE( pStr );
}
RTL_LOG_STRING_NEW( *ppThis );
@@ -1728,7 +1728,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newToAsciiLowerCase )( IMPL_RTL_STRINGDATA**
if ( !bChanged )
{
*ppThis = pStr;
- IMPL_RTL_AQUIRE( pStr );
+ IMPL_RTL_ACQUIRE( pStr );
}
RTL_LOG_STRING_NEW( *ppThis );
@@ -1786,7 +1786,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newToAsciiUpperCase )( IMPL_RTL_STRINGDATA**
if ( !bChanged )
{
*ppThis = pStr;
- IMPL_RTL_AQUIRE( pStr );
+ IMPL_RTL_ACQUIRE( pStr );
}
RTL_LOG_STRING_NEW( *ppThis );
@@ -1822,7 +1822,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newTrim )( IMPL_RTL_STRINGDATA** ppThis,
if ( !nPreSpaces && !nPostSpaces )
{
*ppThis = pStr;
- IMPL_RTL_AQUIRE( pStr );
+ IMPL_RTL_ACQUIRE( pStr );
}
else
{
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index cc9981260a8d..d91aaad8ffe1 100644
--- a/sal/rtl/ustring.cxx
+++ b/sal/rtl/ustring.cxx
@@ -893,7 +893,7 @@ void SAL_CALL rtl_uString_intern( rtl_uString ** newStr,
assert(str);
if (SAL_STRING_IS_INTERN(str))
{
- IMPL_RTL_AQUIRE( str );
+ IMPL_RTL_ACQUIRE( str );
*newStr = str;
}
else