summaryrefslogtreecommitdiff
path: root/sc/source/ui/cctrl/dpcontrol.cxx
diff options
context:
space:
mode:
authorJoost Eekhoorn <joost.eekhoorn@gmail.com>2010-10-31 20:26:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-10-31 20:26:50 +0000
commit503a73b8f74f88c65636487e2ebc89cc18d918f6 (patch)
tree11a3e9ad437108f270e09cfd6a71c952ca154985 /sc/source/ui/cctrl/dpcontrol.cxx
parente7391fd13e5c7e131c25858c01251ec429c4c121 (diff)
use RTL_CONSTASCII_USTRING_PARAM
Diffstat (limited to 'sc/source/ui/cctrl/dpcontrol.cxx')
-rw-r--r--sc/source/ui/cctrl/dpcontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/cctrl/dpcontrol.cxx b/sc/source/ui/cctrl/dpcontrol.cxx
index c49b54ee9835..78c1871c1e1e 100644
--- a/sc/source/ui/cctrl/dpcontrol.cxx
+++ b/sc/source/ui/cctrl/dpcontrol.cxx
@@ -311,7 +311,7 @@ ScMenuFloatingWindow::ScMenuFloatingWindow(Window* pParent, ScDocument* pDoc, US
PopupMenuFloatingWindow(pParent),
maOpenTimer(this),
maCloseTimer(this),
- maName(OUString::createFromAscii("ScMenuFloatingWindow")),
+ maName(RTL_CONSTASCII_USTRINGPARAM("ScMenuFloatingWindow")),
mnSelectedMenu(MENU_NOT_SELECTED),
mnClickedMenu(MENU_NOT_SELECTED),
mpDoc(pDoc),
@@ -327,7 +327,7 @@ ScMenuFloatingWindow::ScMenuFloatingWindow(Window* pParent, ScDocument* pDoc, US
maLabelFont.SetHeight(nPopupFontHeight);
SetFont(maLabelFont);
- SetText(OUString::createFromAscii("ScMenuFloatingWindow"));
+ SetText( OUString(RTL_CONSTASCII_USTRINGPARAM("ScMenuFloatingWindow")) );
SetPopupModeEndHdl( LINK(this, ScMenuFloatingWindow, PopupEndHdl) );
}