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

convert sc/source/ui/inc/p*.hxx from String to OUString

Change-Id: I80a181a9f3e9c3671493994d08ceb027b3a41b79
üst 9ed124ca
...@@ -335,7 +335,7 @@ const OUString& ScDPFunctionDlg::GetBaseItemName(const OUString& rLayoutName) co ...@@ -335,7 +335,7 @@ const OUString& ScDPFunctionDlg::GetBaseItemName(const OUString& rLayoutName) co
return itr == maBaseItemNameMap.end() ? rLayoutName : itr->second; return itr == maBaseItemNameMap.end() ? rLayoutName : itr->second;
} }
sal_uInt16 ScDPFunctionDlg::FindBaseItemPos( const String& rEntry, sal_uInt16 nStartPos ) const sal_uInt16 ScDPFunctionDlg::FindBaseItemPos( const OUString& rEntry, sal_uInt16 nStartPos ) const
{ {
sal_uInt16 nPos = nStartPos; sal_uInt16 nPos = nStartPos;
bool bFound = false; bool bFound = false;
...@@ -721,7 +721,7 @@ const OUString& ScDPSubtotalOptDlg::GetFieldName(const OUString& rLayoutName) co ...@@ -721,7 +721,7 @@ const OUString& ScDPSubtotalOptDlg::GetFieldName(const OUString& rLayoutName) co
} }
sal_uInt16 ScDPSubtotalOptDlg::FindListBoxEntry( sal_uInt16 ScDPSubtotalOptDlg::FindListBoxEntry(
const ListBox& rLBox, const String& rEntry, sal_uInt16 nStartPos ) const const ListBox& rLBox, const OUString& rEntry, sal_uInt16 nStartPos ) const
{ {
sal_uInt16 nPos = nStartPos; sal_uInt16 nPos = nStartPos;
bool bFound = false; bool bFound = false;
......
...@@ -137,7 +137,7 @@ public: ...@@ -137,7 +137,7 @@ public:
const ScPreviewLocationData& GetLocationData(); const ScPreviewLocationData& GetLocationData();
String GetPosString(); OUString GetPosString();
long GetPageNo() const { return nPageNo; } long GetPageNo() const { return nPageNo; }
sal_uInt16 GetZoom() const { return nZoom; } sal_uInt16 GetZoom() const { return nZoom; }
......
...@@ -71,7 +71,7 @@ protected: ...@@ -71,7 +71,7 @@ protected:
virtual void InnerResizePixel( const Point &rOfs, const Size &rSize ); virtual void InnerResizePixel( const Point &rOfs, const Size &rSize );
virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ); virtual void OuterResizePixel( const Point &rOfs, const Size &rSize );
virtual String GetDescription() const; virtual OUString GetDescription() const;
virtual void WriteUserData(OUString &, bool bBrowse = false); virtual void WriteUserData(OUString &, bool bBrowse = false);
virtual void ReadUserData(const OUString &, bool bBrowse = false); virtual void ReadUserData(const OUString &, bool bBrowse = false);
......
...@@ -75,7 +75,7 @@ private: ...@@ -75,7 +75,7 @@ private:
const OUString& GetBaseItemName(const OUString& rLayoutName) const; const OUString& GetBaseItemName(const OUString& rLayoutName) const;
/** Searches for a listbox entry, starts search at specified position. */ /** Searches for a listbox entry, starts search at specified position. */
sal_uInt16 FindBaseItemPos( const String& rEntry, sal_uInt16 nStartPos ) const; sal_uInt16 FindBaseItemPos( const OUString& rEntry, sal_uInt16 nStartPos ) const;
DECL_LINK( SelectHdl, ListBox* ); DECL_LINK( SelectHdl, ListBox* );
DECL_LINK( DblClickHdl, void* ); DECL_LINK( DblClickHdl, void* );
...@@ -165,7 +165,7 @@ private: ...@@ -165,7 +165,7 @@ private:
const OUString& GetFieldName(const OUString& rLayoutName) const; const OUString& GetFieldName(const OUString& rLayoutName) const;
/** Searches for a listbox entry, starts search at specified position. */ /** Searches for a listbox entry, starts search at specified position. */
sal_uInt16 FindListBoxEntry( const ListBox& rLBox, const String& rEntry, sal_uInt16 nStartPos ) const; sal_uInt16 FindListBoxEntry( const ListBox& rLBox, const OUString& rEntry, sal_uInt16 nStartPos ) const;
DECL_LINK( RadioClickHdl, RadioButton* ); DECL_LINK( RadioClickHdl, RadioButton* );
DECL_LINK( CheckHdl, CheckBox* ); DECL_LINK( CheckHdl, CheckBox* );
......
...@@ -652,7 +652,7 @@ void ScPreview::DataChanged(bool bNewTime) ...@@ -652,7 +652,7 @@ void ScPreview::DataChanged(bool bNewTime)
} }
String ScPreview::GetPosString() OUString ScPreview::GetPosString()
{ {
if (!bValid) if (!bValid)
{ {
......
...@@ -206,7 +206,7 @@ void ScPreviewShell::InitStartTable(SCTAB nTab) ...@@ -206,7 +206,7 @@ void ScPreviewShell::InitStartTable(SCTAB nTab)
//------------------------------------------------------------------ //------------------------------------------------------------------
String ScPreviewShell::GetDescription() const OUString ScPreviewShell::GetDescription() const
{ {
return OUString(" ** Test ** "); return OUString(" ** Test ** ");
} }
......
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