diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:33:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:33 +0100 |
commit | f79c92198775cac688774ace792b296647448781 (patch) | |
tree | 61c2278198cfac07d0f4fdfef59383aaaefb5443 /svl/source/items/srchitem.cxx | |
parent | afdd564e5f1f5c9772a9f2b278113605c40f9da8 (diff) |
svl: Use appropriate OUString functions on string constants
Change-Id: I212dccf416fda574f940f13a2b1de5c293b3f9fd
Diffstat (limited to 'svl/source/items/srchitem.cxx')
-rw-r--r-- | svl/source/items/srchitem.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/svl/source/items/srchitem.cxx b/svl/source/items/srchitem.cxx index db0244ff43b4..35fa3b804cc9 100644 --- a/svl/source/items/srchitem.cxx +++ b/svl/source/items/srchitem.cxx @@ -368,29 +368,29 @@ bool SvxSearchItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMembe case 0 : { Sequence< PropertyValue > aSeq( SRCH_PARAMS ); - aSeq[0].Name = OUString( SRCH_PARA_OPTIONS ); + aSeq[0].Name = SRCH_PARA_OPTIONS; aSeq[0].Value <<= aSearchOpt; - aSeq[1].Name = OUString( SRCH_PARA_FAMILY ); + aSeq[1].Name = SRCH_PARA_FAMILY; aSeq[1].Value <<= sal_Int16( eFamily ); - aSeq[2].Name = OUString( SRCH_PARA_COMMAND ); + aSeq[2].Name = SRCH_PARA_COMMAND; aSeq[2].Value <<= nCommand; - aSeq[3].Name = OUString( SRCH_PARA_CELLTYPE ); + aSeq[3].Name = SRCH_PARA_CELLTYPE; aSeq[3].Value <<= nCellType; - aSeq[4].Name = OUString( SRCH_PARA_APPFLAG ); + aSeq[4].Name = SRCH_PARA_APPFLAG; aSeq[4].Value <<= nAppFlag; - aSeq[5].Name = OUString( SRCH_PARA_ROWDIR ); + aSeq[5].Name = SRCH_PARA_ROWDIR; aSeq[5].Value <<= bRowDirection; - aSeq[6].Name = OUString( SRCH_PARA_ALLTABLES ); + aSeq[6].Name = SRCH_PARA_ALLTABLES; aSeq[6].Value <<= bAllTables; - aSeq[6].Name = OUString( SRCH_PARA_SEARCHFILTERED ); + aSeq[6].Name = SRCH_PARA_SEARCHFILTERED; aSeq[6].Value <<= bSearchFiltered; - aSeq[7].Name = OUString( SRCH_PARA_BACKWARD ); + aSeq[7].Name = SRCH_PARA_BACKWARD; aSeq[7].Value <<= bBackward; - aSeq[8].Name = OUString( SRCH_PARA_PATTERN ); + aSeq[8].Name = SRCH_PARA_PATTERN; aSeq[8].Value <<= bPattern; - aSeq[9].Name = OUString( SRCH_PARA_CONTENT ); + aSeq[9].Name = SRCH_PARA_CONTENT; aSeq[9].Value <<= bContent; - aSeq[10].Name = OUString( SRCH_PARA_ASIANOPT ); + aSeq[10].Name = SRCH_PARA_ASIANOPT; aSeq[10].Value <<= bAsianOptions; rVal <<= aSeq; } |