summaryrefslogtreecommitdiff
path: root/linguistic/source/grammarchecker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/grammarchecker.cxx')
-rw-r--r--linguistic/source/grammarchecker.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/grammarchecker.cxx b/linguistic/source/grammarchecker.cxx
index 3085ee54e0bc..bf782c0579fd 100644
--- a/linguistic/source/grammarchecker.cxx
+++ b/linguistic/source/grammarchecker.cxx
@@ -163,10 +163,10 @@ uno::Sequence< linguistic2::SingleGrammarError > GrammarChecker::GrammarChecking
Error_t aError;
uno::Sequence< OUString > aSuggestion(1);
OUString *pSeggestion = aSuggestion.getArray();
- pSeggestion[0] = OUString::createFromAscii("Modified");
+ pSeggestion[0] = OUString(RTL_CONSTASCII_USTRINGPARAM("Modified"));
- aError[OUString::createFromAscii("GrammarError")] = aSuggestion;
- aError[OUString::createFromAscii("Grammar Error")] = aSuggestion;
+ aError[OUString(RTL_CONSTASCII_USTRINGPARAM("GrammarError"))] = aSuggestion;
+ aError[OUString(RTL_CONSTASCII_USTRINGPARAM("Grammar Error"))] = aSuggestion;
typedef std::vector< linguistic2::SingleGrammarError> ErrorVector_t;
ErrorVector_t aErrorVector;