[Libreoffice-commits] .: 2 commits - cui/source xmlsecurity/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Jul 11 01:28:14 PDT 2011


 cui/source/tabpages/border.cxx          |   15 ---------------
 xmlsecurity/source/xmlsec/saxhelper.cxx |   15 ---------------
 2 files changed, 30 deletions(-)

New commits:
commit d9a8459a5e80e648440a71a245809736b77b88e1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jul 10 00:52:41 2011 +0100

    callcatcher: remove unused TpBorderRGBColor

diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index 9e29eba..a13cb49 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -88,21 +88,6 @@ static sal_uInt16 pRanges[] =
 
 sal_Bool SvxBorderTabPage::bSync = sal_True;
 
-//------------------------------------------------------------------------
-
-#define RGBCOL(eColorName) (TpBorderRGBColor(eColorName))
-
-// LOKALE FUNKTION
-// Konvertiert in echte RGB-Farben, damit in den Listboxen
-// endlich mal richtig selektiert werden kann.
-
-Color TpBorderRGBColor( ColorData aColorData )
-{
-    Color aRGBColor( aColorData );
-
-    return( aRGBColor );
-}
-
 // -----------------------------------------------------------------------
 void lcl_SetDecimalDigitsTo1(MetricField& rField)
 {
commit 0245c6d17aa378e2d563ce0a50ee8ce14517f195
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jul 10 00:26:10 2011 +0100

    callcatcher: remove unused xmlchar_to_ous

diff --git a/xmlsecurity/source/xmlsec/saxhelper.cxx b/xmlsecurity/source/xmlsec/saxhelper.cxx
index 1af8b9e..8a8a00b 100644
--- a/xmlsecurity/source/xmlsec/saxhelper.cxx
+++ b/xmlsecurity/source/xmlsec/saxhelper.cxx
@@ -65,21 +65,6 @@ xmlChar* ous_to_nxmlstr( const rtl::OUString& oustr, int& length )
 }
 
 /**
- * The input parameter isn't necessaryly NULL terminated.
- */
-rtl::OUString xmlchar_to_ous( const xmlChar* pChar, int length ) 
-{
-    if( pChar != NULL )
-    {
-        return rtl::OUString( ( sal_Char* )pChar , length , RTL_TEXTENCODING_UTF8 ) ;
-    }
-    else
-    {
-        return rtl::OUString() ;
-    }
-}
-
-/**
  * The return value and the referenced value must be NULL terminated.
  * The application has the responsibilty to deallocte the return value.
  */


More information about the Libreoffice-commits mailing list