summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-14 10:40:54 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-14 10:40:54 +0000
commit5b3c2d4a095bfb5cb3cba9d14ee3c0974f26a4ce (patch)
tree0e908a86df502cbb5f453ae4fa08ff6257c46f10 /sw/source/core/unocore
parent57c78b79b290347aad3dd6bf8b6b30471b7ef8e7 (diff)
INTEGRATION: CWS dvoqbfix4 (1.40.298); FILE MERGED
2005/04/29 14:28:50 dvo 1.40.298.1: #i44684# don't compare relative column widths against absolute width
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r--sw/source/core/unocore/unosett.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx
index ebe241b5e56a..acfa06201a80 100644
--- a/sw/source/core/unocore/unosett.cxx
+++ b/sw/source/core/unocore/unosett.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unosett.cxx,v $
*
- * $Revision: 1.41 $
+ * $Revision: 1.42 $
*
- * last change: $Author: kz $ $Date: 2005-07-12 11:20:57 $
+ * last change: $Author: kz $ $Date: 2005-07-14 11:40:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2547,10 +2547,6 @@ void SwXTextColumns::setColumns(const uno::Sequence< TextColumn >& rColumns)
const TextColumn* prCols = rColumns.getConstArray();
for(long i = 0; i < rColumns.getLength(); i++)
{
- //wenn die Breite Null ist, oder die Raender breiter als die Spalte werden -> exception
- if(!prCols[i].Width ||
- prCols[i].LeftMargin + prCols[i].RightMargin >= prCols[i].Width)
- throw uno::RuntimeException();
nReferenceTemp += prCols[i].Width;
}
bIsAutomaticWidth = sal_False;