summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/SwSpellDialogChildWindow.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-02 16:02:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-03 21:24:35 +0100
commitbccf34c19ae022b67565e212fa4ec0d5213947de (patch)
tree73c2d2e29ad8d15999cbfb2ff554efa1e502a35e /sw/source/ui/dialog/SwSpellDialogChildWindow.cxx
parent285289275d1cf1769080a208b55be984cd269e1e (diff)
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'sw/source/ui/dialog/SwSpellDialogChildWindow.cxx')
-rw-r--r--sw/source/ui/dialog/SwSpellDialogChildWindow.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/ui/dialog/SwSpellDialogChildWindow.cxx b/sw/source/ui/dialog/SwSpellDialogChildWindow.cxx
index 93d590c44c2d..59bb7ed34764 100644
--- a/sw/source/ui/dialog/SwSpellDialogChildWindow.cxx
+++ b/sw/source/ui/dialog/SwSpellDialogChildWindow.cxx
@@ -166,8 +166,7 @@ SwSpellDialogChildWindow::SwSpellDialogChildWindow (
_pParent, nId, pBindings, pInfo),
m_pSpellState(new SpellState)
{
-
- String aPropName( String::CreateFromAscii(UPN_IS_GRAMMAR_INTERACTIVE ) );
+ rtl::OUString aPropName(UPN_IS_GRAMMAR_INTERACTIVE);
SvtLinguConfig().GetProperty( aPropName ) >>= m_bIsGrammarCheckingOn;
}
@@ -503,7 +502,7 @@ void SwSpellDialogChildWindow::SetGrammarChecking(bool bOn)
uno::Any aVal;
aVal <<= bOn;
m_bIsGrammarCheckingOn = bOn;
- String aPropName( C2S(UPN_IS_GRAMMAR_INTERACTIVE ) );
+ rtl::OUString aPropName(UPN_IS_GRAMMAR_INTERACTIVE);
SvtLinguConfig().SetProperty( aPropName, aVal );
// set current spell position to the start of the current sentence to
// continue with this sentence after grammar checking state has been changed