[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Feb 23 18:59:45 PST 2011


 sc/source/filter/inc/xestyle.hxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit b18023ffbbadd3f72d299f751e50e160667f310e
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Wed Feb 23 21:58:23 2011 -0500

    Using * for pointer type is better than typedef to FooPtr.
    
    It saves key stroke, 1 for '*' as oppposed to 3 for 'Ptr', and it
    saves one line by not having to typedef for a (for pete's sake)
    pointer type.

diff --git a/sc/source/filter/inc/xestyle.hxx b/sc/source/filter/inc/xestyle.hxx
index 7d8f3dc..e2473d4 100644
--- a/sc/source/filter/inc/xestyle.hxx
+++ b/sc/source/filter/inc/xestyle.hxx
@@ -318,11 +318,10 @@ private:
 private:
     typedef ::std::auto_ptr< SvNumberFormatter >    SvNumberFormatterPtr;
     typedef ::std::vector< XclExpNumFmt >           XclExpNumFmtVec;
-    typedef NfKeywordTable*                         NfKeywordTablePtr;
 
     SvNumberFormatterPtr mxFormatter;   /// Special number formatter for conversion.
     XclExpNumFmtVec     maFormatMap;    /// Maps core formats to Excel indexes.
-    NfKeywordTablePtr   mpKeywordTable; /// Replacement table.
+    NfKeywordTable*     mpKeywordTable; /// Replacement table.
     ULONG               mnStdFmt;       /// Key for standard number format.
     sal_uInt16          mnXclOffset;    /// Offset to first user defined format.
 };


More information about the Libreoffice-commits mailing list