summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-15 21:59:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-15 22:03:48 +0100
commitaa3eeb28bcba10d603c15ee850620bed638514f5 (patch)
tree7c3e84597ca40b733aa157a10a2b7a5352c2654f /svx
parentfacd391b7fc46b330e4cbda25c33abed5e47604e (diff)
Resolves: fdo#37279 and #i78701# startEditingAtNode does nothing
inherit class UnoTreeListItem from SvLBoxString instead of SvLBoxItem so that it really isa SvLBoxString and can be edited with startEditingAtNode a) remove the unused SvLBoxEntry argument to SvLBoxString's SetText b) used rtl::OUString instead of XubString c) rename aStr to maText d) inherit UnoTreeListItem from SvLBoxString and drop its maText in favour of that of SvLBoxEntry Change-Id: Id78f43ae5be8cd6f581e6c2fd2bd6f46de9144ba
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/ctredlin.cxx2
-rw-r--r--svx/source/dialog/fontlb.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index 620ce3949da4..01e1c4cdf174 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -100,7 +100,7 @@ SvLBoxColorString::SvLBoxColorString( SvLBoxEntry*pEntry,sal_uInt16 nFlags,const
{
DBG_CTOR(SvLBoxColorString,0);
aPrivColor=rCol;
- SetText( pEntry, rStr );
+ SetText( rStr );
}
SvLBoxColorString::SvLBoxColorString()
diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx
index 94edf0a55c56..b697a66061c8 100644
--- a/svx/source/dialog/fontlb.cxx
+++ b/svx/source/dialog/fontlb.cxx
@@ -47,7 +47,7 @@ SvLBoxFontString::SvLBoxFontString(
mbUseColor( pColor != NULL )
{
DBG_CTOR( SvLBoxFontString, 0 );
- SetText( pEntry, rString );
+ SetText( rString );
if( pColor )
maFont.SetColor( *pColor );
}