summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-10 01:08:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-11 09:03:54 +0100
commit194328afa50ee769b18829fdc78b46f1c76e696f (patch)
treed2df365a2b3031c29bc0828d25552c3c6e3c9a72 /lotuswordpro
parent0de8f96511af84f9ba643f030aa6e3ac061c0f02 (diff)
callcatcher: remove unused ColorToOUString
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfutil.cxx27
-rw-r--r--lotuswordpro/source/filter/xfilter/xfutil.hxx2
2 files changed, 0 insertions, 29 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfutil.cxx b/lotuswordpro/source/filter/xfilter/xfutil.cxx
index 62b61ca84391..6978bd557bfa 100644
--- a/lotuswordpro/source/filter/xfilter/xfutil.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfutil.cxx
@@ -114,33 +114,6 @@ rtl::OUString OEMToOUString(const std::string& /*str*/)
return rtl::OUString();
}
-rtl::OUString ColorToOUString( sal_uInt32 color)
-{
- unsigned int c = color&0x00ffffff;
- unsigned char r;
- unsigned char g;
- unsigned char b;
- char buf[8];
-
- unsigned int temp = c;
- r = temp&0x000000ff;
-
- temp = c;
- g = (temp&0x0000ff00)>>8;
-
- temp = c;
- b = (temp&0x00ff0000)>>16;
-
- rtl_zeroMemory(buf,8);
- sprintf(buf,"#%2x%2x%2x",r,g,b);
- for( int i=0; i<6; i++ )
- {
- if( buf[i] == ' ' )
- buf[i] = '0';
- }
- return rtl::OUString::createFromAscii(buf);
-}
-
rtl::OUString DateTimeToOUString(XFDateTime& dt)
{
rtl::OUStringBuffer buf;
diff --git a/lotuswordpro/source/filter/xfilter/xfutil.hxx b/lotuswordpro/source/filter/xfilter/xfutil.hxx
index 3515871b18f9..5032632e46e2 100644
--- a/lotuswordpro/source/filter/xfilter/xfutil.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfutil.hxx
@@ -79,8 +79,6 @@ rtl::OUString DoubleToOUString(double num, sal_Int32 precision=6);
rtl::OUString OEMToOUString(const std::string& str);
-rtl::OUString ColorToOUString( sal_uInt32 color);
-
rtl::OUString DateTimeToOUString(XFDateTime& dt);
rtl::OUString GetTableColName(sal_Int32 col);