[Libreoffice-commits] .: sc/inc

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Oct 12 22:04:26 PDT 2010


 sc/inc/docoptio.hxx |   26 --------------------------
 1 file changed, 26 deletions(-)

New commits:
commit 712583d4c2c4d564e50151d59e2fbac3585c00f4
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Wed Oct 13 01:04:13 2010 -0400

    ScDocOptions::CopyTo() no longer used.  Nuked.

diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx
index 3609eb4..4d6f79d 100644
--- a/sc/inc/docoptio.hxx
+++ b/sc/inc/docoptio.hxx
@@ -88,7 +88,6 @@ public:
     void   SetTabDistance( USHORT nTabDist ) {nTabDistance = nTabDist;}
 
     void		ResetDocOptions();
-    inline void		CopyTo(ScDocOptions& rOpt);
 
     inline const ScDocOptions&	operator=( const ScDocOptions& rOpt );
     inline int					operator==( const ScDocOptions& rOpt ) const;
@@ -125,31 +124,6 @@ public:
     static const LocaleDataWrapper& GetLocaleDataWrapper();
 };
 
-
-inline void ScDocOptions::CopyTo(ScDocOptions& rOpt)
-{
-    rOpt.bIsIgnoreCase			= bIsIgnoreCase;
-    rOpt.bIsIter 				= bIsIter;
-    rOpt.nIterCount 			= nIterCount;
-    rOpt.fIterEps 				= fIterEps;
-    rOpt.nPrecStandardFormat 	= nPrecStandardFormat;
-    rOpt.nDay 					= nDay;
-    rOpt.nMonth 				= nMonth;
-    rOpt.nYear2000				= nYear2000;
-    rOpt.nYear 					= nYear;
-    rOpt.nTabDistance			= nTabDistance;
-    rOpt.bCalcAsShown			= bCalcAsShown;
-    rOpt.bMatchWholeCell		= bMatchWholeCell;
-    rOpt.bDoAutoSpell			= bDoAutoSpell;
-    rOpt.bLookUpColRowNames		= bLookUpColRowNames;
-    rOpt.bFormulaRegexEnabled   = bFormulaRegexEnabled;
-    rOpt.bUseEnglishFuncName    = bUseEnglishFuncName;
-    rOpt.eFormulaGrammar        = eFormulaGrammar;
-    rOpt.aFormulaSepArg         = aFormulaSepArg;
-    rOpt.aFormulaSepArrayRow    = aFormulaSepArrayRow;
-    rOpt.aFormulaSepArrayCol    = aFormulaSepArrayCol;
-}
-
 inline const ScDocOptions& ScDocOptions::operator=( const ScDocOptions& rCpy )
 {
     bIsIgnoreCase		= rCpy.bIsIgnoreCase;


More information about the Libreoffice-commits mailing list