summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-06-16 08:56:07 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-06-16 13:40:22 +0200
commit6ed8f8ac59c06a7a1bccf603fe6d4c834ff96eaf (patch)
tree6bed77c5b3d4a0224f17acf58f80c04ec94a7c72
parent3ca0543897c0ecfb474978adb23a9f48c64f9ce6 (diff)
tdf#108486 Only apply hyperlink settings if something did change
Change-Id: Idc601e9ca4ac3ea429d3b514ad6af4198954ca33 Reviewed-on: https://gerrit.libreoffice.org/38859 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> (cherry picked from commit fcd12c6d8574c1cd4c6ff45ba54e5d286d42eaad) Reviewed-on: https://gerrit.libreoffice.org/38863 Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r--sw/source/ui/chrdlg/chardlg.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx
index c66be6d84d56..85e5155d4525 100644
--- a/sw/source/ui/chrdlg/chardlg.cxx
+++ b/sw/source/ui/chrdlg/chardlg.cxx
@@ -169,7 +169,9 @@ SwCharURLPage::SwCharURLPage(vcl::Window* pParent, const SfxItemSet& rCoreSet)
::FillCharStyleListBox(*m_pVisitedLB, pView->GetDocShell());
::FillCharStyleListBox(*m_pNotVisitedLB, pView->GetDocShell());
m_pVisitedLB->SelectEntryPos(m_pVisitedLB->GetEntryPos(reinterpret_cast<void*>(RES_POOLCHR_INET_VISIT)));
+ m_pVisitedLB->SaveValue();
m_pNotVisitedLB->SelectEntryPos(m_pNotVisitedLB->GetEntryPos(reinterpret_cast<void*>(RES_POOLCHR_INET_NORMAL)));
+ m_pNotVisitedLB->SaveValue();
std::unique_ptr<TargetList> pList( new TargetList );
const SfxFrame& rFrame = pView->GetViewFrame()->GetFrame();