[ooo-build-commit] patches/dev300

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Thu Dec 17 07:23:29 PST 2009


 patches/dev300/sw-paste-table.diff |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

New commits:
commit 6facbca87626ae1b8fae45e2d58efeaa0c6f1681
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date:   Thu Dec 17 16:20:46 2009 +0100

    Patch for n#564789 and i#107665
    
    * patches/dev300/sw-paste-table.diff:
        Patch updating the table format when pasting some value

diff --git a/patches/dev300/sw-paste-table.diff b/patches/dev300/sw-paste-table.diff
new file mode 100644
index 0000000..95d2a1c
--- /dev/null
+++ b/patches/dev300/sw-paste-table.diff
@@ -0,0 +1,21 @@
+diff --git sw/source/filter/basflt/shellio.cxx sw/source/filter/basflt/shellio.cxx
+index 3d547ea..15d6877 100644
+--- sw/source/filter/basflt/shellio.cxx
++++ sw/source/filter/basflt/shellio.cxx
+@@ -206,6 +206,16 @@ ULONG SwReader::Read( const Reader& rOptions )
+             else
+                 nEndCntnt = nLen - nEndCntnt;
+             pPam->GetPoint()->nContent.Assign( pCNd, nEndCntnt );
++
++            const SwStartNode* pTblBoxStart = pCNd->FindTableBoxStartNode();
++            if ( pTblBoxStart )
++            {
++                SwTableBox* pBox = pTblBoxStart->GetTblBox();
++                if ( pBox )
++                {
++                    pDoc->ChkBoxNumFmt( *pBox, TRUE );
++                }
++            }
+         }
+ 
+         if( pCrsr )


More information about the ooo-build-commit mailing list