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
759bbba7
Kaydet (Commit)
759bbba7
authored
Şub 19, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: I9475da82598d5c9190cc711709db7cbc6610bbca
üst
24a0063a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
vbacharacters.cxx
sc/source/ui/vba/vbacharacters.cxx
+1
-1
vbacharacters.hxx
sc/source/ui/vba/vbacharacters.hxx
+2
-2
vbatextboxshape.cxx
sc/source/ui/vba/vbatextboxshape.cxx
+1
-1
vbatextframe.cxx
sc/source/ui/vba/vbatextframe.cxx
+1
-1
No files found.
sc/source/ui/vba/vbacharacters.cxx
Dosyayı görüntüle @
759bbba7
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
using
namespace
::
ooo
::
vba
;
using
namespace
::
ooo
::
vba
;
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
ScVbaCharacters
::
ScVbaCharacters
(
const
uno
::
Reference
<
XHelperInterface
>&
xParent
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
xContext
,
const
ScVbaPalette
&
dPalette
,
const
uno
::
Reference
<
text
::
XSimpleText
>&
xRange
,
const
css
::
uno
::
Any
&
Start
,
const
css
::
uno
::
Any
&
Length
,
sal_B
ool
Replace
)
throw
(
css
::
lang
::
IllegalArgumentException
)
:
ScVbaCharacters_BASE
(
xParent
,
xContext
),
m_xSimpleText
(
xRange
),
m_aPalette
(
dPalette
),
nLength
(
-
1
),
nStart
(
1
),
bReplace
(
Replace
)
ScVbaCharacters
::
ScVbaCharacters
(
const
uno
::
Reference
<
XHelperInterface
>&
xParent
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
xContext
,
const
ScVbaPalette
&
dPalette
,
const
uno
::
Reference
<
text
::
XSimpleText
>&
xRange
,
const
css
::
uno
::
Any
&
Start
,
const
css
::
uno
::
Any
&
Length
,
b
ool
Replace
)
throw
(
css
::
lang
::
IllegalArgumentException
)
:
ScVbaCharacters_BASE
(
xParent
,
xContext
),
m_xSimpleText
(
xRange
),
m_aPalette
(
dPalette
),
nLength
(
-
1
),
nStart
(
1
),
bReplace
(
Replace
)
{
{
Start
>>=
nStart
;
Start
>>=
nStart
;
if
(
nStart
<
1
)
if
(
nStart
<
1
)
...
...
sc/source/ui/vba/vbacharacters.hxx
Dosyayı görüntüle @
759bbba7
...
@@ -38,9 +38,9 @@ private:
...
@@ -38,9 +38,9 @@ private:
sal_Int16
nLength
;
sal_Int16
nLength
;
sal_Int16
nStart
;
sal_Int16
nStart
;
// Add because of MSO has diferent behavior.
// Add because of MSO has diferent behavior.
sal_B
ool
bReplace
;
b
ool
bReplace
;
public
:
public
:
ScVbaCharacters
(
const
css
::
uno
::
Reference
<
ov
::
XHelperInterface
>&
xParent
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
ScVbaPalette
&
dPalette
,
const
css
::
uno
::
Reference
<
css
::
text
::
XSimpleText
>&
xRange
,
const
css
::
uno
::
Any
&
Start
,
const
css
::
uno
::
Any
&
Length
,
sal_B
ool
bReplace
=
false
)
throw
(
css
::
lang
::
IllegalArgumentException
);
ScVbaCharacters
(
const
css
::
uno
::
Reference
<
ov
::
XHelperInterface
>&
xParent
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
ScVbaPalette
&
dPalette
,
const
css
::
uno
::
Reference
<
css
::
text
::
XSimpleText
>&
xRange
,
const
css
::
uno
::
Any
&
Start
,
const
css
::
uno
::
Any
&
Length
,
b
ool
bReplace
=
false
)
throw
(
css
::
lang
::
IllegalArgumentException
);
virtual
~
ScVbaCharacters
()
{}
virtual
~
ScVbaCharacters
()
{}
// Attributes
// Attributes
...
...
sc/source/ui/vba/vbatextboxshape.cxx
Dosyayı görüntüle @
759bbba7
...
@@ -54,7 +54,7 @@ ScVbaTextBoxShape::characters( const uno::Any& Start, const uno::Any& Length ) t
...
@@ -54,7 +54,7 @@ ScVbaTextBoxShape::characters( const uno::Any& Start, const uno::Any& Length ) t
uno
::
Reference
<
text
::
XSimpleText
>
xSimple
(
m_xTextRange
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
text
::
XSimpleText
>
xSimple
(
m_xTextRange
,
uno
::
UNO_QUERY_THROW
);
ScVbaPalette
aPalette
(
pDoc
->
GetDocumentShell
()
);
ScVbaPalette
aPalette
(
pDoc
->
GetDocumentShell
()
);
return
new
ScVbaCharacters
(
this
,
mxContext
,
aPalette
,
xSimple
,
Start
,
Length
,
sal_T
rue
);
return
new
ScVbaCharacters
(
this
,
mxContext
,
aPalette
,
xSimple
,
Start
,
Length
,
t
rue
);
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/ui/vba/vbatextframe.cxx
Dosyayı görüntüle @
759bbba7
...
@@ -37,7 +37,7 @@ ScVbaTextFrame::Characters() throw (uno::RuntimeException)
...
@@ -37,7 +37,7 @@ ScVbaTextFrame::Characters() throw (uno::RuntimeException)
ScVbaPalette
aPalette
(
SfxObjectShell
::
Current
()
);
ScVbaPalette
aPalette
(
SfxObjectShell
::
Current
()
);
uno
::
Any
aStart
(
sal_Int32
(
1
)
);
uno
::
Any
aStart
(
sal_Int32
(
1
)
);
uno
::
Any
aLength
(
sal_Int32
(
-
1
)
);
uno
::
Any
aLength
(
sal_Int32
(
-
1
)
);
return
uno
::
makeAny
(
uno
::
Reference
<
ov
::
excel
::
XCharacters
>
(
new
ScVbaCharacters
(
this
,
mxContext
,
aPalette
,
xSimpleText
,
aStart
,
aLength
,
sal_T
rue
)
)
);
return
uno
::
makeAny
(
uno
::
Reference
<
ov
::
excel
::
XCharacters
>
(
new
ScVbaCharacters
(
this
,
mxContext
,
aPalette
,
xSimpleText
,
aStart
,
aLength
,
t
rue
)
)
);
}
}
OUString
OUString
...
...
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