summaryrefslogtreecommitdiff
path: root/eventattacher/source/eventattacher.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'eventattacher/source/eventattacher.cxx')
-rw-r--r--eventattacher/source/eventattacher.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx
index 4830336fa3ea..6dc6b508816d 100644
--- a/eventattacher/source/eventattacher.cxx
+++ b/eventattacher/source/eventattacher.cxx
@@ -626,7 +626,7 @@ Reference<XEventListener> EventAttacherImpl::attachListenerForTarget(
nIndex++;
OUString aListenerName = (aListenerType[nIndex] == 'X') ? aListenerType.copy(nIndex+1) : aListenerType;
- OUString aAddListenerName = OUString("add") + aListenerName;
+ OUString aAddListenerName = "add" + aListenerName;
// Send Methods to the correct addListener-Method
Sequence< Reference< XIdlMethod > > aMethodSeq = xAccess->getMethods( MethodConcept::LISTENER );
@@ -818,7 +818,7 @@ void EventAttacherImpl::removeListener
if( aListenerName[nIndex] == 'X' )
// erase X from the interface name
aListenerName = aListenerName.copy( nIndex +1 );
- aRemoveListenerName = OUString( "remove" ) + aListenerName;
+ aRemoveListenerName = "remove" + aListenerName;
// Search methods for the correct removeListener method
Sequence< Reference< XIdlMethod > > aMethodSeq = xAccess->getMethods( MethodConcept::LISTENER );
n'>Noel Grandin 2014-04-24add missing modelines to cxx and hxx filesThomas Arnhold 2014-02-04sidebar: more cleanup of text panelMaxim Monastirsky 2013-10-28fixincludeguards.sh: svxThomas Arnhold oplugin:unusedfields in store,svtools,svxNoel Grandin 2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann 2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann 2015-10-16convert Link<> to typedNoel Grandin 2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann 2015-10-12convert Link<> to typedNoel Grandin 2015-09-18boost->stdCaolán McNamara 2015-09-17revert for mac and win unit case crashes after boost->stdCaolán McNamara 2015-09-17unused headersCaolán McNamara 2015-08-13tdf#78111 Sane preferred width for the color mode comboboxMaxim Monastirsky 2015-07-26remove unused propertyMarkus Mohrhard 2015-07-24-Werror,-Wunused-private-fieldStephan Bergmann 2015-07-16loplugin:unusedmethods svx(part2)Noel Grandin 2015-05-10Use IMPL_[STATIC_]LINK_NOARG where applicableStephan Bergmann 2015-04-30Get rid of initial :: for the svx namespaceTor Lillqvist 2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks 2015-04-23loplugin:staticmethodsNoel Grandin 2015-04-21Remove erroneous SAL_NO_ACQUIRE pieces introduced in error.Michael Meeks 2015-04-17svx: convert new to ::Create.Noel Grandin 2015-04-15Unregister sidebar ControllerItems at the right time.Michael Meeks 2015-04-15remove unnecessary use of void in function declarationsNoel Grandin 2015-04-13Re-work sidebar factory to use VclPtr.Michael Meeks 2015-04-10vclwidget: only call dispose() onceNoel Grandin 2015-04-10vclwidget: change all vcl::window fields to be wrapped in VclPtrNoel Grandin 2015-04-09vcl: VclPtr conversion in svx.Noel Grandin 2014-10-11convert SFX_CALLMODE constants to SfxCallMode enum classNoel Grandin