Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
ff3b823e
Kaydet (Commit)
ff3b823e
authored
Eki 09, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix for !HAVE_FEATURE_OPENCL
Change-Id: I98cc2819e5de88cdce235735518b64193610fdc6
üst
d9c5452a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
formulagroup.cxx
sc/source/core/tool/formulagroup.cxx
+8
-2
No files found.
sc/source/core/tool/formulagroup.cxx
Dosyayı görüntüle @
ff3b823e
...
...
@@ -7,6 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <config_features.h>
#include "formulagroup.hxx"
#include "document.hxx"
#include "formulacell.hxx"
...
...
@@ -17,7 +19,6 @@
#include "formula/vectortoken.hxx"
#include "rtl/bootstrap.hxx"
#include "config_features.h"
#include <vector>
#include <boost/unordered_map.hpp>
...
...
@@ -422,6 +423,7 @@ void FormulaGroupInterpreter::switchOpenCLDevice(const OUString& rDeviceId, bool
msInstance
=
new
sc
::
FormulaGroupInterpreterSoftware
();
return
;
}
#if HAVE_FEATURE_OPENCL
#ifndef DISABLE_DYNLOADING
osl
::
Module
*
pModule
=
getOpenCLModule
();
if
(
!
pModule
)
...
...
@@ -439,12 +441,14 @@ void FormulaGroupInterpreter::switchOpenCLDevice(const OUString& rDeviceId, bool
if
(
!
bSuccess
)
return
;
#endif
#else
(
void
)
bAutoSelect
;
#endif
delete
msInstance
;
msInstance
=
NULL
;
#if HAVE_FEATURE_OPENCL
if
(
ScInterpreter
::
GetGlobalConfig
().
mbOpenCLEnabled
)
{
#ifdef DISABLE_DYNLOADING
...
...
@@ -469,6 +473,7 @@ void FormulaGroupInterpreter::compileOpenCLKernels()
// OpenCL is not enabled.
return
;
#if HAVE_FEATURE_OPENCL
#ifndef DISABLE_DYNLOADING
osl
::
Module
*
pModule
=
getOpenCLModule
();
if
(
!
pModule
)
...
...
@@ -482,6 +487,7 @@ void FormulaGroupInterpreter::compileOpenCLKernels()
#else
::
compileOpenCLKernels
(
&
rConfig
.
maOpenCLDevice
);
#endif
#endif
}
void
FormulaGroupInterpreter
::
generateRPNCode
(
ScDocument
&
rDoc
,
const
ScAddress
&
rPos
,
ScTokenArray
&
rCode
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment