From 5aa1e950e398d76800a5662eba73e37ba86fa063 Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Tue, 1 Feb 2000 23:39:37 +0000 Subject: [PATCH] Part of composer table edit work (bug 20973): Return NS_TABLELAYOUT_CELL_NOT_FOUND instead of error when a cell isn't found at a cellmap location. r=mjudge. git-svn-id: svn://10.0.0.236/trunk@59434 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/table/src/nsTableFrame.cpp | 2 +- mozilla/layout/tables/nsTableFrame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/html/table/src/nsTableFrame.cpp b/mozilla/layout/html/table/src/nsTableFrame.cpp index c3048070c46..106863d9548 100644 --- a/mozilla/layout/html/table/src/nsTableFrame.cpp +++ b/mozilla/layout/html/table/src/nsTableFrame.cpp @@ -4496,7 +4496,7 @@ CELL_FOUND: col = 0; } } - return NS_ERROR_FAILURE; // Some other error + return NS_TABLELAYOUT_CELL_NOT_FOUND; // We didn't find a cell } } diff --git a/mozilla/layout/tables/nsTableFrame.cpp b/mozilla/layout/tables/nsTableFrame.cpp index c3048070c46..106863d9548 100644 --- a/mozilla/layout/tables/nsTableFrame.cpp +++ b/mozilla/layout/tables/nsTableFrame.cpp @@ -4496,7 +4496,7 @@ CELL_FOUND: col = 0; } } - return NS_ERROR_FAILURE; // Some other error + return NS_TABLELAYOUT_CELL_NOT_FOUND; // We didn't find a cell } }