macro.cxx (d119d52d) macro.cxx (24c56ab9)
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

--- 320 unchanged lines hidden (view full) ---

329*/
330
331{
332 if ( aStatement.Len() && aStatement.GetChar( aStatement.Len() - 1 ) != '.'
333 && rSlot.pName[0] != '.' )
334 aStatement += '.';
335
336 // der Name des Slots ist der Name der Methode / des Properties
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

--- 320 unchanged lines hidden (view full) ---

329*/
330
331{
332 if ( aStatement.Len() && aStatement.GetChar( aStatement.Len() - 1 ) != '.'
333 && rSlot.pName[0] != '.' )
334 aStatement += '.';
335
336 // der Name des Slots ist der Name der Methode / des Properties
337 aStatement += String::CreateFromAscii(rSlot.pName);
337 aStatement += String( rtl::OStringToOUString( rSlot.pName, RTL_TEXTENCODING_UTF8));
338 if ( rSlot.IsMode(SFX_SLOT_METHOD) )
339 aStatement += DEFINE_CONST_UNICODE("( ");
340 else
341 aStatement += DEFINE_CONST_UNICODE(" = ");
342
343 // alle zusammengesuchten Parameter rausschreiben
344 if ( aArgs.getLength() )
345 for ( sal_uInt16 nArg = 0; nArg < aArgs.getLength(); ++nArg )

--- 359 unchanged lines hidden ---
338 if ( rSlot.IsMode(SFX_SLOT_METHOD) )
339 aStatement += DEFINE_CONST_UNICODE("( ");
340 else
341 aStatement += DEFINE_CONST_UNICODE(" = ");
342
343 // alle zusammengesuchten Parameter rausschreiben
344 if ( aArgs.getLength() )
345 for ( sal_uInt16 nArg = 0; nArg < aArgs.getLength(); ++nArg )

--- 359 unchanged lines hidden ---