diff options
author | Gergő Mocsi <gmocsi91@gmail.com> | 2013-03-05 12:57:54 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-15 01:03:35 +0000 |
commit | 59bc10eb4609c5729f46308becc5a3de893ac77e (patch) | |
tree | a6363e24a5b342a2c733a1152474fc0ca90de21d /dbaccess/source/ui/browser/brwview.cxx | |
parent | forgot the file (diff) | |
download | core-59bc10eb4609c5729f46308becc5a3de893ac77e.tar.gz core-59bc10eb4609c5729f46308becc5a3de893ac77e.zip |
fdo#38838, String to OUString, in dbaccess/source/ui/browser
Applied fdo#38838 in dbaccess/source/ui/browser, +
RTL_CONSTASCII_USTRINGPARAM removals
Change-Id: I8a565cdae7fd9da1de05525c602ce011542ab4d5
Reviewed-on: https://gerrit.libreoffice.org/2538
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'dbaccess/source/ui/browser/brwview.cxx')
-rw-r--r-- | dbaccess/source/ui/browser/brwview.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/browser/brwview.cxx b/dbaccess/source/ui/browser/brwview.cxx index c29ea1d53246..acdaecbdad03 100644 --- a/dbaccess/source/ui/browser/brwview.cxx +++ b/dbaccess/source/ui/browser/brwview.cxx @@ -175,9 +175,9 @@ void UnoDataBrowserView::setTreeView(DBTreeView* _pTreeView) } } // ------------------------------------------------------------------------- -void UnoDataBrowserView::showStatus( const String& _rStatus ) +void UnoDataBrowserView::showStatus( const OUString& _rStatus ) { - if (0 == _rStatus.Len()) + if (_rStatus.isEmpty()) hideStatus(); else { @@ -341,7 +341,7 @@ long UnoDataBrowserView::PreNotify( NotifyEvent& rNEvt ) DBG_NAME(BrowserViewStatusDisplay) // ----------------------------------------------------------------------------- -BrowserViewStatusDisplay::BrowserViewStatusDisplay( UnoDataBrowserView* _pView, const String& _rStatus ) +BrowserViewStatusDisplay::BrowserViewStatusDisplay( UnoDataBrowserView* _pView, const OUString& _rStatus ) :m_pView(_pView) { DBG_CTOR(BrowserViewStatusDisplay,NULL); @@ -354,7 +354,7 @@ BrowserViewStatusDisplay::BrowserViewStatusDisplay( UnoDataBrowserView* _pView, BrowserViewStatusDisplay::~BrowserViewStatusDisplay( ) { if (m_pView) - m_pView->showStatus(String()); + m_pView->showStatus(OUString()); DBG_DTOR(BrowserViewStatusDisplay,NULL); } |