itemsettools.cxx (f6e50924) | itemsettools.cxx (e6f63103) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 13 unchanged lines hidden (view full) --- 22 23 24// MARKER(update_precomp.py): autogen include statement, do not remove 25#include "precompiled_svx.hxx" 26#include <svx/sdr/properties/itemsettools.hxx> 27#include <tools/debug.hxx> 28#include <svl/itemset.hxx> 29#include <svl/whiter.hxx> | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 13 unchanged lines hidden (view full) --- 22 23 24// MARKER(update_precomp.py): autogen include statement, do not remove 25#include "precompiled_svx.hxx" 26#include <svx/sdr/properties/itemsettools.hxx> 27#include <tools/debug.hxx> 28#include <svl/itemset.hxx> 29#include <svl/whiter.hxx> |
30 31#include <vector> | |
32#include <svx/svdogrp.hxx> 33#include <svx/svditer.hxx> | 30#include <svx/svdogrp.hxx> 31#include <svx/svditer.hxx> |
32#include <vcl/region.hxx> |
|
34 35////////////////////////////////////////////////////////////////////////////// 36// class to remember broadcast start positions 37 38namespace sdr 39{ 40 namespace properties 41 { | 33 34////////////////////////////////////////////////////////////////////////////// 35// class to remember broadcast start positions 36 37namespace sdr 38{ 39 namespace properties 40 { |
42 // helper vector to remember rectangles 43 typedef ::std::vector< Rectangle > RectangleVector; 44 | |
45 ItemChangeBroadcaster::ItemChangeBroadcaster(const SdrObject& rObj) 46 { 47 if(rObj.ISA(SdrObjGroup)) 48 { 49 SdrObjListIter aIter((const SdrObjGroup&)rObj, IM_DEEPNOGROUPS); 50 mpData = new RectangleVector; 51 DBG_ASSERT(mpData, "ItemChangeBroadcaster: No memory (!)"); 52 ((RectangleVector*)mpData)->reserve(aIter.Count()); --- 90 unchanged lines hidden --- | 41 ItemChangeBroadcaster::ItemChangeBroadcaster(const SdrObject& rObj) 42 { 43 if(rObj.ISA(SdrObjGroup)) 44 { 45 SdrObjListIter aIter((const SdrObjGroup&)rObj, IM_DEEPNOGROUPS); 46 mpData = new RectangleVector; 47 DBG_ASSERT(mpData, "ItemChangeBroadcaster: No memory (!)"); 48 ((RectangleVector*)mpData)->reserve(aIter.Count()); --- 90 unchanged lines hidden --- |