diff options
Diffstat (limited to 'sfx2/source/view/viewfrm.cxx')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 1fa99c46c2f6..f29363bbad24 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -2726,11 +2726,11 @@ void SfxViewFrame::AddDispatchMacroToBasic_Impl( const OUString& sMacro ) } // append new method - sRoutine.appendAscii(RTL_CONSTASCII_STRINGPARAM("\nsub ")); + sRoutine.append( "\nsub " ); sRoutine.append(sMacroName); - sRoutine.appendAscii(RTL_CONSTASCII_STRINGPARAM("\n")); + sRoutine.append( "\n" ); sRoutine.append(sMacro); - sRoutine.appendAscii(RTL_CONSTASCII_STRINGPARAM("\nend sub\n")); + sRoutine.append( "\nend sub\n" ); // create the modul inside the library and insert the macro routine aTemp <<= sRoutine.makeStringAndClear(); |