msg.cxx (d119d52d) | msg.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 --- 51 unchanged lines hidden (view full) --- 60{ 61 rtl::OString sRet(".uno:"); 62 sRet += pUnoName; 63 return sRet; 64} 65 66::rtl::OUString SfxSlot::GetCommandString() const 67{ | 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 --- 51 unchanged lines hidden (view full) --- 60{ 61 rtl::OString sRet(".uno:"); 62 sRet += pUnoName; 63 return sRet; 64} 65 66::rtl::OUString SfxSlot::GetCommandString() const 67{ |
68 rtl::OString aCmd(GetCommand()); 69 return rtl::OUString( aCmd, aCmd.getLength(), RTL_TEXTENCODING_UTF8 ); | 68 return rtl::OStringToOUString( GetCommand(), RTL_TEXTENCODING_UTF8); |
70} 71 | 69} 70 |