summaryrefslogtreecommitdiff
path: root/sw/source/ui/utlui
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-09-09 08:04:03 +0000
committerOliver Specht <os@openoffice.org>2002-09-09 08:04:03 +0000
commit82d86549e5a25d654ca9a99752bc9e2869d0ecaa (patch)
tree9133e91c09a003d659060bbe8b946529ce1dc636 /sw/source/ui/utlui
parenta2ec16ccf2a755da96225749f09f0526b66f876b (diff)
#93290# enable hyperlinks in indexes without using the link character styles
Diffstat (limited to 'sw/source/ui/utlui')
-rw-r--r--sw/source/ui/utlui/uitool.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/utlui/uitool.cxx b/sw/source/ui/utlui/uitool.cxx
index adccb0408ba5..97f745e77389 100644
--- a/sw/source/ui/utlui/uitool.cxx
+++ b/sw/source/ui/utlui/uitool.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: uitool.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: os $ $Date: 2002-08-09 08:53:58 $
+ * last change: $Author: os $ $Date: 2002-09-09 09:04:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -802,7 +802,7 @@ USHORT InsertStringSorted(const String& rEntry, ListBox& rToFill, USHORT nOffset
}
return rToFill.InsertEntry(rEntry, i);
}
-void FillCharStyleListBox(ListBox& rToFill, SwDocShell* pDocSh, BOOL bSorted)
+void FillCharStyleListBox(ListBox& rToFill, SwDocShell* pDocSh, BOOL bSorted, BOOL bWithDefault)
{
BOOL bHasOffset = rToFill.GetEntryCount() > 0;
SfxStyleSheetBasePool* pPool = pDocSh->GetStyleSheetPool();
@@ -813,7 +813,7 @@ void FillCharStyleListBox(ListBox& rToFill, SwDocShell* pDocSh, BOOL bSorted)
SwStyleNameMapper::FillUIName( RES_POOLCOLL_STANDARD, sStandard );
while(pBase)
{
- if(pBase->GetName() != sStandard)
+ if(bWithDefault || pBase->GetName() != sStandard)
{
USHORT nPos;
if(bSorted)