[Libreoffice-commits] core.git: Branch 'feature/gsoc-calc-enhanced-db-range' - sc/inc sc/source

Akash Shetye shetyeakash at gmail.com
Mon Jun 24 22:47:00 PDT 2013


 sc/inc/dbdataformatting.hxx              |    2 +-
 sc/source/core/tool/dbdataformatting.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7dc6bebf681e99c4335f95e8f3265b0e5dc5694a
Author: Akash Shetye <shetyeakash at gmail.com>
Date:   Tue Jun 25 11:14:31 2013 +0530

    Fixes commit f502c0ea6826fc0e915d8d4c302fe978a4d43a58 that breaks the build.
    
    Change-Id: Ib815dfb3679627c9d99ef747b7b0ef643b7e0cbb

diff --git a/sc/inc/dbdataformatting.hxx b/sc/inc/dbdataformatting.hxx
index ef8d5fd..50d62f5 100644
--- a/sc/inc/dbdataformatting.hxx
+++ b/sc/inc/dbdataformatting.hxx
@@ -33,7 +33,7 @@ class SC_DLLPUBLIC ScDBDataFormatting
         bool bBandedColumns;
     public:
         ScDBDataFormatting();
-        ScDBDataFormatting(const OUString& rFirstRowStripeStyle, const OUString& rSecondRowStripeStyle, const OUString& rFirstColStripeStyle, const OUString& rSecondColStripeStyle, bool bBRows, bool bBCols);
+        ScDBDataFormatting(const OUString& rTableStyleName, const OUString& rFirstRowStripeStyle, const OUString& rSecondRowStripeStyle, const OUString& rFirstColStripeStyle, const OUString& rSecondColStripeStyle, bool bBRows, bool bBCols);
         ScDBDataFormatting( const ScDBDataFormatting& rTableFormatData );
         void SetTableStyleName( const OUString& rTableStyleName );
         const OUString& GetTableStyleName();
diff --git a/sc/source/core/tool/dbdataformatting.cxx b/sc/source/core/tool/dbdataformatting.cxx
index fe6a8a2..24fde5e 100644
--- a/sc/source/core/tool/dbdataformatting.cxx
+++ b/sc/source/core/tool/dbdataformatting.cxx
@@ -53,7 +53,7 @@ void ScDBDataFormatting::SetTableStyleName( const OUString& rTableStyleName )
 
 const OUString& ScDBDataFormatting::GetTableStyleName()
 {
-    return maTbleStyleName;
+    return maTableStyleName;
 }
 
 void ScDBDataFormatting::SetBandedRows( bool bBRows )


More information about the Libreoffice-commits mailing list