summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/textrun.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:18:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:45 +0200
commit398027e8b218d88837c169baca3a9213237cbc0d (patch)
treef3c8a0fce1ef53a98dcddcb31642eee52435978c /oox/source/drawingml/textrun.cxx
parent14fc21bd303f8d1e45cc528394efccfcd6093ef3 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I379e89e1e6b9fd8668ba7ac59af33f63487a4f66
Diffstat (limited to 'oox/source/drawingml/textrun.cxx')
-rw-r--r--oox/source/drawingml/textrun.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/oox/source/drawingml/textrun.cxx b/oox/source/drawingml/textrun.cxx
index 35a49dd0fda2..3585be83a754 100644
--- a/oox/source/drawingml/textrun.cxx
+++ b/oox/source/drawingml/textrun.cxx
@@ -74,7 +74,7 @@ sal_Int32 TextRun::insertAt(
if( mbIsLineBreak )
{
OSL_TRACE( "OOX: TextRun::insertAt() insert line break" );
- xText->insertControlCharacter( xStart, ControlCharacter::LINE_BREAK, sal_False );
+ xText->insertControlCharacter( xStart, ControlCharacter::LINE_BREAK, false );
}
else
{
@@ -82,7 +82,7 @@ sal_Int32 TextRun::insertAt(
sal_Int16 nSymbolFontFamily = 0, nSymbolFontPitch = 0;
if ( !aTextCharacterProps.maSymbolFont.getFontData( aSymbolFontName, nSymbolFontPitch, nSymbolFontFamily, rFilterBase ) )
- xText->insertString( xStart, getText(), sal_False );
+ xText->insertString( xStart, getText(), false );
else if ( !getText().isEmpty() )
{
// #i113673
@@ -121,7 +121,7 @@ sal_Int32 TextRun::insertAt(
}
}
OUString aSubString( getText().copy( nIndex, nCount ) );
- xText->insertString( xStart, aSubString, sal_False );
+ xText->insertString( xStart, aSubString, false );
nIndex += nCount;
if ( nIndex >= getText().getLength() )
@@ -142,14 +142,14 @@ sal_Int32 TextRun::insertAt(
if( xField.is() )
{
Reference< XTextCursor > xTextFieldCursor = xText->createTextCursor();
- xTextFieldCursor->gotoEnd( sal_False );
+ xTextFieldCursor->gotoEnd( false );
PropertySet aFieldProps( xField );
aFieldProps.setProperties( maTextCharacterProperties.maHyperlinkPropertyMap );
aFieldProps.setProperty( PROP_Representation, getText() );
- xText->insertTextContent( xStart, xField, sal_False );
+ xText->insertTextContent( xStart, xField, false );
- xTextFieldCursor->gotoEnd( sal_True );
+ xTextFieldCursor->gotoEnd( true );
aTextCharacterProps.maFillProperties.maFillColor.setSchemeClr( XML_hlink );
aTextCharacterProps.maFillProperties.moFillType.set(XML_solidFill);
@@ -168,7 +168,7 @@ sal_Int32 TextRun::insertAt(
else
{
OSL_TRACE( "OOX: URL field couldn't be created" );
- xText->insertString( xStart, getText(), sal_False );
+ xText->insertString( xStart, getText(), false );
}
}
}