diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-01-24 15:12:43 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-01-24 22:26:40 +0100 |
commit | 2dab78ee2199d70b951aee86b80aab4374cc7c4f (patch) | |
tree | 40e1d3652242d7edd900b5d3f73002e77954e92f /sw/source/ui/chrdlg | |
parent | 0057803c228e10bc1247ebb35c28cfc9ffc4cc5c (diff) |
Change GetSavedValue() to return OUString
removed temporarily added OUString(...GetSavedValue()...) constructs again
Change-Id: I11477654d217a5ae127c1ef1b19cbff56ed052a6
Diffstat (limited to 'sw/source/ui/chrdlg')
-rw-r--r-- | sw/source/ui/chrdlg/chardlg.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/chrdlg/numpara.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx index 7b450d9bc4ec..e7efa9177250 100644 --- a/sw/source/ui/chrdlg/chardlg.cxx +++ b/sw/source/ui/chrdlg/chardlg.cxx @@ -248,9 +248,9 @@ sal_Bool SwCharURLPage::FillItemSet(SfxItemSet& rSet) SwFmtINetFmt aINetFmt(sURL, m_pTargetFrmLB->GetText()); aINetFmt.SetName(m_pNameED->GetText()); - bModified |= m_pURLED->GetText() != OUString(m_pURLED->GetSavedValue()); + bModified |= m_pURLED->GetText() != m_pURLED->GetSavedValue(); bModified |= m_pNameED->IsModified(); - bModified |= OUString(m_pTargetFrmLB->GetSavedValue()) != m_pTargetFrmLB->GetText(); + bModified |= m_pTargetFrmLB->GetSavedValue() != m_pTargetFrmLB->GetText(); // set valid settings first String sEntry = m_pVisitedLB->GetSelectEntry(); diff --git a/sw/source/ui/chrdlg/numpara.cxx b/sw/source/ui/chrdlg/numpara.cxx index 671b1956605b..54975d724f41 100644 --- a/sw/source/ui/chrdlg/numpara.cxx +++ b/sw/source/ui/chrdlg/numpara.cxx @@ -134,7 +134,7 @@ sal_Bool SwParagraphNumTabPage::FillItemSet( SfxItemSet& rSet ) } if(aNewStartCB.GetState() != aNewStartCB.GetSavedValue() || aNewStartNumberCB.GetState() != aNewStartNumberCB.GetSavedValue()|| - aNewStartNF.GetText() != OUString(aNewStartNF.GetSavedValue())) + aNewStartNF.GetText() != aNewStartNF.GetSavedValue()) { bModified = sal_True; sal_Bool bNewStartChecked = STATE_CHECK == aNewStartCB.GetState(); @@ -146,7 +146,7 @@ sal_Bool SwParagraphNumTabPage::FillItemSet( SfxItemSet& rSet ) if(aCountParaCB.GetSavedValue() != aCountParaCB.GetState() || aRestartParaCountCB.GetSavedValue() != aRestartParaCountCB.GetState() || - OUString(aRestartNF.GetSavedValue()) != aRestartNF.GetText() ) + aRestartNF.GetSavedValue() != aRestartNF.GetText() ) { SwFmtLineNumber aFmt; aFmt.SetStartValue( static_cast< sal_uLong >(aRestartParaCountCB.GetState() == STATE_CHECK ? |