summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-18 13:27:43 +0200
committerNoel Grandin <noel@peralex.com>2013-09-19 10:14:21 +0200
commit387c414a57e0d96c56cd008b631b2708baace12a (patch)
treef10be7733acac5d406ea66e04e3423d921f63ba5 /sd
parent3880c0a1a656a7e052618563c7dae02710ceb879 (diff)
convert sd/../TitledControl.hxx from String to OUString
Change-Id: Ib83d2cfc931c39374358ae0148eae4e5b02a00ae
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/taskpane/TitledControl.hxx6
-rw-r--r--sd/source/ui/toolpanel/TitledControl.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/inc/taskpane/TitledControl.hxx b/sd/source/ui/inc/taskpane/TitledControl.hxx
index 6b0317106f66..4cd6896a2b53 100644
--- a/sd/source/ui/inc/taskpane/TitledControl.hxx
+++ b/sd/source/ui/inc/taskpane/TitledControl.hxx
@@ -65,7 +65,7 @@ public:
TitledControl (
TreeNode* pParent,
::std::auto_ptr<TreeNode> pControl,
- const String& rTitle,
+ const OUString& rTitle,
const ClickHandler& rClickHandler,
TitleBar::TitleBarType eType);
@@ -92,7 +92,7 @@ public:
TreeNode* GetControl (void);
const TreeNode* GetConstControl () const;
- const String& GetTitle (void) const;
+ const OUString& GetTitle (void) const;
/** Expand the control without informing its container. This
method ususally is called by the container as a result of a
@@ -127,7 +127,7 @@ public:
using Window::Show;
private:
- String msTitle;
+ OUString msTitle;
bool mbVisible;
void* mpUserData;
::std::auto_ptr<ClickHandler> mpClickHandler;
diff --git a/sd/source/ui/toolpanel/TitledControl.cxx b/sd/source/ui/toolpanel/TitledControl.cxx
index f53037137f3e..7e6fafd658cc 100644
--- a/sd/source/ui/toolpanel/TitledControl.cxx
+++ b/sd/source/ui/toolpanel/TitledControl.cxx
@@ -34,7 +34,7 @@ namespace sd { namespace toolpanel {
TitledControl::TitledControl (
TreeNode* pParent,
::std::auto_ptr<TreeNode> pControl,
- const String& rTitle,
+ const OUString& rTitle,
const ClickHandler& rClickHandler,
TitleBar::TitleBarType eType)
: ::Window (pParent->GetWindow(), WB_TABSTOP),
@@ -219,7 +219,7 @@ void TitledControl::KeyInput (const KeyEvent& rEvent)
-const String& TitledControl::GetTitle (void) const
+const OUString& TitledControl::GetTitle (void) const
{
return msTitle;
}