diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-02-26 12:10:02 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-02-26 12:10:02 +0000 |
commit | 1942d06fcb3e4b92aec514f7637190ab60aa62c4 (patch) | |
tree | a7cfcf4254ec84f8f1efddd662938b9726548e71 /sw/source/ui/fldui/flddok.cxx | |
parent | 8d26b8d51e5c03b492c253642a683d1061087642 (diff) |
INTEGRATION: CWS sb13 (1.7.176); FILE MERGED
2004/02/06 08:52:23 sb 1.7.176.1: #i19699# Adapted to tightened tools/string.hxx (patch supplied by tono).
Diffstat (limited to 'sw/source/ui/fldui/flddok.cxx')
-rw-r--r-- | sw/source/ui/fldui/flddok.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sw/source/ui/fldui/flddok.cxx b/sw/source/ui/fldui/flddok.cxx index 96939f49877f..06ff56c357f8 100644 --- a/sw/source/ui/fldui/flddok.cxx +++ b/sw/source/ui/fldui/flddok.cxx @@ -2,9 +2,9 @@ * * $RCSfile: flddok.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: hjs $ $Date: 2003-08-19 11:58:21 $ + * last change: $Author: kz $ $Date: 2004-02-26 13:10:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -421,9 +421,11 @@ IMPL_LINK( SwFldDokPage, TypeHdl, ListBox *, EMPTYARG ) { short nOff = GetCurField()->GetPar2().ToInt32(); if( TYP_NEXTPAGEFLD == nTypeId && 1 != nOff ) - aValueED.SetText( nOff - 1 ); + aValueED.SetText( + String::CreateFromInt32(nOff - 1) ); else if( TYP_PREVPAGEFLD == nTypeId && -1 != nOff ) - aValueED.SetText( nOff + 1 ); + aValueED.SetText( + String::CreateFromInt32(nOff + 1) ); else aValueED.SetText(aEmptyStr); } |