Commits

Anonymous committed c11b312

#i10000#: de-inline ScDocument::FastGetRowHeight() to be able to link scfilt on Linux

Comments (0)

Files changed (2)

sc/inc/document.hxx

                     // single row taking ones in loops to access a sequence of
                     // single rows is no good idea! Use specialized range
                     // taking methods instead, or iterators.
-    SC_DLLPUBLIC inline ULONG	FastGetRowHeight( SCROW nStartRow, SCROW nEndRow,
+    SC_DLLPUBLIC ULONG	FastGetRowHeight( SCROW nStartRow, SCROW nEndRow,
                         SCTAB nTab ) const;
     inline ULONG	FastGetScaledRowHeight( SCROW nStartRow, SCROW nEndRow,
                         SCTAB nTab, double fScale ) const;
 }
 
 
-inline ULONG ScDocument::FastGetRowHeight( SCROW nStartRow, SCROW nEndRow,
-        SCTAB nTab ) const
-{
-    return pTab[nTab]->pRowFlags->SumCoupledArrayForCondition( nStartRow,
-            nEndRow, CR_HIDDEN, 0, *(pTab[nTab]->pRowHeight));
-}
-
 inline ULONG ScDocument::FastGetScaledRowHeight( SCROW nStartRow, SCROW nEndRow,
         SCTAB nTab, double fScale ) const
 {

sc/source/core/data/document.cxx

     return 0;
 }
 
+ULONG ScDocument::FastGetRowHeight( SCROW nStartRow, SCROW nEndRow,
+        SCTAB nTab ) const
+{
+    return pTab[nTab]->pRowFlags->SumCoupledArrayForCondition( nStartRow,
+            nEndRow, CR_HIDDEN, 0, *(pTab[nTab]->pRowHeight));
+}
 
 ULONG ScDocument::GetScaledRowHeight( SCROW nStartRow, SCROW nEndRow,
         SCTAB nTab, double fScale ) const