diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-28 23:46:33 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-28 23:48:00 +0200 |
commit | 3e1f769bdaa61e031c4a049eb29b581e5311e760 (patch) | |
tree | 2a26917a716b69bdfd8bed620b5015530d124011 /sw/source | |
parent | b2be75d95899a3babc16b2a590f8568cfca8124f (diff) |
OUString::concat() does not modify in-place
Change-Id: I71286414fe173bf9f698fcfbeb48524914dea2e9
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/vba/vbaheaderfooter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbaheaderfooter.cxx b/sw/source/ui/vba/vbaheaderfooter.cxx index 41199f300a40..d2c03f2fc3c1 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 ); |