[Libreoffice-commits] .: Branch 'feature/calc-multiline-input' - sw/source

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Aug 15 19:33:23 PDT 2011


 sw/source/ui/vba/vbarows.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 1d202c7593fb0fa588755d4514cf77697054a16c
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date:   Mon Aug 15 22:33:24 2011 -0400

    Actually master doesn't have this bit.

diff --git a/sw/source/ui/vba/vbarows.cxx b/sw/source/ui/vba/vbarows.cxx
index 01c8dfd..7b1f939 100644
--- a/sw/source/ui/vba/vbarows.cxx
+++ b/sw/source/ui/vba/vbarows.cxx
@@ -263,10 +263,6 @@ void SwVbaRows::setIndentWithAdjustNone( sal_Int32 indent ) throw (uno::RuntimeE
     sal_Int32 nWidth = 0;
     xTableProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Width") ) ) >>= nWidth;
     sal_Int32 nNewWidth = nWidth - indent;
-    if ((nNewWidth <= 0) || (nWidth <= 0))
-    {
-        throw new RuntimeException("Pb with width, in SwVbaRows::setIndentWithAdjustProportional (nNewWidth <= 0) || (nWidth <= 0)");
-    }
     double propFactor = (double)nNewWidth/(double)nWidth;
 
     // get all columns, calculate and set the new width of the columns


More information about the Libreoffice-commits mailing list