Kaydet (Commit) 387c414a authored tarafından Noel Grandin's avatar Noel Grandin

convert sd/../TitledControl.hxx from String to OUString

Change-Id: Ib83d2cfc931c39374358ae0148eae4e5b02a00ae
üst 3880c0a1
...@@ -65,7 +65,7 @@ public: ...@@ -65,7 +65,7 @@ public:
TitledControl ( TitledControl (
TreeNode* pParent, TreeNode* pParent,
::std::auto_ptr<TreeNode> pControl, ::std::auto_ptr<TreeNode> pControl,
const String& rTitle, const OUString& rTitle,
const ClickHandler& rClickHandler, const ClickHandler& rClickHandler,
TitleBar::TitleBarType eType); TitleBar::TitleBarType eType);
...@@ -92,7 +92,7 @@ public: ...@@ -92,7 +92,7 @@ public:
TreeNode* GetControl (void); TreeNode* GetControl (void);
const TreeNode* GetConstControl () const; const TreeNode* GetConstControl () const;
const String& GetTitle (void) const; const OUString& GetTitle (void) const;
/** Expand the control without informing its container. This /** Expand the control without informing its container. This
method ususally is called by the container as a result of a method ususally is called by the container as a result of a
...@@ -127,7 +127,7 @@ public: ...@@ -127,7 +127,7 @@ public:
using Window::Show; using Window::Show;
private: private:
String msTitle; OUString msTitle;
bool mbVisible; bool mbVisible;
void* mpUserData; void* mpUserData;
::std::auto_ptr<ClickHandler> mpClickHandler; ::std::auto_ptr<ClickHandler> mpClickHandler;
......
...@@ -34,7 +34,7 @@ namespace sd { namespace toolpanel { ...@@ -34,7 +34,7 @@ namespace sd { namespace toolpanel {
TitledControl::TitledControl ( TitledControl::TitledControl (
TreeNode* pParent, TreeNode* pParent,
::std::auto_ptr<TreeNode> pControl, ::std::auto_ptr<TreeNode> pControl,
const String& rTitle, const OUString& rTitle,
const ClickHandler& rClickHandler, const ClickHandler& rClickHandler,
TitleBar::TitleBarType eType) TitleBar::TitleBarType eType)
: ::Window (pParent->GetWindow(), WB_TABSTOP), : ::Window (pParent->GetWindow(), WB_TABSTOP),
...@@ -219,7 +219,7 @@ void TitledControl::KeyInput (const KeyEvent& rEvent) ...@@ -219,7 +219,7 @@ void TitledControl::KeyInput (const KeyEvent& rEvent)
const String& TitledControl::GetTitle (void) const const OUString& TitledControl::GetTitle (void) const
{ {
return msTitle; return msTitle;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment