diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-25 21:35:14 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-25 22:40:22 +0200 |
commit | 2de32959d0041dddf5c47da9b7829c2e272478aa (patch) | |
tree | 727d560040a6f1ba78a4ff149691d195054c084e | |
parent | 53e5fb9dc1e3d6aeee6acffebe93147e41515aef (diff) |
Related: fdo#66400 take uppercase of first field token
Change-Id: I0a996ce1b8cd520ddf3911bc80923b20a28fa1a4
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 308a7b283ec8..9f69fab589b1 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -2860,7 +2860,7 @@ void DomainMapper_Impl::CloseFieldCommand() OUString sCommand( pContext->GetCommand().trim() ); sal_Int32 nSpaceIndex = sCommand.indexOf( ' ' ); if( 0 <= nSpaceIndex ) - sCommand = sCommand.copy( 0, nSpaceIndex ); + sCommand = sCommand.copy(0, nSpaceIndex).toAsciiUpperCase(); FieldConversionMap_t::iterator aIt = aFieldConversionMap.find(sCommand); if(aIt != aFieldConversionMap.end()) |