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
5f2e9679
Kaydet (Commit)
5f2e9679
authored
Ara 05, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: Ib256ed35a9ecb59a07ed31edec9bd8abb31a4610
üst
c50d8bf5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
table3.cxx
sc/source/core/data/table3.cxx
+3
-2
table6.cxx
sc/source/core/data/table6.cxx
+9
-8
No files found.
sc/source/core/data/table3.cxx
Dosyayı görüntüle @
5f2e9679
...
@@ -59,6 +59,7 @@
...
@@ -59,6 +59,7 @@
#include <fstalgorithm.hxx>
#include <fstalgorithm.hxx>
#include <listenercontext.hxx>
#include <listenercontext.hxx>
#include <sharedformula.hxx>
#include <sharedformula.hxx>
#include <stlsheet.hxx>
#include <refhint.hxx>
#include <refhint.hxx>
#include <listenerquery.hxx>
#include <listenerquery.hxx>
#include <bcaslot.hxx>
#include <bcaslot.hxx>
...
@@ -1812,8 +1813,8 @@ bool ScTable::DoSubTotals( ScSubTotalParam& rParam )
...
@@ -1812,8 +1813,8 @@ bool ScTable::DoSubTotals( ScSubTotalParam& rParam )
//! sortieren?
//! sortieren?
ScStyleSheet
*
pStyle
=
(
ScStyleSheet
*
)
pDocument
->
GetStyleSheetPool
()
->
Find
(
ScStyleSheet
*
pStyle
=
static_cast
<
ScStyleSheet
*>
(
pDocument
->
GetStyleSheetPool
()
->
Find
(
ScGlobal
::
GetRscString
(
STR_STYLENAME_RESULT
),
SFX_STYLE_FAMILY_PARA
);
ScGlobal
::
GetRscString
(
STR_STYLENAME_RESULT
),
SFX_STYLE_FAMILY_PARA
)
)
;
bool
bSpaceLeft
=
true
;
// Erfolg beim Einfuegen?
bool
bSpaceLeft
=
true
;
// Erfolg beim Einfuegen?
...
...
sc/source/core/data/table6.cxx
Dosyayı görüntüle @
5f2e9679
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include "formulacell.hxx"
#include "formulacell.hxx"
#include "document.hxx"
#include "document.hxx"
#include "stlpool.hxx"
#include "stlpool.hxx"
#include "stlsheet.hxx"
#include "markdata.hxx"
#include "markdata.hxx"
#include "editutil.hxx"
#include "editutil.hxx"
#include "detfunc.hxx"
#include "detfunc.hxx"
...
@@ -520,9 +521,9 @@ bool ScTable::ReplaceAll(
...
@@ -520,9 +521,9 @@ bool ScTable::ReplaceAll(
bool
ScTable
::
SearchStyle
(
const
SvxSearchItem
&
rSearchItem
,
SCCOL
&
rCol
,
SCROW
&
rRow
,
bool
ScTable
::
SearchStyle
(
const
SvxSearchItem
&
rSearchItem
,
SCCOL
&
rCol
,
SCROW
&
rRow
,
const
ScMarkData
&
rMark
)
const
ScMarkData
&
rMark
)
{
{
const
ScStyleSheet
*
pSearchStyle
=
(
const
ScStyleSheet
*
)
const
ScStyleSheet
*
pSearchStyle
=
static_cast
<
const
ScStyleSheet
*>
(
pDocument
->
GetStyleSheetPool
()
->
Find
(
pDocument
->
GetStyleSheetPool
()
->
Find
(
rSearchItem
.
GetSearchString
(),
SFX_STYLE_FAMILY_PARA
);
rSearchItem
.
GetSearchString
(),
SFX_STYLE_FAMILY_PARA
)
)
;
SCsCOL
nCol
=
rCol
;
SCsCOL
nCol
=
rCol
;
SCsROW
nRow
=
rRow
;
SCsROW
nRow
=
rRow
;
...
@@ -612,9 +613,9 @@ bool ScTable::ReplaceStyle(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW&
...
@@ -612,9 +613,9 @@ bool ScTable::ReplaceStyle(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW&
bRet
=
SearchStyle
(
rSearchItem
,
rCol
,
rRow
,
rMark
);
bRet
=
SearchStyle
(
rSearchItem
,
rCol
,
rRow
,
rMark
);
if
(
bRet
)
if
(
bRet
)
{
{
const
ScStyleSheet
*
pReplaceStyle
=
(
const
ScStyleSheet
*
)
const
ScStyleSheet
*
pReplaceStyle
=
static_cast
<
const
ScStyleSheet
*>
(
pDocument
->
GetStyleSheetPool
()
->
Find
(
pDocument
->
GetStyleSheetPool
()
->
Find
(
rSearchItem
.
GetReplaceString
(),
SFX_STYLE_FAMILY_PARA
);
rSearchItem
.
GetReplaceString
(),
SFX_STYLE_FAMILY_PARA
)
)
;
if
(
pReplaceStyle
)
if
(
pReplaceStyle
)
ApplyStyle
(
rCol
,
rRow
,
*
pReplaceStyle
);
ApplyStyle
(
rCol
,
rRow
,
*
pReplaceStyle
);
...
@@ -630,9 +631,9 @@ bool ScTable::ReplaceStyle(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW&
...
@@ -630,9 +631,9 @@ bool ScTable::ReplaceStyle(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW&
bool
ScTable
::
SearchAllStyle
(
bool
ScTable
::
SearchAllStyle
(
const
SvxSearchItem
&
rSearchItem
,
const
ScMarkData
&
rMark
,
ScRangeList
&
rMatchedRanges
)
const
SvxSearchItem
&
rSearchItem
,
const
ScMarkData
&
rMark
,
ScRangeList
&
rMatchedRanges
)
{
{
const
ScStyleSheet
*
pSearchStyle
=
(
const
ScStyleSheet
*
)
const
ScStyleSheet
*
pSearchStyle
=
static_cast
<
const
ScStyleSheet
*>
(
pDocument
->
GetStyleSheetPool
()
->
Find
(
pDocument
->
GetStyleSheetPool
()
->
Find
(
rSearchItem
.
GetSearchString
(),
SFX_STYLE_FAMILY_PARA
);
rSearchItem
.
GetSearchString
(),
SFX_STYLE_FAMILY_PARA
)
)
;
bool
bSelect
=
rSearchItem
.
GetSelection
();
bool
bSelect
=
rSearchItem
.
GetSelection
();
bool
bBack
=
rSearchItem
.
GetBackward
();
bool
bBack
=
rSearchItem
.
GetBackward
();
bool
bEverFound
=
false
;
bool
bEverFound
=
false
;
...
@@ -670,9 +671,9 @@ bool ScTable::ReplaceAllStyle(
...
@@ -670,9 +671,9 @@ bool ScTable::ReplaceAllStyle(
bool
bRet
=
SearchAllStyle
(
rSearchItem
,
rMark
,
rMatchedRanges
);
bool
bRet
=
SearchAllStyle
(
rSearchItem
,
rMark
,
rMatchedRanges
);
if
(
bRet
)
if
(
bRet
)
{
{
const
ScStyleSheet
*
pReplaceStyle
=
(
const
ScStyleSheet
*
)
const
ScStyleSheet
*
pReplaceStyle
=
static_cast
<
const
ScStyleSheet
*>
(
pDocument
->
GetStyleSheetPool
()
->
Find
(
pDocument
->
GetStyleSheetPool
()
->
Find
(
rSearchItem
.
GetReplaceString
(),
SFX_STYLE_FAMILY_PARA
);
rSearchItem
.
GetReplaceString
(),
SFX_STYLE_FAMILY_PARA
)
)
;
if
(
pReplaceStyle
)
if
(
pReplaceStyle
)
{
{
...
...
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