aboutsummaryrefslogtreecommitdiff
path: root/dw/tablecell.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-08-20 23:24:19 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-08-20 23:24:19 +0200
commitf5c598b518d1f906148534d015f50075d3e8242d (patch)
tree21dd70add5b366c3dd80641b77f6b18e0baa009e /dw/tablecell.cc
parente98d02a01ffeb18ede86af025e51ae1ec011c75a (diff)
parent5f0fc0e48b8cbee7e1795935da0abff6627fd498 (diff)
merge
Diffstat (limited to 'dw/tablecell.cc')
-rw-r--r--dw/tablecell.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/dw/tablecell.cc b/dw/tablecell.cc
index b4d404f7..5b93fe86 100644
--- a/dw/tablecell.cc
+++ b/dw/tablecell.cc
@@ -14,8 +14,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -29,13 +28,14 @@ int TableCell::CLASS_ID = -1;
TableCell::TableCell (TableCell *ref, bool limitTextWidth):
AlignedTextblock (limitTextWidth)
-{
+{
registerName ("dw::TableCell", &CLASS_ID);
/** \bug ignoreLine1OffsetSometimes does not work? */
//ignoreLine1OffsetSometimes = true;
charWordIndex = -1;
setRefTextblock (ref);
+ setButtonSensitive(true);
}
TableCell::~TableCell()
@@ -45,7 +45,7 @@ TableCell::~TableCell()
void TableCell::wordWrap(int wordIndex)
{
Textblock::Word *word;
- char *p;
+ const char *p;
Textblock::wordWrap (wordIndex);