[Libreoffice-commits] .: cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Oct 12 05:12:46 PDT 2012


 cui/source/options/optlingu.cxx |   13 -------------
 1 file changed, 13 deletions(-)

New commits:
commit 2d4d38bcf2791e9e0805f5a61e2f7d48f4c7a2a6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Oct 12 13:12:22 2012 +0100

    lcl_Bool2Any is unused
    
    Change-Id: Ida5baa01cb3ce7fd611360e122f9f8ffebd9e7d8

diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index dab862d..07c5ddc 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1195,19 +1195,6 @@ SfxTabPage* SvxLinguTabPage::Create( Window* pParent,
 
 //------------------------------------------------------------------------
 
-static Any lcl_Bool2Any(sal_Bool bVal)
-{
-    Any aRet(&bVal, ::getBooleanCppuType());
-    return aRet;
-}
-
-
-static sal_Bool lcl_Bool2Any(Any& rVal)
-{
-    return *(sal_Bool*)rVal.getValue();
-}
-
-
 sal_Bool SvxLinguTabPage::FillItemSet( SfxItemSet& rCoreSet )
 {
     sal_Bool bModified = sal_True; // !!!!


More information about the Libreoffice-commits mailing list