summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-10-29 11:35:03 +0000
committerRüdiger Timm <rt@openoffice.org>2008-10-29 11:35:03 +0000
commit282a7d79302657cd7046620115f966ef620d5b17 (patch)
tree3d6f6c453196ed5c30d7684420ac1c032df8f308 /sw/source/ui/chrdlg
parentc91e5d874c96cfc6e1955339476fa520ffe39296 (diff)
CWS-TOOLING: integrate CWS os120
Diffstat (limited to 'sw/source/ui/chrdlg')
-rw-r--r--sw/source/ui/chrdlg/break.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/ui/chrdlg/break.cxx b/sw/source/ui/chrdlg/break.cxx
index b907f6cbba47..d2d07d81e368 100644
--- a/sw/source/ui/chrdlg/break.cxx
+++ b/sw/source/ui/chrdlg/break.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: break.cxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.16.224.1 $
*
* This file is part of OpenOffice.org.
*
@@ -207,7 +207,10 @@ SwBreakDlg::SwBreakDlg( Window *pParent, SwWrtShell &rS ) :
if(LISTBOX_ENTRY_NOTFOUND == aPageCollBox.GetEntryPos( aFmtName =
SwStyleNameMapper::GetUIName( i, aFmtName )))
::InsertStringSorted(aFmtName, aPageCollBox, 1 );
-
+ //add landscape page
+ if(LISTBOX_ENTRY_NOTFOUND == aPageCollBox.GetEntryPos( aFmtName =
+ SwStyleNameMapper::GetUIName( RES_POOLPAGE_LANDSCAPE, aFmtName )))
+ ::InsertStringSorted(aFmtName, aPageCollBox, 1 );
CheckEnable();
aPageNumEdit.SetText( aEmptyStr );
FreeResource();