Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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@web.de>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.