diff options
author | jp <jp@openoffice.org> | 2001-04-27 16:53:46 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2001-04-27 16:53:46 +0000 |
commit | fcfe78f7ee844af0c95aff95f08213f66420c8a9 (patch) | |
tree | 2bff0a1efb687e0bdbcbb9f9fb43b2445797e892 /sw/source/ui/chrdlg/break.cxx | |
parent | 8be9cc0cf31caf47799ce2af88d1136d69b6cef1 (diff) |
use Collator for international string compare
Diffstat (limited to 'sw/source/ui/chrdlg/break.cxx')
-rw-r--r-- | sw/source/ui/chrdlg/break.cxx | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/sw/source/ui/chrdlg/break.cxx b/sw/source/ui/chrdlg/break.cxx index 3eff8de058..c9fbfc220d 100644 --- a/sw/source/ui/chrdlg/break.cxx +++ b/sw/source/ui/chrdlg/break.cxx @@ -2,9 +2,9 @@ * * $RCSfile: break.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:32 $ + * last change: $Author: jp $ $Date: 2001-04-27 17:53:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -75,10 +75,6 @@ #include <vcl/msgbox.hxx> #endif - -#ifndef _SV_SVAPP_HXX -#include <vcl/svapp.hxx> -#endif #ifndef _CMDID_H #include <cmdid.h> #endif @@ -250,19 +246,18 @@ SwBreakDlg::SwBreakDlg( Window *pParent, SwWrtShell &rS ) : // Einfuegen der vorhandenen Seitenvorlagen in die Listbox - const International& rInt = Application::GetAppInternational(); const USHORT nCount = rSh.GetPageDescCnt(); for(USHORT i = 0; i < nCount; ++i) { const SwPageDesc &rPageDesc = rSh.GetPageDesc(i); - ::InsertStringSorted(rPageDesc.GetName(), aPageCollBox, TRUE, rInt); + ::InsertStringSorted(rPageDesc.GetName(), aPageCollBox, TRUE ); } String aFmtName; for(i = RES_POOLPAGE_BEGIN; i <= RES_POOLPAGE_REGISTER; ++i) if(LISTBOX_ENTRY_NOTFOUND == aPageCollBox.GetEntryPos( GetDocPoolNm( i, aFmtName ))) - ::InsertStringSorted(aFmtName, aPageCollBox, TRUE, rInt); + ::InsertStringSorted(aFmtName, aPageCollBox, TRUE ); CheckEnable(); aPageNumEdit.SetText( aEmptyStr ); @@ -309,12 +304,15 @@ SwBreakDlg::~SwBreakDlg() {} /*------------------------------------------------------------------------ $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 17:14:32 hr + initial import + Revision 1.62 2000/09/18 16:05:13 willem.vandorp OpenOffice header added. - + Revision 1.61 2000/08/25 10:12:26 os #77214# style listbox sorted - + Revision 1.60 2000/07/26 16:32:15 jp use the new function GetDocPoolNm to get the collectionames |