[Libreoffice-commits] core.git: vcl/generic

Tor Lillqvist tml at iki.fi
Thu May 16 07:31:19 PDT 2013


 vcl/generic/fontmanager/fontmanager.cxx |   22 ----------------------
 1 file changed, 22 deletions(-)

New commits:
commit 7689697566016c43a9f633c7383232d152476c0e
Author: Tor Lillqvist <tml at iki.fi>
Date:   Thu May 16 17:30:26 2013 +0300

    WaE: unused functions
    
    Change-Id: I45ae680a89848f32e045a0d3252fe6624decbde7

diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx
index 14f5759..d3adb50 100644
--- a/vcl/generic/fontmanager/fontmanager.cxx
+++ b/vcl/generic/fontmanager/fontmanager.cxx
@@ -2798,26 +2798,4 @@ std::list< sal_Unicode >  PrintFontManager::getUnicodeFromAdobeName( const OStri
     return aRet;
 }
 
-// -------------------------------------------------------------------------
-namespace
-{
-    OUString getString( const Any& rAny )
-    {
-        OUString aStr;
-        rAny >>= aStr;
-        return aStr;
-    }
-    bool getBool( const Any& rAny )
-    {
-        sal_Bool bBool = sal_False;
-        rAny >>= bBool;
-        return static_cast<bool>(bBool);
-    }
-    sal_Int32 getInt( const Any& rAny )
-    {
-        sal_Int32 n = 0;
-        rAny >>= n;
-        return n;
-    }
-}
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list