diff options
author | MÁTÉ Gergely <sportember@caesar.elte.hu> | 2013-07-25 22:56:53 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-07-26 22:30:28 +0000 |
commit | 2f9d2489791ee97a169df0cea932ed7f9ba1e66c (patch) | |
tree | 814ca222d9bf308656904d5b0f1ff96a9822fc33 /sd/source/ui/annotations | |
parent | c02b3f8517e159c462a288d82e3b62cc4b2ab682 (diff) |
OUString conversion in sd in textapi.hxx and related files
Change-Id: Id080ae9aaf08de1b0903ee12dc1082c7e531af0b
Reviewed-on: https://gerrit.libreoffice.org/5114
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'sd/source/ui/annotations')
-rw-r--r-- | sd/source/ui/annotations/annotationmanager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx index 5d95892ceddc..5baa4bae1f2a 100644 --- a/sd/source/ui/annotations/annotationmanager.cxx +++ b/sd/source/ui/annotations/annotationmanager.cxx @@ -469,10 +469,10 @@ void AnnotationManagerImpl::ExecuteReplyToAnnotation( SfxRequest& rReq ) aStr.Append( OUString( getAnnotationDateTimeString( xAnnotation ) ) ); aStr.Append( OUString("): \"") ); - String sQuote( pTextApi->GetText() ); + OUString sQuote( pTextApi->GetText() ); - if( sQuote.Len() == 0 ) - sQuote = OUString( "..." ); + if( sQuote.isEmpty() ) + sQuote = "..."; aStr.Append( sQuote ); aStr.Append( OUString("\"\n") ); |