[Libreoffice-commits] .: 2 commits - binfilter/bf_forms binfilter/inc

Caolán McNamara caolan at kemper.freedesktop.org
Thu Nov 18 07:15:36 PST 2010


 binfilter/bf_forms/source/component/DatabaseForm.hxx |    2 +-
 binfilter/bf_forms/source/component/ListBox.hxx      |    2 +-
 binfilter/inc/bf_sw/viewopt.hxx                      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 911e6dae2306ccde7b37a1014356f5964b4418a9
Author: Kevin Hunter <hunteke at earlham.edu>
Date:   Wed Nov 17 16:53:44 2010 -0500

    EasyHack: RTL_CONST from createFromAscii

diff --git a/binfilter/bf_forms/source/component/DatabaseForm.hxx b/binfilter/bf_forms/source/component/DatabaseForm.hxx
index 7b554f1..8861d68 100644
--- a/binfilter/bf_forms/source/component/DatabaseForm.hxx
+++ b/binfilter/bf_forms/source/component/DatabaseForm.hxx
@@ -82,7 +82,7 @@ namespace frm
 const sal_uInt16 SUCCESSFUL_REPRESENT_TEXT			= 0x0001;
 const sal_uInt16 SUCCESSFUL_REPRESENT_FILE			= 0x0002;
 
-const ::rtl::OUString ALL_COMPONENTS_GROUP_NAME = ::rtl::OUString::createFromAscii("AllComponentGroup");
+const ::rtl::OUString ALL_COMPONENTS_GROUP_NAME( RTL_CONSTASCII_USTRINGPARAM( "AllComponentGroup" ));
 
 //------------------------------------------------------------------------------
 class HtmlSuccessfulObj
diff --git a/binfilter/bf_forms/source/component/ListBox.hxx b/binfilter/bf_forms/source/component/ListBox.hxx
index f7fc9e5..534cb1f 100644
--- a/binfilter/bf_forms/source/component/ListBox.hxx
+++ b/binfilter/bf_forms/source/component/ListBox.hxx
@@ -49,7 +49,7 @@ namespace binfilter {
 namespace frm
 {
 
-const ::rtl::OUString LISTBOX_EMPTY_VALUE = ::rtl::OUString::createFromAscii("$$$empty$$$");
+const ::rtl::OUString LISTBOX_EMPTY_VALUE( RTL_CONSTASCII_USTRINGPARAM( "$$$empty$$$" ));
 
 //==================================================================
 //= OListBoxModel
commit eb33dae3d2088e71f428d163268787090871318a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 18 14:43:45 2010 +0000

    drop trivial warning

diff --git a/binfilter/inc/bf_sw/viewopt.hxx b/binfilter/inc/bf_sw/viewopt.hxx
index 7c58972..db563d9 100644
--- a/binfilter/inc/bf_sw/viewopt.hxx
+++ b/binfilter/inc/bf_sw/viewopt.hxx
@@ -467,7 +467,7 @@ public:
     void SetPrtFormat( BOOL b)
         { b ? (nUIOptions |= VIEWOPT_2_PRTFORMAT) : (nUIOptions &= ~VIEWOPT_2_PRTFORMAT); }
 
-    void   			SetZoomType		(BYTE nZoom){ eZoom = nZoom;	}
+    void   			SetZoomType		(BYTE eZoom_){ eZoom = eZoom_;	}
     void   			SetTblDest( BYTE nNew )  	{ nTblDest = nNew;  }
 
     const String&	GetSymbolFont() const {return sSymbolFont;}


More information about the Libreoffice-commits mailing list