sw/source/ui/vba/vbaheaderfooter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3e1f769bdaa61e031c4a049eb29b581e5311e760
Author: Tor Lillqvist <t...@iki.fi>
Date:   Wed Nov 28 23:46:33 2012 +0200

    OUString::concat() does not modify in-place
    
    Change-Id: I71286414fe173bf9f698fcfbeb48524914dea2e9

diff --git a/sw/source/ui/vba/vbaheaderfooter.cxx 
b/sw/source/ui/vba/vbaheaderfooter.cxx
index 41199f3..d2c03f2 100644
--- a/sw/source/ui/vba/vbaheaderfooter.cxx
+++ b/sw/source/ui/vba/vbaheaderfooter.cxx
@@ -71,7 +71,7 @@ uno::Reference< word::XRange > SAL_CALL 
SwVbaHeaderFooter::getRange() throw (uno
     }
     if( mnIndex == word::WdHeaderFooterIndex::wdHeaderFooterEvenPages )
     {
-        sPropsNameText.concat( rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM("Left") ) );
+        sPropsNameText = sPropsNameText.concat( rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM("Left") ) );
     }
 
     uno::Reference< text::XText > xText( mxPageStyleProps->getPropertyValue( 
sPropsNameText ), uno::UNO_QUERY_THROW );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to