summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg/chardlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/chrdlg/chardlg.cxx')
-rw-r--r--sw/source/ui/chrdlg/chardlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx
index e7efa9177250..7b450d9bc4ec 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() != m_pURLED->GetSavedValue();
+ bModified |= m_pURLED->GetText() != OUString(m_pURLED->GetSavedValue());
bModified |= m_pNameED->IsModified();
- bModified |= m_pTargetFrmLB->GetSavedValue() != m_pTargetFrmLB->GetText();
+ bModified |= OUString(m_pTargetFrmLB->GetSavedValue()) != m_pTargetFrmLB->GetText();
// set valid settings first
String sEntry = m_pVisitedLB->GetSelectEntry();