~ubuntu-branches/ubuntu/natty/libreoffice-l10n/natty-security

« back to all changes in this revision

Viewing changes to libreoffice-build/patches/dev300/sc-delete-rows-columns-remembers-content.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-01-19 15:13:37 UTC
  • mfrom: (0.3.1) (0.2.1) (0.1.1)
  • Revision ID: package-import@ubuntu.com-20110119151337-5pr1w2ev91hmmdye
Tags: 1:3.3.0~rc3-2ubuntu1
* Merge 3.3.0~rc3 changes.
* Merged Debian packaging up to r2330.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- sc/source/ui/view/cellsh1.cxx       2006-11-21 17:22:29.000000000 +0100
 
2
+++ sc/source/ui/view/cellsh1.cxx       2006-11-24 10:03:09.000000000 +0100
 
3
@@ -192,13 +192,21 @@ void ScCellShell::ExecuteEdit( SfxReques
 
4
                        break;
 
5
 
 
6
                case SID_DEL_ROWS:
 
7
-                       pTabViewShell->DeleteCells( DEL_DELROWS );
 
8
-                       rReq.Done();
 
9
+            {
 
10
+                WaitObject aWait( GetViewData()->GetDialogParent() );
 
11
+                pTabViewShell->CopyToClip( NULL, FALSE, TRUE, TRUE );
 
12
+                pTabViewShell->DeleteCells( DEL_DELROWS );
 
13
+                rReq.Done();
 
14
+            }
 
15
                        break;
 
16
 
 
17
                case SID_DEL_COLS:
 
18
-                       pTabViewShell->DeleteCells( DEL_DELCOLS );
 
19
-                       rReq.Done();
 
20
+            {
 
21
+                WaitObject aWait( GetViewData()->GetDialogParent() );
 
22
+                pTabViewShell->CopyToClip( NULL, FALSE, TRUE, TRUE );
 
23
+                pTabViewShell->DeleteCells( DEL_DELCOLS );
 
24
+                rReq.Done();
 
25
+            }
 
26
                        break;
 
27
 
 
28
                case FID_INS_CELL: