diff options
author | Oliver Specht <os@openoffice.org> | 2001-04-06 08:55:02 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-04-06 08:55:02 +0000 |
commit | 58be32ad7e17a326d534591a4e828cad67a84647 (patch) | |
tree | 195e1bb3d91373bf81e5ca95ae63034362495c14 /svx/source/dialog/rubydialog.cxx | |
parent | #85714# - Removed unnessecary backward compatibility code. (diff) | |
download | core-58be32ad7e17a326d534591a4e828cad67a84647.tar.gz core-58be32ad7e17a326d534591a4e828cad67a84647.zip |
#85636# assignment to edits corrected
Diffstat (limited to 'svx/source/dialog/rubydialog.cxx')
-rw-r--r-- | svx/source/dialog/rubydialog.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 3342ba0f4f08..b1bb8406b43e 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -2,9 +2,9 @@ * * $RCSfile: rubydialog.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: os $ $Date: 2001-02-19 07:28:17 $ + * last change: $Author: os $ $Date: 2001-04-06 09:55:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -194,9 +194,9 @@ SvxRubyDialog::SvxRubyDialog( SfxBindings *pBind, SfxChildWindow *pCW, { FreeResource(); aEditArr[0] = &aLeft1ED; aEditArr[1] = &aRight1ED; - aEditArr[3] = &aLeft2ED; aEditArr[2] = &aRight2ED; - aEditArr[5] = &aLeft2ED; aEditArr[4] = &aRight3ED; - aEditArr[7] = &aLeft2ED; aEditArr[6] = &aRight4ED; + aEditArr[2] = &aLeft2ED; aEditArr[3] = &aRight2ED; + aEditArr[4] = &aLeft3ED; aEditArr[5] = &aRight3ED; + aEditArr[6] = &aLeft4ED; aEditArr[7] = &aRight4ED; aApplyPB.SetClickHdl(LINK(this, SvxRubyDialog, ApplyHdl_Impl)); @@ -375,7 +375,7 @@ void SvxRubyDialog::SetText(sal_Int32 nPos, Edit& rLeft, Edit& rRight) void SvxRubyDialog::GetText() { long nLastPos = GetLastPos(); - for(int i = 0; i < 4; i+=2) + for(int i = 0; i < 8; i+=2) { if(aEditArr[i]->IsEnabled() && (aEditArr[i]->GetText() != aEditArr[i]->GetSavedValue() || |