~ubuntu-branches/ubuntu/feisty/gnumeric/feisty-security

« back to all changes in this revision

Viewing changes to src/cmd-edit.c

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2006-11-14 14:02:03 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20061114140203-iv3j2aii3vch6isl
Tags: 1.7.2-1ubuntu1
* Merge with debian experimental:
  - debian/control, debian/*-gtk-*, debian/rules,
    debian/shlibs.local: Xubuntu changes for
    gtk/gnome multibuild.
  - run intltool-update in po*
  - Build Depend on intltool

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * USA
21
21
 */
22
22
#include <gnumeric-config.h>
23
 
#include <glib/gi18n.h>
 
23
#include <glib/gi18n-lib.h>
24
24
#include "gnumeric.h"
25
25
#include "cmd-edit.h"
26
26
 
287
287
 * When pasting a copy the destination can be a singleton, or an integer
288
288
 * multiple of the size of the source.  This is not tested here.
289
289
 * Full undo support.
290
 
 */
 
290
 **/
291
291
void
292
292
cmd_paste (WorkbookControl *wbc, GnmPasteTarget const *pt)
293
293
{
329
329
                        return;
330
330
                }
331
331
 
332
 
                rinfo.reloc_type = GNM_EXPR_RELOCATE_STD;
 
332
                rinfo.reloc_type = GNM_EXPR_RELOCATE_MOVE_RANGE;
333
333
                rinfo.origin = *src_range;
334
334
                rinfo.col_offset = dst.start.col - rinfo.origin.start.col;
335
335
                rinfo.row_offset = dst.start.row - rinfo.origin.start.row;
394
394
        GnmExprRelocateInfo rinfo;
395
395
        char *desc;
396
396
 
397
 
        rinfo.reloc_type = GNM_EXPR_RELOCATE_STD;
 
397
        rinfo.reloc_type = GNM_EXPR_RELOCATE_MOVE_RANGE;
398
398
        rinfo.col_offset = count;
399
399
        rinfo.row_offset = 0;
400
400
        rinfo.origin_sheet = rinfo.target_sheet = sheet;
433
433
        GnmExprRelocateInfo rinfo;
434
434
        char *desc;
435
435
 
436
 
        rinfo.reloc_type = GNM_EXPR_RELOCATE_STD;
 
436
        rinfo.reloc_type = GNM_EXPR_RELOCATE_MOVE_RANGE;
437
437
        rinfo.col_offset = 0;
438
438
        rinfo.row_offset = count;
439
439
        rinfo.origin_sheet = rinfo.target_sheet = sheet;