vcl/source/control/field.cxx    |    5 +++++
 vcl/source/control/longcurr.cxx |    5 +++++
 2 files changed, 10 insertions(+)

New commits:
commit 5d10ae6f51ecbd9bbe29fd8d0f2694ce12b38f17
Author: Tomaž Vajngerl <qui...@gmail.com>
Date:   Sun Dec 1 16:03:03 2013 +0100

    Put local static fucntions into anonymous namespace.
    
    Change-Id: Id838860b6d44febe72fe3e51081107d5635e19b8

diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 058b158..26d3cff 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -43,6 +43,9 @@
 using namespace ::com::sun::star;
 using namespace ::comphelper;
 
+namespace
+{
+
 #define FORMAT_NUMERIC       1
 #define FORMAT_METRIC        2
 #define FORMAT_CURRENCY      3
@@ -285,6 +288,8 @@ static void ImplUpdateSeparators( const OUString& 
rOldDecSep, const OUString& rN
     }
 }
 
+} // namespace
+
 FormatterBase::FormatterBase( Edit* pField )
 {
     mpField                     = pField;
diff --git a/vcl/source/control/longcurr.cxx b/vcl/source/control/longcurr.cxx
index f944fb2..e9e8ea2 100644
--- a/vcl/source/control/longcurr.cxx
+++ b/vcl/source/control/longcurr.cxx
@@ -35,6 +35,9 @@
 
 using namespace ::comphelper;
 
+namespace
+{
+
 #define FORMAT_LONGCURRENCY      4
 
 static BigInt ImplPower10( sal_uInt16 n )
@@ -248,6 +251,8 @@ static bool ImplLongCurrencyProcessKeyInput( Edit* pEdit, 
const KeyEvent& rKEvt,
     return ImplNumericProcessKeyInput( pEdit, rKEvt, sal_False, 
bUseThousandSep, rLocaleDataWrapper  );
 }
 
+} // namespace
+
 inline bool ImplLongCurrencyGetValue( const OUString& rStr, BigInt& rValue,
                                       sal_uInt16 nDecDigits, const 
LocaleDataWrapper& rLocaleDataWrapper )
 {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to