diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-08 00:05:32 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-08 01:21:25 -0600 |
commit | d634ce9edb6f1df409547715a391ad2eeca99f0c (patch) | |
tree | 62a7327a3346bf4a9b70d465315b7a466b03449e /lotuswordpro/source/filter/lwpfootnote.cxx | |
parent | coverity#735759 Unchecked dynamic_cast (diff) | |
download | core-d634ce9edb6f1df409547715a391ad2eeca99f0c.tar.gz core-d634ce9edb6f1df409547715a391ad2eeca99f0c.zip |
use 'native' OUString api in lotuswordpro instead of macro and wrappers
Change-Id: Iccb78b59c3de9f29975d10fa4e34232cd3bf2cc3
Diffstat (limited to 'lotuswordpro/source/filter/lwpfootnote.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfootnote.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwpfootnote.cxx b/lotuswordpro/source/filter/lwpfootnote.cxx index 0cd32161bfcc..91e18aef27b9 100644 --- a/lotuswordpro/source/filter/lwpfootnote.cxx +++ b/lotuswordpro/source/filter/lwpfootnote.cxx @@ -332,22 +332,22 @@ OUString LwpFootnote::GetTableClass() { case FN_BASE_FOOTNOTE: { - strClassName = A2OUSTR(STR_DivisionFootnote); + strClassName = STR_DivisionFootnote; break; } case FN_BASE_DOCUMENT: { - strClassName = A2OUSTR(STR_DocumentEndnote); + strClassName = STR_DocumentEndnote; break; } case FN_BASE_DIVISION: { - strClassName = A2OUSTR(STR_DivisionEndnote); + strClassName = STR_DivisionEndnote; break; } case FN_BASE_DIVISIONGROUP: { - strClassName = A2OUSTR(STR_DivisionGroupEndnote); + strClassName = STR_DivisionGroupEndnote; break; } } @@ -514,13 +514,13 @@ void LwpFootnoteOptions::RegisterEndnoteStyle() OUString message = m_EndnoteDocNumbering.GetLeadingText(); if(message.isEmpty()) { - message = A2OUSTR("[");//default prefix + message = "[";//default prefix } pEndnoteConfig->SetNumPrefix(message); message = m_EndnoteDocNumbering.GetTrailingText(); if(message.isEmpty()) { - message = A2OUSTR("]");//default suffix + message = "]";//default suffix } pEndnoteConfig->SetNumSuffix(message); if(m_EndnoteDocNumbering.GetReset() == LwpFootnoteNumberOptions::RESET_PAGE) @@ -544,7 +544,7 @@ OUString LwpFootnoteOptions::GetContinuedOnMessage() return m_ContinuedOnMessage.str(); } // else reture defauls message - return A2OUSTR(STRID_FOOTCONTINUEDON); + return OUString(STRID_FOOTCONTINUEDON); } /** @@ -557,7 +557,7 @@ OUString LwpFootnoteOptions::GetContinuedFromMessage() return m_ContinuedFromMessage.str(); } // else reture defauls message - return A2OUSTR(STRID_FOOTCONTINUEDFROM); + return OUString(STRID_FOOTCONTINUEDFROM); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |