[ooo-build-commit] 2 commits - patches/dev300 patches/vba

Jan Nieuwenhuizen janneke at kemper.freedesktop.org
Fri Nov 6 01:40:43 PST 2009


 patches/dev300/apply                                                  |    1 
 patches/dev300/layout-post-cws-layoutdialogs2-edit-noop-reversal.diff |   39 +
 patches/vba/cws-vbasupportdev300.diff                                 |  342 ----------
 3 files changed, 40 insertions(+), 342 deletions(-)

New commits:
commit f9b8e57a3592700a66264d678b1ffb9ce5b2c0cc
Author: Jan Nieuwenhuizen <janneke at gnu.org>
Date:   Fri Nov 6 10:40:06 2009 +0100

    cws-vbasupportdev300.diff: remove log file patching.  Again.  Fixes make patch.
    
       * Modified     patches/vba/cws-vbasupportdev300.diff

diff --git a/patches/vba/cws-vbasupportdev300.diff b/patches/vba/cws-vbasupportdev300.diff
index b637fb4..484aea1 100644
--- a/patches/vba/cws-vbasupportdev300.diff
+++ b/patches/vba/cws-vbasupportdev300.diff
@@ -36085,348 +36085,6 @@ Added: svn:mime-type
    + application/octet-stream
 
 
-Index: sc/source/ui/vba/testvba/TestDocuments/logs/unix/VariantTest.log
-===================================================================
---- sc/source/ui/vba/testvba/TestDocuments/logs/unix/VariantTest.log	(.../tags/DEV300_m58)	(revision 0)
-+++ sc/source/ui/vba/testvba/TestDocuments/logs/unix/VariantTest.log	(.../cws/vbasupportdev300)	(revision 277097)
-@@ -0,0 +1,47 @@
-+Test run started : 24/09/2008 10:58:18
-+----------------------------------------------------------------
-+TestAddress
-+ TEST START : TestAddress
-+  ITEM Assertion OK : test1: res = (aboo = '')
-+  ITEM Assertion OK : test 2: res = (aboo = 'fiddlesticks')
-+  ITEM Assertion OK : test 3: res = ('' = aboo)
-+  ITEM Assertion OK : test 4: res = ('fiddlesticks' = aboo )
-+  ITEM Assertion OK : test 5: res = (testString = '')
-+  ITEM Assertion OK : test 6: res = (testString = 'fiddlesticks')
-+  ITEM Assertion OK : test 7: res = ('' = testString)
-+  ITEM Assertion OK : test 8: res = ('fiddlesticks' = testString )
-+  ITEM Assertion OK : test 9: res = ( aboo < " )
-+  ITEM Assertion OK : test 10: res = ( testString < " )
-+  ITEM Assertion OK : test 11: res = ( aboo > " )
-+  ITEM Assertion OK : test 12: res = ( testString > " )
-+  ITEM Assertion OK : test 13: res = ( aboo <> '' )
-+  ITEM Assertion OK : test 14: res = ( testString <> '' )
-+  ITEM Assertion OK : test 15: res = (aboo = something/14)
-+  ITEM Assertion OK : test 16: res = something + 'string'
-+  ITEM Assertion OK : test 17: res = something & 'string'
-+  ITEM Assertion OK : test 18: res =  something MOD 10 )
-+  ITEM Assertion OK : test 19: res =  something AND 1 )
-+  ITEM Assertion OK : test 20: res =  something AND 0 )
-+  ITEM Assertion OK : test 21: res =  something OR 12)
-+  ITEM Assertion OK : test 22: res =  something OR 0 )
-+  ITEM Assertion OK : test 23: res =  something XOR 0 )
-+  ITEM Assertion OK : test 24: res =  something XOR 1 )
-+  ITEM Assertion OK : test 25: res =  something EQV 0 )
-+  ITEM Assertion OK : test 26: res =  something EQV 1 )
-+  ITEM Assertion OK : test 27: res =  something IMP 0 )
-+  ITEM Assertion OK : test 28: res =  something IMP 1 )
-+  ITEM Assertion OK : test 29: res =  something IMP 14 )
-+  ITEM Assertion OK : test 30: res =  NOT something )
-+  ITEM Assertion OK : test 31: res = something + 12 )
-+  ITEM Assertion OK : test 32: res = something - 12 )
-+  ITEM Assertion OK : test 33: res = -something )
-+  ITEM Assertion OK : test 34: res = something * 12 )
-+Test Results
-+============
-+
-+Tests passed: 34
-+Tests failed: 0
-+
-+END 'TestAddress
-+ TEST OK : TestAddress
-+Test run finished : 24/09/2008 10:58:20
-Index: sc/source/ui/vba/testvba/TestDocuments/logs/unix/TestIntersection.log
-===================================================================
---- sc/source/ui/vba/testvba/TestDocuments/logs/unix/TestIntersection.log	(.../tags/DEV300_m58)	(revision 0)
-+++ sc/source/ui/vba/testvba/TestDocuments/logs/unix/TestIntersection.log	(.../cws/vbasupportdev300)	(revision 277097)
-@@ -0,0 +1,26 @@
-+Test run started : 13/01/2009 14:31:43
-+----------------------------------------------------------------
-+TestIntersection
-+ TEST START : TestIntersection
-+  ITEM Assertion OK : test1 Application.Intersect( Range('A2:D10'), Range('C4:E6'))
-+  ITEM Assertion OK : test2 Application.Intersect( Range('A2:D10'), Range('A4:G10'))
-+  ITEM Assertion OK : test3 Application.Intersect( Range('A2:c8,d2:f8,g2:i8'), Range('A4:G10'))
-+  ITEM Assertion OK : test4 Application.Intersect( Range('A4:G10'), Range('A2:c8,d2:f8,g2:i8'))
-+  ITEM Assertion OK : test5 Application.Intersect( Range('A2:c8,d2:f8,g2:i8'), Range('g4:i10,A4:G10'))
-+  ITEM Assertion OK : test6 Application.Intersect( Range('g4:i10,A4:G10'), Range('A2:c8,d2:f8,g2:i8'))
-+  ITEM Assertion OK : test7 Application.Intersect( Range('a2:d10,b5:e10'), Range('a5:i10'))
-+  ITEM Assertion OK : test8 Application.Intersect( Range('a2:c8,d2:f8'), Range('b6:e9,a6:f9'))
-+  ITEM Assertion OK : test9 Application.Intersect( Range('a2:c8,e2:f8'), Range('b6:e9,a6:f9'))
-+  ITEM Assertion OK : test10 Application.Intersect( Range('a1:a3,c1:c3'), Range('a2:c3'))
-+  ITEM Assertion OK : test11 Application.Intersect( Range('a1:a3,b1:b3'), Range('a2:c3'))
-+  ITEM Assertion OK : test12 Application.Intersect( Range('a2:d5,b3:f7,c1:g4'), Range('b2:e6'))
-+  ITEM Assertion OK : test13 Range(" a2:d10,b5:e10,g13:j32 "), Range(" a5:i10,b6:e9 "), Range("b2:r5,f10:h19")
-+Test Results
-+============
-+
-+Tests passed: 13
-+Tests failed: 0
-+
-+END 'TestIntersection
-+ TEST OK : TestIntersection
-+Test run finished : 13/01/2009 14:31:43
-Index: sc/source/ui/vba/testvba/TestDocuments/logs/unix/replace.log
-===================================================================
---- sc/source/ui/vba/testvba/TestDocuments/logs/unix/replace.log	(.../tags/DEV300_m58)	(revision 277097)
-+++ sc/source/ui/vba/testvba/TestDocuments/logs/unix/replace.log	(.../cws/vbasupportdev300)	(revision 277097)
-@@ -1,4 +1,4 @@
--Test run started : 17/12/2008 13:53:49
-+Test run started : 09/05/2008 10:21:46 AM
- BEGIN Replace
-  TEST START : Test Replace function
-   ITEM Assertion OK : common string:aefefdBc
-@@ -11,4 +11,4 @@
-   ITEM Assertion OK : start = 1, count = 0, not support in Unix: abcbcdBc
-  TEST OK : Test Replace function
- END  Replace
--Test run finished : 17/12/2008 13:53:49
-+Test run finished : 09/05/2008 10:21:47 AM
-Index: sc/source/ui/vba/testvba/TestDocuments/logs/unix/Ranges.log
-===================================================================
---- sc/source/ui/vba/testvba/TestDocuments/logs/unix/Ranges.log	(.../tags/DEV300_m58)	(revision 277097)
-+++ sc/source/ui/vba/testvba/TestDocuments/logs/unix/Ranges.log	(.../cws/vbasupportdev300)	(revision 277097)
-@@ -1,4 +1,4 @@
--Test run started : 17/12/2008 14:18:34
-+Test run started : 10/03/2008 15:15:11
- ----------------------------------------------------------------
- ApplicationMethods
-  TEST START : ApplicationMethods
-@@ -7,8 +7,8 @@
-   ITEM Assertion OK :  Address of Application.Rows is: $1:$1
-   ITEM Assertion OK :  Address of Application.Range is: $1:$1,$5:$7
-   ITEM Assertion OK :  Please check manually: DefaultFilePath is: /data4/home/npower/Documents
--  ITEM Assertion OK :  Please check manually: Library Path is: /media/disk/BUILD-related/CWS/my_working_copy/INSTALL_FOR_TEST/opt/UserInstallation/user/basic
--  ITEM Assertion OK :  Please check manually: Template Path is: /media/disk/BUILD-related/CWS/my_working_copy/INSTALL_FOR_TEST/opt/UserInstallation/user/template
-+  ITEM Assertion OK :  Please check manually: Library Path is: /data4/home/npower/.ooo-2.0/user/basic
-+  ITEM Assertion OK :  Please check manually: Template Path is: /data4/home/npower/.ooo-2.0/user/template
-   ITEM Assertion OK :  FileSeparator is /
-   ITEM Assertion OK :  Name of ActiveWorkbook is: Ranges.xls
- END 'ApplicationMethods' Symbol
-@@ -111,8 +111,8 @@
- ----------------------------------------------------------------
- AutoFit issue
-  TEST START : AutoFit issue
--  ITEM Assertion OK :  Columns.AutoFit: CurrentWidth is 679
--  ITEM Assertion OK :  Rows.AutoFit: CurrentHeight is 546
-+  ITEM Assertion OK :  Columns.AutoFit: CurrentWidth is 680
-+  ITEM Assertion OK :  Rows.AutoFit: CurrentHeight is 554
- END 'AutoFit issue' Symbol
-  TEST OK : AutoFit issue
- ----------------------------------------------------------------
-@@ -204,11 +204,11 @@
-   ITEM Assertion OK : Range RowHeight is 40
-   ITEM Assertion OK : Range ColumnWidth is 50
-   ITEM Assertion OK : Range Height is 240
--  ITEM Assertion OK : Range Width is 787.5
-+  ITEM Assertion OK : Range Width is 795
-   ITEM Assertion OK : Range RowHeight is 50
-   ITEM Assertion OK : Range ColumnWidth is 50
-   ITEM Assertion OK : Range Height is 300
--  ITEM Assertion OK : Range Width is 787.5
-+  ITEM Assertion OK : Range Width is 795
-   ITEM Assertion OK : RowHeight is null: True
-   ITEM Assertion OK : ColumnWidth is null: True
- END 'Heights and Widths' Symbol
-@@ -218,7 +218,7 @@
-  TEST START : RangeRowColumn-Issue
-   ITEM Assertion OK : Row is: 8
-   ITEM Assertion OK : Column is: 5
--  ITEM Assertion OK : EntireRow.Columns.Count = 1024
-+  ITEM Assertion OK : EntireRow.Columns.Count = 256
-   ITEM Assertion OK : EntireColumn.Rows.Count = 131072
- END 'RangeRowColumn-Issue' Symbol
-  TEST OK : RangeRowColumn-Issue
-@@ -255,7 +255,7 @@
-   ITEM Assertion OK : -  = $E$3
-   ITEM Assertion OK : -  = $A$8
-   ITEM Assertion OK : -  = $B$8
--  ITEM Assertion FAIL : -  = $AMJ$8
-+  ITEM Assertion OK : -  = $IV$8
-   ITEM Assertion OK : -  = $Z$8
- END 'End issue' Symbol
-  TEST OK : End issue
-@@ -277,4 +277,4 @@
-   ITEM Assertion OK : Validation Error Title is : Microsoft Excel
- END 'Validation' Symbol
-  TEST OK : Validation
--Test run finished : 17/12/2008 14:18:40
-+Test run finished : 10/03/2008 15:15:13
-Index: sc/source/ui/vba/testvba/TestDocuments/logs/unix/TestAddress.log
-===================================================================
---- sc/source/ui/vba/testvba/TestDocuments/logs/unix/TestAddress.log	(.../tags/DEV300_m58)	(revision 277097)
-+++ sc/source/ui/vba/testvba/TestDocuments/logs/unix/TestAddress.log	(.../cws/vbasupportdev300)	(revision 277097)
-@@ -1,4 +1,4 @@
--Test run started : 17/07/2007 20:56:04
-+Test run started : 12/05/2009 11:23:35
- ----------------------------------------------------------------
- TestAddress
-  TEST START : TestAddress
-@@ -51,12 +51,17 @@
-   ITEM Assertion OK : test47 Range('a2:b4').Rows('1:2')
-   ITEM Assertion OK : test48 Range('a2:b4').Rows('2:2')
-   ITEM Assertion OK : test49 Range('a2:b4').Rows('2:3')
-+  ITEM Assertion OK : test50 Range(' A2:B4 ')
-+  ITEM Assertion OK : test51 Range('A 2:B 4')
-+  ITEM Assertion OK : test52 Range('A2 : B4 ')
-+  ITEM Assertion OK : test53 Range('Sheet1 !A2 : B4 ')
-+  ITEM Assertion OK : test54 Range('Sheet1! A2 : B4 ')
- Test Results
- ============
- 
--Tests passed: 49
-+Tests passed: 54
- Tests failed: 0
- 
- END 'TestAddress
-  TEST OK : TestAddress
--Test run finished : 17/07/2007 20:56:05
-+Test run finished : 12/05/2009 11:23:35
-Index: sc/source/ui/vba/testvba/TestDocuments/logs/unix/TestUnion.log
-===================================================================
---- sc/source/ui/vba/testvba/TestDocuments/logs/unix/TestUnion.log	(.../tags/DEV300_m58)	(revision 0)
-+++ sc/source/ui/vba/testvba/TestDocuments/logs/unix/TestUnion.log	(.../cws/vbasupportdev300)	(revision 277097)
-@@ -0,0 +1,17 @@
-+Test run started : 13/01/2009 14:32:16
-+----------------------------------------------------------------
-+TestUnion
-+ TEST START : TestUnion
-+  ITEM Assertion OK : test1Application.Range('A2:D10'), Range('C4:E6')
-+  ITEM Assertion OK : test2Application.Range('A2:D5,a3:d4'), Range('A4:G10')
-+  ITEM Assertion OK : test3Application.Range('A4:G10,A1:B6'), Range('A2:D5,A3:D4')
-+  ITEM Assertion OK : test4Application.Range('A5:D10'), Range('B5:E10')
-+Test Results
-+============
-+
-+Tests passed: 4
-+Tests failed: 0
-+
-+END 'TestUnion
-+ TEST OK : TestUnion
-+Test run finished : 13/01/2009 14:32:16
-Index: sc/source/ui/vba/testvba/TestDocuments/logs/unix/format.log
-===================================================================
---- sc/source/ui/vba/testvba/TestDocuments/logs/unix/format.log	(.../tags/DEV300_m58)	(revision 277097)
-+++ sc/source/ui/vba/testvba/TestDocuments/logs/unix/format.log	(.../cws/vbasupportdev300)	(revision 277097)
-@@ -1,4 +1,4 @@
--Test run started : 17/12/2008 14:15:22
-+Test run started : 2008/09/18 11:35:34
- BEGIN Format
-  TEST START : Test Predefined_Number_Format_Sample function
-   ITEM Assertion OK : General Number: 562486.2356
-@@ -33,4 +33,4 @@
-   ITEM Assertion OK : >: VBA
-  TEST OK : Test Custom_Text_Format_Sample function
- END  Format
--Test run finished : 17/12/2008 14:15:22
-+Test run finished : 2008/09/18 11:35:34
-Index: sc/source/ui/vba/testvba/TestDocuments/logs/unix/CalcFont.log
-===================================================================
---- sc/source/ui/vba/testvba/TestDocuments/logs/unix/CalcFont.log	(.../tags/DEV300_m58)	(revision 0)
-+++ sc/source/ui/vba/testvba/TestDocuments/logs/unix/CalcFont.log	(.../cws/vbasupportdev300)	(revision 277097)
-@@ -0,0 +1,17 @@
-+Test run started : 10/09/2008 02:40:17 PM
-+CalcFont_Format
-+ TEST START : Font_Format
-+  ITEM Assertion OK : correctly set font to Bold
-+  ITEM Assertion OK : correctly set font to Italic
-+  ITEM Assertion OK : correctly read FontStyle
-+  ITEM Assertion OK : correctly set font to Shadow
-+  ITEM Assertion OK : correctly set font color
-+  ITEM Assertion OK : correctly set font color index
-+  ITEM Assertion OK : correctly set font name
-+  ITEM Assertion OK : correctly set font outline
-+  ITEM Assertion OK : correctly set font size
-+  ITEM Assertion OK : correctly set font strikethrough
-+  ITEM Assertion OK : correctly set font underline
-+ TEST Success. : Font_Format
-+CalcFont_Format
-+Test run finished : 10/09/2008 02:40:17 PM
-Index: sc/source/ui/vba/testvba/TestDocuments/logs/unix/window2.log
-===================================================================
---- sc/source/ui/vba/testvba/TestDocuments/logs/unix/window2.log	(.../tags/DEV300_m58)	(revision 277097)
-+++ sc/source/ui/vba/testvba/TestDocuments/logs/unix/window2.log	(.../cws/vbasupportdev300)	(revision 277097)
-@@ -1,20 +1,15 @@
--Test run started : 05/29/2008 02:55:48 PM
-+Test run started : 2008/09/22 11:18:57
- BEGIN Window2
-  TEST START : Test Window.SplitRow
--  ITEM Assertion OK : Test SplitColumn: 2
--  ITEM Assertion FAIL : Test SplitRow: 5
--  ITEM Assertion FAIL : Test SplitVertical: 64.5090003183026
--  ITEM Assertion OK : Test SplitHorizontal: 502.570118758869
--  ITEM Assertion OK : Test SplitVertical: 242.283803521067
--  ITEM Assertion OK : Test SplitRow: 19
--  ITEM Assertion OK : Test SplitHorizontal: 242.283803521067
--  ITEM Assertion OK : Test SplitColumn: 1
--  ITEM Assertion FAIL : Test SplitRow: 8
--  ITEM Assertion OK : Test SplitColumn: 10
-+  ITEM Assertion OK : Test SplitColumn: 2 (Test only applies to maximized Window and at least has 800*600 solotion)
-+  ITEM Assertion OK : Test SplitRow: 2 (Test only applies to maximized Window and at least has 800*600 solotion)
-+  ITEM Assertion OK : Test SplitVertical: 242.465788476212
-+  ITEM Assertion OK : Test SplitHorizontal: 242.465788476212
-+  ITEM Assertion OK : Test SplitRow: 4 (Test only applies to maximized Window and at least has 800*600 solotion)
-+  ITEM Assertion OK : Test SplitColumn: 3 (Test only applies to maximized Window and at least has 800*600 solotion)
-   ITEM Assertion OK : Test SplitColumn: 0
-   ITEM Assertion OK : Test SplitRow: 0
-  TEST OK : Test Window.SplitRow
--TEST ERROR - no test begun: Test Window.SplitRow
-  TEST START : Test Window.DisplayGridlines
-   ITEM Assertion OK : Test gridlines are on
-   ITEM Assertion OK : Test gridlines are off
-@@ -25,7 +20,8 @@
-  TEST OK : Test Window.DisplayHeadings
-  TEST START : Test Window.Visibility
-   ITEM Assertion OK : Window is visible
-- TEST FAIL : Test Window.Visibility (hit error handler).
-+  ITEM Assertion OK : Window is not visible
-+ TEST OK : Test Window.Visibility
-  TEST START : Test Window.FreezePanes
-   ITEM Assertion OK : Test no panes frozen
-   ITEM Assertion OK : Test panes frozen at center
-@@ -42,4 +38,4 @@
-   ITEM Assertion OK : Application.Windows Count: 1
-  TEST OK : Test Windows.Count
- END  Window2
--Test run finished : 05/29/2008 02:55:48 PM
-+Test run finished : 2008/09/22 11:18:58
-Index: sc/source/ui/vba/testvba/TestDocuments/logs/unix/MiscOperatorTests.log
-===================================================================
---- sc/source/ui/vba/testvba/TestDocuments/logs/unix/MiscOperatorTests.log	(.../tags/DEV300_m58)	(revision 0)
-+++ sc/source/ui/vba/testvba/TestDocuments/logs/unix/MiscOperatorTests.log	(.../cws/vbasupportdev300)	(revision 277097)
-@@ -0,0 +1,30 @@
-+Test run started : 12/05/2009 12:36:15
-+----------------------------------------------------------------
-+TestAddress
-+ TEST START : TestAddress
-+  ITEM Assertion OK : test1: res = Not ( A > B )
-+  ITEM Assertion OK : test2: res = Not ( B > A )
-+  ITEM Assertion OK : test3: res = Not ( D )
-+  ITEM Assertion OK : test4: res = Not A
-+  ITEM Assertion OK : test5: res = ( A > D )
-+  ITEM Assertion OK : test6: res = ( D > A )
-+  ITEM Assertion OK : test7: res = ( A < D )
-+  ITEM Assertion OK : test8: res = ( D < A )
-+  ITEM Assertion OK : test9: res = ( A >= D )
-+  ITEM Assertion OK : test10: res = ( D >= A )
-+  ITEM Assertion OK : test11: res = ( A <= D )
-+  ITEM Assertion OK : test12: res = ( D <= A )
-+  ITEM Assertion OK : test13: res = ( D = A )
-+  ITEM Assertion OK : test14: res = ( A = D )
-+  ITEM Assertion OK : test15: res = ( D <> A )
-+  ITEM Assertion OK : test16: res = ( A <> D )
-+  ITEM Assertion OK : test17: ( A = D ) = True 
-+Test Results
-+============
-+
-+Tests passed: 17
-+Tests failed: 0
-+
-+END 'TestAddress
-+ TEST OK : TestAddress
-+Test run finished : 12/05/2009 12:36:15
 Index: sc/source/ui/vba/testvba/TestDocuments/VariantTest.xls
 ===================================================================
 Cannot display: file marked as a binary type.
commit 0084ee171fca1dd9ffda8ff72bb8278bed654c33
Author: Jan Nieuwenhuizen <janneke at gnu.org>
Date:   Fri Nov 6 10:29:42 2009 +0100

    layout::Edit::GetSelection: only a noop if no XTextComponent.  Fixes n#552450.
    
       * Modified     patches/dev300/apply
       * Added        patches/dev300/layout-post-cws-layoutdialogs2-edit-noop-reversal.diff

diff --git a/patches/dev300/apply b/patches/dev300/apply
index 428ddee..b002a2e 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -2434,6 +2434,7 @@ wmf-pattern-brush.diff, n#232232, rodo
 # FIXME: these bits are part of layoutdialogs2 -- some things got
 # removed upstream, apparently.
 layout-post-cws-layoutdialogs2-mysteriously-missing.diff
+layout-post-cws-layoutdialogs2-edit-noop-reversal.diff, n#552450
 
 layout-localize-fix-sc.diff
 
diff --git a/patches/dev300/layout-post-cws-layoutdialogs2-edit-noop-reversal.diff b/patches/dev300/layout-post-cws-layoutdialogs2-edit-noop-reversal.diff
new file mode 100644
index 0000000..e72230a
--- /dev/null
+++ b/patches/dev300/layout-post-cws-layoutdialogs2-edit-noop-reversal.diff
@@ -0,0 +1,39 @@
+From f4308163447d26e6f9507844f21b06b7391d521f Mon Sep 17 00:00:00 2001
+From: Jan Nieuwenhuizen <janneke at gnu.org>
+Date: Fri, 6 Nov 2009 10:21:06 +0100
+Subject: [PATCH] layout::Edit::GetSelection: only a noop if no XTextComponent.  Fixes n#552450.
+
+   * Modified     toolkit/source/layout/vcl/wfield.cxx
+
+Also fix SetSelection, both reversing the functionality.  This is
+probably a post-layoutdialogs02-cws or layoutdialogs2-integration
+fixup.
+---
+ toolkit/source/layout/vcl/wfield.cxx |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git toolkit/source/layout/vcl/wfield.cxx toolkit/source/layout/vcl/wfield.cxx
+index 5187bad..442454c 100644
+--- toolkit/source/layout/vcl/wfield.cxx
++++ toolkit/source/layout/vcl/wfield.cxx
+@@ -109,7 +109,7 @@ Edit::~Edit ()
+ void Edit::SetSelection( Selection const& rSelection )
+ {
+ #if LAYOUT_API_CALLS_HANDLER
+-    if ( !getImpl().mxEdit.is() )
++    if ( getImpl().mxEdit.is() )
+         getImpl().mxEdit->setSelection( awt::Selection( rSelection.Min(), rSelection.Max() ) );
+ #else /* !LAYOUT_API_CALLS_HANDLER */
+     GetEdit ()->SetSelection (rSelection);
+@@ -129,7 +129,7 @@ void Edit::SetText( OUString const& rStr )
+ 
+ String Edit::GetText() const
+ {
+-    if ( !getImpl().mxEdit.is() )
++    if ( getImpl().mxEdit.is() )
+         return getImpl().mxEdit->getText();
+     return OUString();
+ }
+-- 
+1.6.3.3
+


More information about the ooo-build-commit mailing list