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

convert include/svtools/table/tablemodel.hxx from String to OUString

Change-Id: Ic28157c29ace0730bcfaf072f529028732aac79e
üst 710be6c8
...@@ -200,21 +200,21 @@ namespace svt { namespace table ...@@ -200,21 +200,21 @@ namespace svt { namespace table
@see setName @see setName
*/ */
virtual String getName() const = 0; virtual OUString getName() const = 0;
/** sets a new name for the column /** sets a new name for the column
@see getName @see getName
*/ */
virtual void setName( const String& _rName ) = 0; virtual void setName( const OUString& _rName ) = 0;
/** retrieves the help text to be displayed for the column. /** retrieves the help text to be displayed for the column.
*/ */
virtual String getHelpText() const = 0; virtual OUString getHelpText() const = 0;
/** sets a new the help text to be displayed for the column. /** sets a new the help text to be displayed for the column.
*/ */
virtual void setHelpText( const String& i_helpText ) = 0; virtual void setHelpText( const OUString& i_helpText ) = 0;
/** determines whether the column can be interactively resized /** determines whether the column can be interactively resized
......
...@@ -265,7 +265,7 @@ namespace svt { namespace table ...@@ -265,7 +265,7 @@ namespace svt { namespace table
} }
//------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------
String UnoGridColumnFacade::getName() const OUString UnoGridColumnFacade::getName() const
{ {
OUString sName; OUString sName;
ENSURE_OR_RETURN( m_xGridColumn.is(), "UnoGridColumnFacade: already disposed!", sName ); ENSURE_OR_RETURN( m_xGridColumn.is(), "UnoGridColumnFacade: already disposed!", sName );
...@@ -281,7 +281,7 @@ namespace svt { namespace table ...@@ -281,7 +281,7 @@ namespace svt { namespace table
} }
//------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------
void UnoGridColumnFacade::setName( const String& _rName ) void UnoGridColumnFacade::setName( const OUString& _rName )
{ {
ENSURE_OR_RETURN_VOID( m_xGridColumn.is(), "UnoGridColumnFacade: already disposed!" ); ENSURE_OR_RETURN_VOID( m_xGridColumn.is(), "UnoGridColumnFacade: already disposed!" );
try try
...@@ -295,7 +295,7 @@ namespace svt { namespace table ...@@ -295,7 +295,7 @@ namespace svt { namespace table
} }
//------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------
String UnoGridColumnFacade::getHelpText() const OUString UnoGridColumnFacade::getHelpText() const
{ {
OUString sHelpText; OUString sHelpText;
ENSURE_OR_RETURN( m_xGridColumn.is(), "UnoGridColumnFacade: already disposed!", sHelpText ); ENSURE_OR_RETURN( m_xGridColumn.is(), "UnoGridColumnFacade: already disposed!", sHelpText );
...@@ -311,7 +311,7 @@ namespace svt { namespace table ...@@ -311,7 +311,7 @@ namespace svt { namespace table
} }
//------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------
void UnoGridColumnFacade::setHelpText( const String& i_helpText ) void UnoGridColumnFacade::setHelpText( const OUString& i_helpText )
{ {
ENSURE_OR_RETURN_VOID( m_xGridColumn.is(), "UnoGridColumnFacade: already disposed!" ); ENSURE_OR_RETURN_VOID( m_xGridColumn.is(), "UnoGridColumnFacade: already disposed!" );
try try
......
...@@ -56,10 +56,10 @@ namespace svt { namespace table ...@@ -56,10 +56,10 @@ namespace svt { namespace table
virtual ::com::sun::star::uno::Any virtual ::com::sun::star::uno::Any
getID() const; getID() const;
virtual void setID( const ::com::sun::star::uno::Any& i_ID ); virtual void setID( const ::com::sun::star::uno::Any& i_ID );
virtual String getName() const; virtual OUString getName() const;
virtual void setName( const String& _rName ); virtual void setName( const OUString& _rName );
virtual String getHelpText() const; virtual OUString getHelpText() const;
virtual void setHelpText( const String& i_helpText ); virtual void setHelpText( const OUString& i_helpText );
virtual bool isResizable() const; virtual bool isResizable() const;
virtual void setResizable( bool _bResizable ); virtual void setResizable( bool _bResizable );
virtual sal_Int32 getFlexibility() const; virtual sal_Int32 getFlexibility() const;
......
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