[PATCH] Replace XubString with OUString in morebtn.{c,h}xx

Christina Roßmanith (via_Code_Review) gerrit at gerrit.libreoffice.org
Wed Mar 6 13:05:32 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2573

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/73/2573/1

Replace XubString with OUString in morebtn.{c,h}xx

Change-Id: I492f93a9ef5244681a28aed16e81c7558e38a875
---
M vcl/inc/vcl/morebtn.hxx
M vcl/source/control/morebtn.cxx
2 files changed, 10 insertions(+), 10 deletions(-)



diff --git a/vcl/inc/vcl/morebtn.hxx b/vcl/inc/vcl/morebtn.hxx
index 7172265..a715f37 100644
--- a/vcl/inc/vcl/morebtn.hxx
+++ b/vcl/inc/vcl/morebtn.hxx
@@ -71,10 +71,10 @@
     void                SetText( const OUString& rNewText );
     OUString            GetText() const;
 
-    void                SetMoreText( const XubString& rNewText );
-    void                SetLessText( const XubString& rNewText );
-    XubString           GetMoreText() const;
-    XubString           GetLessText() const;
+    void                SetMoreText( const OUString& rNewText );
+    void                SetLessText( const OUString& rNewText );
+    OUString            GetMoreText() const;
+    OUString            GetLessText() const;
 };
 
 inline void MoreButton::SetState( sal_Bool bNewState )
diff --git a/vcl/source/control/morebtn.cxx b/vcl/source/control/morebtn.cxx
index 337bdc6..2d3b974 100644
--- a/vcl/source/control/morebtn.cxx
+++ b/vcl/source/control/morebtn.cxx
@@ -29,8 +29,8 @@
 struct ImplMoreButtonData
 {
     ImplMoreWindowList *mpItemList;
-    XubString           maMoreText;
-    XubString           maLessText;
+    OUString            maMoreText;
+    OUString            maLessText;
 };
 
 // =======================================================================
@@ -219,7 +219,7 @@
 }
 
 // -----------------------------------------------------------------------
-void MoreButton::SetMoreText( const XubString& rText )
+void MoreButton::SetMoreText( const OUString& rText )
 {
     if ( mpMBData )
         mpMBData->maMoreText = rText;
@@ -229,7 +229,7 @@
 }
 
 // -----------------------------------------------------------------------
-XubString MoreButton::GetMoreText() const
+OUString MoreButton::GetMoreText() const
 {
     if ( mpMBData )
         return mpMBData->maMoreText;
@@ -238,7 +238,7 @@
 }
 
 // -----------------------------------------------------------------------
-void MoreButton::SetLessText( const XubString& rText )
+void MoreButton::SetLessText( const OUString& rText )
 {
     if ( mpMBData )
         mpMBData->maLessText = rText;
@@ -248,7 +248,7 @@
 }
 
 // -----------------------------------------------------------------------
-XubString MoreButton::GetLessText() const
+OUString MoreButton::GetLessText() const
 {
     if ( mpMBData )
         return mpMBData->maLessText;

-- 
To view, visit https://gerrit.libreoffice.org/2573
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I492f93a9ef5244681a28aed16e81c7558e38a875
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Christina Roßmanith <ChrRossmanith at web.de>



More information about the LibreOffice mailing list