[Libreoffice-commits] core.git: sw/source
Oliver Specht
oliver.specht at cib.de
Mon Apr 3 07:36:44 UTC 2017
sw/source/ui/chrdlg/chardlg.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 8533e21ecf8d94caebfdb3df088e462bb790f986
Author: Oliver Specht <oliver.specht at cib.de>
Date: Fri Mar 31 14:46:15 2017 +0200
tdf#106897: preset visited/unvisited character style in ListBox
Change-Id: I9bfa2b8a50340a6b09d8cc50e5313dc45a518472
Reviewed-on: https://gerrit.libreoffice.org/35973
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx
index 5eb7cbce9f60..e357175c216a 100644
--- a/sw/source/ui/chrdlg/chardlg.cxx
+++ b/sw/source/ui/chrdlg/chardlg.cxx
@@ -167,6 +167,8 @@ SwCharURLPage::SwCharURLPage(vcl::Window* pParent, const SfxItemSet& rCoreSet)
SwView *pView = ::GetActiveView();
::FillCharStyleListBox(*m_pVisitedLB, pView->GetDocShell());
::FillCharStyleListBox(*m_pNotVisitedLB, pView->GetDocShell());
+ m_pVisitedLB->SelectEntryPos(m_pVisitedLB->GetEntryPos(reinterpret_cast<void*>(RES_POOLCHR_INET_VISIT)));
+ m_pNotVisitedLB->SelectEntryPos(m_pNotVisitedLB->GetEntryPos(reinterpret_cast<void*>(RES_POOLCHR_INET_NORMAL)));
std::unique_ptr<TargetList> pList( new TargetList );
const SfxFrame& rFrame = pView->GetViewFrame()->GetFrame();
More information about the Libreoffice-commits
mailing list