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
fbb07536
Kaydet (Commit)
fbb07536
authored
Eyl 27, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sc/source/ui/inc/a*.hxx from String to OUString
Change-Id: Ia127776aed43eb634b4a7b87d03000d0d53c3b64
üst
568c45f3
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
85 additions
and
85 deletions
+85
-85
textuno.hxx
sc/inc/textuno.hxx
+1
-1
AccessibleCsvControl.cxx
sc/source/ui/Accessibility/AccessibleCsvControl.cxx
+2
-2
AccessibleText.cxx
sc/source/ui/Accessibility/AccessibleText.cxx
+7
-7
asciiopt.cxx
sc/source/ui/dbgui/asciiopt.cxx
+16
-16
autostyl.cxx
sc/source/ui/docshell/autostyl.cxx
+3
-3
AccessibleCsvControl.hxx
sc/source/ui/inc/AccessibleCsvControl.hxx
+3
-3
AccessibleText.hxx
sc/source/ui/inc/AccessibleText.hxx
+7
-7
acredlin.hxx
sc/source/ui/inc/acredlin.hxx
+16
-16
anyrefdg.hxx
sc/source/ui/inc/anyrefdg.hxx
+4
-4
asciiopt.hxx
sc/source/ui/inc/asciiopt.hxx
+7
-7
autofmt.hxx
sc/source/ui/inc/autofmt.hxx
+8
-8
autostyl.hxx
sc/source/ui/inc/autostyl.hxx
+3
-3
acredlin.cxx
sc/source/ui/miscdlgs/acredlin.cxx
+1
-1
anyrefdg.cxx
sc/source/ui/miscdlgs/anyrefdg.cxx
+4
-4
textuno.cxx
sc/source/ui/unoobj/textuno.cxx
+3
-3
No files found.
sc/inc/textuno.hxx
Dosyayı görüntüle @
fbb07536
...
@@ -379,7 +379,7 @@ protected:
...
@@ -379,7 +379,7 @@ protected:
sal_Bool
bDoUpdate
;
sal_Bool
bDoUpdate
;
protected
:
protected
:
virtual
void
GetCellText
(
const
ScAddress
&
rCellPos
,
String
&
rText
);
virtual
void
GetCellText
(
const
ScAddress
&
rCellPos
,
OU
String
&
rText
);
public
:
public
:
ScCellTextData
(
ScDocShell
*
pDocSh
,
const
ScAddress
&
rP
);
ScCellTextData
(
ScDocShell
*
pDocSh
,
const
ScAddress
&
rP
);
...
...
sc/source/ui/Accessibility/AccessibleCsvControl.cxx
Dosyayı görüntüle @
fbb07536
...
@@ -1413,7 +1413,7 @@ sal_Int32 ScAccessibleCsvGrid::implGetSelColumn( sal_Int32 nSelColumn ) const
...
@@ -1413,7 +1413,7 @@ sal_Int32 ScAccessibleCsvGrid::implGetSelColumn( sal_Int32 nSelColumn ) const
return
0
;
return
0
;
}
}
String
ScAccessibleCsvGrid
::
implGetCellText
(
sal_Int32
nRow
,
sal_Int32
nColumn
)
const
OU
String
ScAccessibleCsvGrid
::
implGetCellText
(
sal_Int32
nRow
,
sal_Int32
nColumn
)
const
{
{
ScCsvGrid
&
rGrid
=
implGetGrid
();
ScCsvGrid
&
rGrid
=
implGetGrid
();
sal_Int32
nLine
=
nRow
+
rGrid
.
GetFirstVisLine
()
-
1
;
sal_Int32
nLine
=
nRow
+
rGrid
.
GetFirstVisLine
()
-
1
;
...
@@ -1440,7 +1440,7 @@ DBG_NAME( ScAccessibleCsvCell )
...
@@ -1440,7 +1440,7 @@ DBG_NAME( ScAccessibleCsvCell )
ScAccessibleCsvCell
::
ScAccessibleCsvCell
(
ScAccessibleCsvCell
::
ScAccessibleCsvCell
(
ScCsvGrid
&
rGrid
,
ScCsvGrid
&
rGrid
,
const
String
&
rCellText
,
const
OU
String
&
rCellText
,
sal_Int32
nRow
,
sal_Int32
nColumn
)
:
sal_Int32
nRow
,
sal_Int32
nColumn
)
:
ScAccessibleCsvControl
(
rGrid
.
GetAccessible
(),
rGrid
,
nCellRole
),
ScAccessibleCsvControl
(
rGrid
.
GetAccessible
(),
rGrid
,
nCellRole
),
AccessibleStaticTextBase
(
SvxEditSourcePtr
(
NULL
)
),
AccessibleStaticTextBase
(
SvxEditSourcePtr
(
NULL
)
),
...
...
sc/source/ui/Accessibility/AccessibleText.cxx
Dosyayı görüntüle @
fbb07536
...
@@ -760,7 +760,7 @@ ScAccessibleTextData* ScAccessibleCellTextData::Clone() const
...
@@ -760,7 +760,7 @@ ScAccessibleTextData* ScAccessibleCellTextData::Clone() const
return
new
ScAccessibleCellTextData
(
mpViewShell
,
aCellPos
,
meSplitPos
,
mpAccessibleCell
);
return
new
ScAccessibleCellTextData
(
mpViewShell
,
aCellPos
,
meSplitPos
,
mpAccessibleCell
);
}
}
void
ScAccessibleCellTextData
::
GetCellText
(
const
ScAddress
&
rCellPos
,
String
&
rText
)
void
ScAccessibleCellTextData
::
GetCellText
(
const
ScAddress
&
rCellPos
,
OU
String
&
rText
)
{
{
// #104893#; don't use the input string
// #104893#; don't use the input string
// ScCellTextData::GetCellText(rCellPos, rText);
// ScCellTextData::GetCellText(rCellPos, rText);
...
@@ -781,7 +781,7 @@ void ScAccessibleCellTextData::GetCellText(const ScAddress& rCellPos, String& rT
...
@@ -781,7 +781,7 @@ void ScAccessibleCellTextData::GetCellText(const ScAddress& rCellPos, String& rT
else
if
(
!
aOptions
.
GetOption
(
VOPT_NULLVALS
))
else
if
(
!
aOptions
.
GetOption
(
VOPT_NULLVALS
))
{
{
if
((
aCellType
==
CELLTYPE_VALUE
||
aCellType
==
CELLTYPE_FORMULA
)
&&
pDoc
->
GetValue
(
rCellPos
)
==
0.0
)
if
((
aCellType
==
CELLTYPE_VALUE
||
aCellType
==
CELLTYPE_FORMULA
)
&&
pDoc
->
GetValue
(
rCellPos
)
==
0.0
)
rText
.
Erase
()
;
rText
=
""
;
}
}
}
}
}
}
...
@@ -1323,7 +1323,7 @@ ScDocShell* ScAccessiblePreviewCellTextData::GetDocShell(ScPreviewShell* pViewSh
...
@@ -1323,7 +1323,7 @@ ScDocShell* ScAccessiblePreviewCellTextData::GetDocShell(ScPreviewShell* pViewSh
// ScAccessiblePreviewHeaderCellTextData: shared data between sub objects of a accessible cell text object
// ScAccessiblePreviewHeaderCellTextData: shared data between sub objects of a accessible cell text object
ScAccessiblePreviewHeaderCellTextData
::
ScAccessiblePreviewHeaderCellTextData
(
ScPreviewShell
*
pViewShell
,
ScAccessiblePreviewHeaderCellTextData
::
ScAccessiblePreviewHeaderCellTextData
(
ScPreviewShell
*
pViewShell
,
const
String
&
rText
,
const
ScAddress
&
rP
,
sal_Bool
bColHeader
,
sal_Bool
bRowHeader
)
const
OU
String
&
rText
,
const
ScAddress
&
rP
,
sal_Bool
bColHeader
,
sal_Bool
bRowHeader
)
:
ScAccessibleCellBaseTextData
(
GetDocShell
(
pViewShell
),
rP
),
:
ScAccessibleCellBaseTextData
(
GetDocShell
(
pViewShell
),
rP
),
mpViewForwarder
(
NULL
),
mpViewForwarder
(
NULL
),
mpViewShell
(
pViewShell
),
mpViewShell
(
pViewShell
),
...
@@ -1387,7 +1387,7 @@ SvxTextForwarder* ScAccessiblePreviewHeaderCellTextData::GetTextForwarder()
...
@@ -1387,7 +1387,7 @@ SvxTextForwarder* ScAccessiblePreviewHeaderCellTextData::GetTextForwarder()
if
(
bDataValid
)
if
(
bDataValid
)
return
pForwarder
;
return
pForwarder
;
if
(
maText
.
Len
()
&&
pEditEngine
)
if
(
!
maText
.
isEmpty
()
&&
pEditEngine
)
{
{
if
(
mpViewShell
)
if
(
mpViewShell
)
...
@@ -1544,7 +1544,7 @@ SvxViewForwarder* ScAccessibleHeaderTextData::GetViewForwarder()
...
@@ -1544,7 +1544,7 @@ SvxViewForwarder* ScAccessibleHeaderTextData::GetViewForwarder()
}
}
ScAccessibleNoteTextData
::
ScAccessibleNoteTextData
(
ScPreviewShell
*
pViewShell
,
ScAccessibleNoteTextData
::
ScAccessibleNoteTextData
(
ScPreviewShell
*
pViewShell
,
const
String
&
sText
,
const
ScAddress
&
aCellPos
,
sal_Bool
bMarkNote
)
const
OU
String
&
sText
,
const
ScAddress
&
aCellPos
,
sal_Bool
bMarkNote
)
:
:
mpViewForwarder
(
NULL
),
mpViewForwarder
(
NULL
),
mpViewShell
(
pViewShell
),
mpViewShell
(
pViewShell
),
...
@@ -1620,7 +1620,7 @@ SvxTextForwarder* ScAccessibleNoteTextData::GetTextForwarder()
...
@@ -1620,7 +1620,7 @@ SvxTextForwarder* ScAccessibleNoteTextData::GetTextForwarder()
if
(
mbDataValid
)
if
(
mbDataValid
)
return
mpForwarder
;
return
mpForwarder
;
if
(
msText
.
Len
()
&&
mpEditEngine
)
if
(
!
msText
.
isEmpty
()
&&
mpEditEngine
)
{
{
if
(
mpViewShell
)
if
(
mpViewShell
)
...
@@ -1708,7 +1708,7 @@ void ScCsvViewForwarder::SetInvalid()
...
@@ -1708,7 +1708,7 @@ void ScCsvViewForwarder::SetInvalid()
ScAccessibleCsvTextData
::
ScAccessibleCsvTextData
(
ScAccessibleCsvTextData
::
ScAccessibleCsvTextData
(
Window
*
pWindow
,
EditEngine
*
pEditEngine
,
Window
*
pWindow
,
EditEngine
*
pEditEngine
,
const
String
&
rCellText
,
const
Rectangle
&
rBoundBox
,
const
Size
&
rCellSize
)
:
const
OU
String
&
rCellText
,
const
Rectangle
&
rBoundBox
,
const
Size
&
rCellSize
)
:
mpWindow
(
pWindow
),
mpWindow
(
pWindow
),
mpEditEngine
(
pEditEngine
),
mpEditEngine
(
pEditEngine
),
maCellText
(
rCellText
),
maCellText
(
rCellText
),
...
...
sc/source/ui/dbgui/asciiopt.cxx
Dosyayı görüntüle @
fbb07536
...
@@ -179,7 +179,7 @@ bool ScAsciiOptions::operator==( const ScAsciiOptions& rCmp ) const
...
@@ -179,7 +179,7 @@ bool ScAsciiOptions::operator==( const ScAsciiOptions& rCmp ) const
return
false
;
return
false
;
}
}
static
String
lcl_decodeSepString
(
const
String
&
rSepNums
,
bool
&
o_bMergeFieldSeps
)
static
OU
String
lcl_decodeSepString
(
const
String
&
rSepNums
,
bool
&
o_bMergeFieldSeps
)
{
{
String
aFieldSeps
;
String
aFieldSeps
;
xub_StrLen
nSub
=
comphelper
::
string
::
getTokenCount
(
rSepNums
,
'/'
);
xub_StrLen
nSub
=
comphelper
::
string
::
getTokenCount
(
rSepNums
,
'/'
);
...
@@ -201,7 +201,7 @@ static String lcl_decodeSepString( const String & rSepNums, bool & o_bMergeField
...
@@ -201,7 +201,7 @@ static String lcl_decodeSepString( const String & rSepNums, bool & o_bMergeField
// The options string must not contain semicolons (because of the pick list),
// The options string must not contain semicolons (because of the pick list),
// use comma as separator.
// use comma as separator.
void
ScAsciiOptions
::
ReadFromString
(
const
String
&
rString
)
void
ScAsciiOptions
::
ReadFromString
(
const
OU
String
&
rString
)
{
{
xub_StrLen
nCount
=
comphelper
::
string
::
getTokenCount
(
rString
,
','
);
xub_StrLen
nCount
=
comphelper
::
string
::
getTokenCount
(
rString
,
','
);
String
aToken
;
String
aToken
;
...
@@ -211,7 +211,7 @@ void ScAsciiOptions::ReadFromString( const String& rString )
...
@@ -211,7 +211,7 @@ void ScAsciiOptions::ReadFromString( const String& rString )
{
{
bFixedLen
=
bMergeFieldSeps
=
false
;
bFixedLen
=
bMergeFieldSeps
=
false
;
aToken
=
rString
.
G
etToken
(
0
,
','
);
aToken
=
rString
.
g
etToken
(
0
,
','
);
if
(
aToken
.
EqualsAscii
(
pStrFix
)
)
if
(
aToken
.
EqualsAscii
(
pStrFix
)
)
bFixedLen
=
true
;
bFixedLen
=
true
;
aFieldSeps
=
lcl_decodeSepString
(
aToken
,
bMergeFieldSeps
);
aFieldSeps
=
lcl_decodeSepString
(
aToken
,
bMergeFieldSeps
);
...
@@ -220,7 +220,7 @@ void ScAsciiOptions::ReadFromString( const String& rString )
...
@@ -220,7 +220,7 @@ void ScAsciiOptions::ReadFromString( const String& rString )
// Text separator.
// Text separator.
if
(
nCount
>=
2
)
if
(
nCount
>=
2
)
{
{
aToken
=
rString
.
G
etToken
(
1
,
','
);
aToken
=
rString
.
g
etToken
(
1
,
','
);
sal_Int32
nVal
=
aToken
.
ToInt32
();
sal_Int32
nVal
=
aToken
.
ToInt32
();
cTextSep
=
(
sal_Unicode
)
nVal
;
cTextSep
=
(
sal_Unicode
)
nVal
;
}
}
...
@@ -228,14 +228,14 @@ void ScAsciiOptions::ReadFromString( const String& rString )
...
@@ -228,14 +228,14 @@ void ScAsciiOptions::ReadFromString( const String& rString )
// Text encoding.
// Text encoding.
if
(
nCount
>=
3
)
if
(
nCount
>=
3
)
{
{
aToken
=
rString
.
G
etToken
(
2
,
','
);
aToken
=
rString
.
g
etToken
(
2
,
','
);
eCharSet
=
ScGlobal
::
GetCharsetValue
(
aToken
);
eCharSet
=
ScGlobal
::
GetCharsetValue
(
aToken
);
}
}
// Number of start row.
// Number of start row.
if
(
nCount
>=
4
)
if
(
nCount
>=
4
)
{
{
aToken
=
rString
.
G
etToken
(
3
,
','
);
aToken
=
rString
.
g
etToken
(
3
,
','
);
nStartRow
=
aToken
.
ToInt32
();
nStartRow
=
aToken
.
ToInt32
();
}
}
...
@@ -245,7 +245,7 @@ void ScAsciiOptions::ReadFromString( const String& rString )
...
@@ -245,7 +245,7 @@ void ScAsciiOptions::ReadFromString( const String& rString )
delete
[]
pColStart
;
delete
[]
pColStart
;
delete
[]
pColFormat
;
delete
[]
pColFormat
;
aToken
=
rString
.
G
etToken
(
4
,
','
);
aToken
=
rString
.
g
etToken
(
4
,
','
);
xub_StrLen
nSub
=
comphelper
::
string
::
getTokenCount
(
aToken
,
'/'
);
xub_StrLen
nSub
=
comphelper
::
string
::
getTokenCount
(
aToken
,
'/'
);
nInfoCount
=
nSub
/
2
;
nInfoCount
=
nSub
/
2
;
if
(
nInfoCount
)
if
(
nInfoCount
)
...
@@ -268,21 +268,21 @@ void ScAsciiOptions::ReadFromString( const String& rString )
...
@@ -268,21 +268,21 @@ void ScAsciiOptions::ReadFromString( const String& rString )
// Language
// Language
if
(
nCount
>=
6
)
if
(
nCount
>=
6
)
{
{
aToken
=
rString
.
G
etToken
(
5
,
','
);
aToken
=
rString
.
g
etToken
(
5
,
','
);
eLang
=
static_cast
<
LanguageType
>
(
aToken
.
ToInt32
());
eLang
=
static_cast
<
LanguageType
>
(
aToken
.
ToInt32
());
}
}
// Import quoted field as text.
// Import quoted field as text.
if
(
nCount
>=
7
)
if
(
nCount
>=
7
)
{
{
aToken
=
rString
.
G
etToken
(
6
,
','
);
aToken
=
rString
.
g
etToken
(
6
,
','
);
bQuotedFieldAsText
=
aToken
.
EqualsAscii
(
"true"
)
?
true
:
false
;
bQuotedFieldAsText
=
aToken
.
EqualsAscii
(
"true"
)
?
true
:
false
;
}
}
// Detect special numbers.
// Detect special numbers.
if
(
nCount
>=
8
)
if
(
nCount
>=
8
)
{
{
aToken
=
rString
.
G
etToken
(
7
,
','
);
aToken
=
rString
.
g
etToken
(
7
,
','
);
bDetectSpecialNumber
=
aToken
.
EqualsAscii
(
"true"
)
?
true
:
false
;
bDetectSpecialNumber
=
aToken
.
EqualsAscii
(
"true"
)
?
true
:
false
;
}
}
else
else
...
@@ -293,23 +293,23 @@ void ScAsciiOptions::ReadFromString( const String& rString )
...
@@ -293,23 +293,23 @@ void ScAsciiOptions::ReadFromString( const String& rString )
}
}
String
ScAsciiOptions
::
WriteToString
()
const
OU
String
ScAsciiOptions
::
WriteToString
()
const
{
{
OUString
aOutStr
;
OUString
aOutStr
;
// Field separator.
// Field separator.
if
(
bFixedLen
)
if
(
bFixedLen
)
aOutStr
+=
pStrFix
;
aOutStr
+=
pStrFix
;
else
if
(
!
aFieldSeps
.
Len
()
)
else
if
(
aFieldSeps
.
isEmpty
()
)
aOutStr
+=
"0"
;
aOutStr
+=
"0"
;
else
else
{
{
xub_StrLen
nLen
=
aFieldSeps
.
Len
();
sal_Int32
nLen
=
aFieldSeps
.
getLength
();
for
(
xub_StrLen
i
=
0
;
i
<
nLen
;
i
++
)
for
(
sal_Int32
i
=
0
;
i
<
nLen
;
i
++
)
{
{
if
(
i
)
if
(
i
)
aOutStr
+=
"/"
;
aOutStr
+=
"/"
;
aOutStr
+=
OUString
::
number
(
aFieldSeps
.
GetChar
(
i
)
);
aOutStr
+=
OUString
::
number
(
aFieldSeps
[
i
]
);
}
}
if
(
bMergeFieldSeps
)
if
(
bMergeFieldSeps
)
{
{
...
@@ -359,7 +359,7 @@ String ScAsciiOptions::WriteToString() const
...
@@ -359,7 +359,7 @@ String ScAsciiOptions::WriteToString() const
}
}
// static
// static
sal_Unicode
ScAsciiOptions
::
GetWeightedFieldSep
(
const
String
&
rFieldSeps
,
bool
bDecodeNumbers
)
sal_Unicode
ScAsciiOptions
::
GetWeightedFieldSep
(
const
OU
String
&
rFieldSeps
,
bool
bDecodeNumbers
)
{
{
bool
bMergeFieldSeps
=
false
;
bool
bMergeFieldSeps
=
false
;
String
aFieldSeps
(
bDecodeNumbers
?
lcl_decodeSepString
(
rFieldSeps
,
bMergeFieldSeps
)
:
rFieldSeps
);
String
aFieldSeps
(
bDecodeNumbers
?
lcl_decodeSepString
(
rFieldSeps
,
bMergeFieldSeps
)
:
rFieldSeps
);
...
...
sc/source/ui/docshell/autostyl.cxx
Dosyayı görüntüle @
fbb07536
...
@@ -93,8 +93,8 @@ ScAutoStyleList::~ScAutoStyleList()
...
@@ -93,8 +93,8 @@ ScAutoStyleList::~ScAutoStyleList()
// initial short delay (asynchronous call)
// initial short delay (asynchronous call)
void
ScAutoStyleList
::
AddInitial
(
const
ScRange
&
rRange
,
const
String
&
rStyle1
,
void
ScAutoStyleList
::
AddInitial
(
const
ScRange
&
rRange
,
const
OU
String
&
rStyle1
,
sal_uLong
nTimeout
,
const
String
&
rStyle2
)
sal_uLong
nTimeout
,
const
OU
String
&
rStyle2
)
{
{
aInitials
.
push_back
(
new
ScAutoStyleInitData
(
rRange
,
rStyle1
,
nTimeout
,
rStyle2
));
aInitials
.
push_back
(
new
ScAutoStyleInitData
(
rRange
,
rStyle1
,
nTimeout
,
rStyle2
));
aInitTimer
.
Start
();
aInitTimer
.
Start
();
...
@@ -118,7 +118,7 @@ IMPL_LINK_NOARG(ScAutoStyleList, InitHdl)
...
@@ -118,7 +118,7 @@ IMPL_LINK_NOARG(ScAutoStyleList, InitHdl)
return
0
;
return
0
;
}
}
void
ScAutoStyleList
::
AddEntry
(
sal_uLong
nTimeout
,
const
ScRange
&
rRange
,
const
String
&
rStyle
)
void
ScAutoStyleList
::
AddEntry
(
sal_uLong
nTimeout
,
const
ScRange
&
rRange
,
const
OU
String
&
rStyle
)
{
{
aTimer
.
Stop
();
aTimer
.
Stop
();
sal_uLong
nNow
=
TimeNow
();
sal_uLong
nNow
=
TimeNow
();
...
...
sc/source/ui/inc/AccessibleCsvControl.hxx
Dosyayı görüntüle @
fbb07536
...
@@ -539,7 +539,7 @@ private:
...
@@ -539,7 +539,7 @@ private:
inline
sal_Int32
implGetIndex
(
sal_Int32
nRow
,
sal_Int32
nColumn
)
const
{
return
nRow
*
implGetColumnCount
()
+
nColumn
;
}
inline
sal_Int32
implGetIndex
(
sal_Int32
nRow
,
sal_Int32
nColumn
)
const
{
return
nRow
*
implGetColumnCount
()
+
nColumn
;
}
/** Returns the contents of the specified cell (including header). Indexes must be valid. */
/** Returns the contents of the specified cell (including header). Indexes must be valid. */
String
implGetCellText
(
sal_Int32
nRow
,
sal_Int32
nColumn
)
const
;
OU
String
implGetCellText
(
sal_Int32
nRow
,
sal_Int32
nColumn
)
const
;
/** Creates a new accessible object of the specified cell. Indexes must be valid. */
/** Creates a new accessible object of the specified cell. Indexes must be valid. */
ScAccessibleCsvControl
*
implCreateCellObj
(
sal_Int32
nRow
,
sal_Int32
nColumn
)
const
;
ScAccessibleCsvControl
*
implCreateCellObj
(
sal_Int32
nRow
,
sal_Int32
nColumn
)
const
;
};
};
...
@@ -556,7 +556,7 @@ protected:
...
@@ -556,7 +556,7 @@ protected:
typedef
::
std
::
auto_ptr
<
SvxEditSource
>
SvxEditSourcePtr
;
typedef
::
std
::
auto_ptr
<
SvxEditSource
>
SvxEditSourcePtr
;
private
:
private
:
String
maCellText
;
/// The text contents of this cell.
OUString
maCellText
;
/// The text contents of this cell.
sal_Int32
mnLine
;
/// The grid line index (core index).
sal_Int32
mnLine
;
/// The grid line index (core index).
sal_uInt32
mnColumn
;
/// The grid column index (core index).
sal_uInt32
mnColumn
;
/// The grid column index (core index).
sal_Int32
mnIndex
;
/// The index of the cell in the table.
sal_Int32
mnIndex
;
/// The index of the cell in the table.
...
@@ -564,7 +564,7 @@ private:
...
@@ -564,7 +564,7 @@ private:
public
:
public
:
explicit
ScAccessibleCsvCell
(
explicit
ScAccessibleCsvCell
(
ScCsvGrid
&
rGrid
,
ScCsvGrid
&
rGrid
,
const
String
&
rCellText
,
const
OU
String
&
rCellText
,
sal_Int32
nRow
,
sal_Int32
nColumn
);
sal_Int32
nRow
,
sal_Int32
nColumn
);
virtual
~
ScAccessibleCsvCell
();
virtual
~
ScAccessibleCsvCell
();
...
...
sc/source/ui/inc/AccessibleText.hxx
Dosyayı görüntüle @
fbb07536
...
@@ -106,7 +106,7 @@ public:
...
@@ -106,7 +106,7 @@ public:
DECL_LINK
(
NotifyHdl
,
EENotify
*
);
DECL_LINK
(
NotifyHdl
,
EENotify
*
);
protected
:
protected
:
virtual
void
GetCellText
(
const
ScAddress
&
rCellPos
,
String
&
rText
);
virtual
void
GetCellText
(
const
ScAddress
&
rCellPos
,
OU
String
&
rText
);
private
:
private
:
ScViewForwarder
*
mpViewForwarder
;
ScViewForwarder
*
mpViewForwarder
;
ScEditViewForwarder
*
mpEditViewForwarder
;
ScEditViewForwarder
*
mpEditViewForwarder
;
...
@@ -212,7 +212,7 @@ class ScAccessiblePreviewHeaderCellTextData : public ScAccessibleCellBaseTextDat
...
@@ -212,7 +212,7 @@ class ScAccessiblePreviewHeaderCellTextData : public ScAccessibleCellBaseTextDat
{
{
public
:
public
:
ScAccessiblePreviewHeaderCellTextData
(
ScPreviewShell
*
pViewShell
,
ScAccessiblePreviewHeaderCellTextData
(
ScPreviewShell
*
pViewShell
,
const
String
&
rText
,
const
ScAddress
&
rP
,
sal_Bool
bColHeader
,
sal_Bool
bRowHeader
);
const
OU
String
&
rText
,
const
ScAddress
&
rP
,
sal_Bool
bColHeader
,
sal_Bool
bRowHeader
);
virtual
~
ScAccessiblePreviewHeaderCellTextData
();
virtual
~
ScAccessiblePreviewHeaderCellTextData
();
virtual
ScAccessibleTextData
*
Clone
()
const
;
virtual
ScAccessibleTextData
*
Clone
()
const
;
...
@@ -226,7 +226,7 @@ public:
...
@@ -226,7 +226,7 @@ public:
private
:
private
:
ScPreviewViewForwarder
*
mpViewForwarder
;
ScPreviewViewForwarder
*
mpViewForwarder
;
ScPreviewShell
*
mpViewShell
;
ScPreviewShell
*
mpViewShell
;
String
maText
;
OUString
maText
;
sal_Bool
mbColHeader
;
sal_Bool
mbColHeader
;
sal_Bool
mbRowHeader
;
sal_Bool
mbRowHeader
;
...
@@ -277,7 +277,7 @@ class ScAccessibleNoteTextData : public ScAccessibleTextData
...
@@ -277,7 +277,7 @@ class ScAccessibleNoteTextData : public ScAccessibleTextData
{
{
public
:
public
:
ScAccessibleNoteTextData
(
ScPreviewShell
*
pViewShell
,
ScAccessibleNoteTextData
(
ScPreviewShell
*
pViewShell
,
const
String
&
sText
,
const
ScAddress
&
aCellPos
,
sal_Bool
bMarkNote
);
const
OU
String
&
sText
,
const
ScAddress
&
aCellPos
,
sal_Bool
bMarkNote
);
virtual
~
ScAccessibleNoteTextData
();
virtual
~
ScAccessibleNoteTextData
();
virtual
ScAccessibleTextData
*
Clone
()
const
;
virtual
ScAccessibleTextData
*
Clone
()
const
;
...
@@ -297,7 +297,7 @@ private:
...
@@ -297,7 +297,7 @@ private:
ScEditEngineDefaulter
*
mpEditEngine
;
ScEditEngineDefaulter
*
mpEditEngine
;
SvxEditEngineForwarder
*
mpForwarder
;
SvxEditEngineForwarder
*
mpForwarder
;
ScDocShell
*
mpDocSh
;
ScDocShell
*
mpDocSh
;
String
msText
;
OUString
msText
;
ScAddress
maCellPos
;
ScAddress
maCellPos
;
sal_Bool
mbMarkNote
;
sal_Bool
mbMarkNote
;
sal_Bool
mbDataValid
;
sal_Bool
mbDataValid
;
...
@@ -316,7 +316,7 @@ private:
...
@@ -316,7 +316,7 @@ private:
EditEngine
*
mpEditEngine
;
EditEngine
*
mpEditEngine
;
TextForwarderPtr
mpTextForwarder
;
TextForwarderPtr
mpTextForwarder
;
ViewForwarderPtr
mpViewForwarder
;
ViewForwarderPtr
mpViewForwarder
;
String
maCellText
;
OUString
maCellText
;
Rectangle
maBoundBox
;
Rectangle
maBoundBox
;
Size
maCellSize
;
Size
maCellSize
;
...
@@ -324,7 +324,7 @@ public:
...
@@ -324,7 +324,7 @@ public:
explicit
ScAccessibleCsvTextData
(
explicit
ScAccessibleCsvTextData
(
Window
*
pWindow
,
Window
*
pWindow
,
EditEngine
*
pEditEngine
,
EditEngine
*
pEditEngine
,
const
String
&
rCellText
,
const
OU
String
&
rCellText
,
const
Rectangle
&
rBoundBox
,
const
Rectangle
&
rBoundBox
,
const
Size
&
rCellSize
);
const
Size
&
rCellSize
);
virtual
~
ScAccessibleCsvTextData
();
virtual
~
ScAccessibleCsvTextData
();
...
...
sc/source/ui/inc/acredlin.hxx
Dosyayı görüntüle @
fbb07536
...
@@ -48,27 +48,27 @@ class ScDocument;
...
@@ -48,27 +48,27 @@ class ScDocument;
class
ScViewEntryPtr
class
ScViewEntryPtr
{
{
private
:
private
:
String
*
pAction
;
OUString
*
pAction
;
String
*
pPos
;
OUString
*
pPos
;
String
*
pAuthor
;
OUString
*
pAuthor
;
String
*
pDate
;
OUString
*
pDate
;
String
*
pComment
;
OUString
*
pComment
;
void
*
pData
;
void
*
pData
;
public
:
public
:
String
*
GetpAction
()
{
return
pAction
;
}
OUString
*
GetpAction
()
{
return
pAction
;
}
String
*
GetpPos
()
{
return
pPos
;
}
OUString
*
GetpPos
()
{
return
pPos
;
}
String
*
GetpAuthor
()
{
return
pAuthor
;
}
OUString
*
GetpAuthor
()
{
return
pAuthor
;
}
String
*
GetpDate
()
{
return
pDate
;
}
OUString
*
GetpDate
()
{
return
pDate
;
}
String
*
GetpComment
()
{
return
pComment
;}
OUString
*
GetpComment
()
{
return
pComment
;}
void
*
GetpData
()
{
return
pData
;
}
void
*
GetpData
()
{
return
pData
;
}
void
SetpAction
(
String
*
pString
)
{
pAction
=
pString
;}
void
SetpAction
(
OU
String
*
pString
)
{
pAction
=
pString
;}
void
SetpPos
(
String
*
pString
)
{
pPos
=
pString
;}
void
SetpPos
(
OU
String
*
pString
)
{
pPos
=
pString
;}
void
SetpAuthor
(
String
*
pString
)
{
pAuthor
=
pString
;}
void
SetpAuthor
(
OU
String
*
pString
)
{
pAuthor
=
pString
;}
void
SetpDate
(
String
*
pString
)
{
pDate
=
pString
;}
void
SetpDate
(
OU
String
*
pString
)
{
pDate
=
pString
;}
void
SetpComment
(
String
*
pString
)
{
pComment
=
pString
;}
void
SetpComment
(
OU
String
*
pString
)
{
pComment
=
pString
;}
void
SetpData
(
void
*
pdata
)
{
pData
=
pdata
;}
void
SetpData
(
void
*
pdata
)
{
pData
=
pdata
;}
};
};
...
@@ -148,7 +148,7 @@ private:
...
@@ -148,7 +148,7 @@ private:
DECL_LINK
(
AcceptAllHandle
,
void
*
);
DECL_LINK
(
AcceptAllHandle
,
void
*
);
DECL_LINK
(
ExpandingHandle
,
SvxRedlinTable
*
);
DECL_LINK
(
ExpandingHandle
,
SvxRedlinTable
*
);
DECL_LINK
(
SelectHandle
,
void
*
);
DECL_LINK
(
SelectHandle
,
void
*
);
DECL_LINK
(
RefInfoHandle
,
String
*
);
DECL_LINK
(
RefInfoHandle
,
OU
String
*
);
DECL_LINK
(
UpdateSelectionHdl
,
void
*
);
DECL_LINK
(
UpdateSelectionHdl
,
void
*
);
DECL_LINK
(
ChgTrackModHdl
,
ScChangeTrack
*
);
DECL_LINK
(
ChgTrackModHdl
,
ScChangeTrack
*
);
...
...
sc/source/ui/inc/anyrefdg.hxx
Dosyayı görüntüle @
fbb07536
...
@@ -55,7 +55,7 @@ class ScFormulaReferenceHelper
...
@@ -55,7 +55,7 @@ class ScFormulaReferenceHelper
sal_Int32
m_nOldBorderWidth
;
// border width for expanded dialog
sal_Int32
m_nOldBorderWidth
;
// border width for expanded dialog
SCTAB
nRefTab
;
// used for ShowReference
SCTAB
nRefTab
;
// used for ShowReference
String
sOldDialogText
;
// Original title of the dialog window
OUString
sOldDialogText
;
// Original title of the dialog window
Size
aOldDialogSize
;
// Original size of the dialog window
Size
aOldDialogSize
;
// Original size of the dialog window
Point
aOldEditPos
;
// Original position of the input field
Point
aOldEditPos
;
// Original position of the input field
Size
aOldEditSize
;
// Original size of the input field
Size
aOldEditSize
;
// Original size of the input field
...
@@ -77,7 +77,7 @@ public:
...
@@ -77,7 +77,7 @@ public:
void
ShowSimpleReference
(
const
OUString
&
rStr
);
void
ShowSimpleReference
(
const
OUString
&
rStr
);
void
ShowFormulaReference
(
const
OUString
&
rStr
);
void
ShowFormulaReference
(
const
OUString
&
rStr
);
bool
ParseWithNames
(
ScRangeList
&
rRanges
,
const
String
&
rStr
,
ScDocument
*
pDoc
);
bool
ParseWithNames
(
ScRangeList
&
rRanges
,
const
OU
String
&
rStr
,
ScDocument
*
pDoc
);
void
Init
();
void
Init
();
void
ShowReference
(
const
OUString
&
rStr
);
void
ShowReference
(
const
OUString
&
rStr
);
...
@@ -124,7 +124,7 @@ private:
...
@@ -124,7 +124,7 @@ private:
Window
*
pActiveWin
;
Window
*
pActiveWin
;
Timer
aTimer
;
Timer
aTimer
;
String
aDocName
;
// document on which the dialog was opened
OUString
aDocName
;
// document on which the dialog was opened
DECL_LINK
(
UpdateFocusHdl
,
void
*
);
DECL_LINK
(
UpdateFocusHdl
,
void
*
);
...
@@ -139,7 +139,7 @@ protected:
...
@@ -139,7 +139,7 @@ protected:
void
ShowSimpleReference
(
const
OUString
&
rStr
);
void
ShowSimpleReference
(
const
OUString
&
rStr
);
void
ShowFormulaReference
(
const
OUString
&
rStr
);
void
ShowFormulaReference
(
const
OUString
&
rStr
);
bool
ParseWithNames
(
ScRangeList
&
rRanges
,
const
String
&
rStr
,
ScDocument
*
pDoc
);
bool
ParseWithNames
(
ScRangeList
&
rRanges
,
const
OU
String
&
rStr
,
ScDocument
*
pDoc
);
void
preNotify
(
const
NotifyEvent
&
rEvent
,
const
bool
bBindRef
);
void
preNotify
(
const
NotifyEvent
&
rEvent
,
const
bool
bBindRef
);
void
stateChanged
(
const
StateChangedType
nStateChange
,
const
bool
bBindRef
);
void
stateChanged
(
const
StateChangedType
nStateChange
,
const
bool
bBindRef
);
...
...
sc/source/ui/inc/asciiopt.hxx
Dosyayı görüntüle @
fbb07536
...
@@ -40,7 +40,7 @@ class ScAsciiOptions
...
@@ -40,7 +40,7 @@ class ScAsciiOptions
{
{
private
:
private
:
bool
bFixedLen
;
bool
bFixedLen
;
String
aFieldSeps
;
OUString
aFieldSeps
;
bool
bMergeFieldSeps
;
bool
bMergeFieldSeps
;
bool
bQuotedFieldAsText
;
bool
bQuotedFieldAsText
;
bool
bDetectSpecialNumber
;
bool
bDetectSpecialNumber
;
...
@@ -64,14 +64,14 @@ public:
...
@@ -64,14 +64,14 @@ public:
bool
operator
==
(
const
ScAsciiOptions
&
rCmp
)
const
;
bool
operator
==
(
const
ScAsciiOptions
&
rCmp
)
const
;
void
ReadFromString
(
const
String
&
rString
);
void
ReadFromString
(
const
OU
String
&
rString
);
String
WriteToString
()
const
;
OUString
WriteToString
()
const
;
void
InterpretColumnList
(
const
String
&
rString
);
void
InterpretColumnList
(
const
OU
String
&
rString
);
CharSet
GetCharSet
()
const
{
return
eCharSet
;
}
CharSet
GetCharSet
()
const
{
return
eCharSet
;
}
bool
GetCharSetSystem
()
const
{
return
bCharSetSystem
;
}
bool
GetCharSetSystem
()
const
{
return
bCharSetSystem
;
}
const
String
&
GetFieldSeps
()
const
{
return
aFieldSeps
;
}
const
OUString
&
GetFieldSeps
()
const
{
return
aFieldSeps
;
}
bool
IsMergeSeps
()
const
{
return
bMergeFieldSeps
;
}
bool
IsMergeSeps
()
const
{
return
bMergeFieldSeps
;
}
bool
IsQuotedAsText
()
const
{
return
bQuotedFieldAsText
;
}
bool
IsQuotedAsText
()
const
{
return
bQuotedFieldAsText
;
}
bool
IsDetectSpecialNumber
()
const
{
return
bDetectSpecialNumber
;
}
bool
IsDetectSpecialNumber
()
const
{
return
bDetectSpecialNumber
;
}
...
@@ -86,7 +86,7 @@ public:
...
@@ -86,7 +86,7 @@ public:
void
SetCharSet
(
CharSet
eNew
)
{
eCharSet
=
eNew
;
}
void
SetCharSet
(
CharSet
eNew
)
{
eCharSet
=
eNew
;
}
void
SetCharSetSystem
(
bool
bSet
)
{
bCharSetSystem
=
bSet
;
}
void
SetCharSetSystem
(
bool
bSet
)
{
bCharSetSystem
=
bSet
;
}
void
SetFixedLen
(
bool
bSet
)
{
bFixedLen
=
bSet
;
}
void
SetFixedLen
(
bool
bSet
)
{
bFixedLen
=
bSet
;
}
void
SetFieldSeps
(
const
String
&
rStr
)
{
aFieldSeps
=
rStr
;
}
void
SetFieldSeps
(
const
OU
String
&
rStr
)
{
aFieldSeps
=
rStr
;
}
void
SetMergeSeps
(
bool
bSet
)
{
bMergeFieldSeps
=
bSet
;
}
void
SetMergeSeps
(
bool
bSet
)
{
bMergeFieldSeps
=
bSet
;
}
void
SetQuotedAsText
(
bool
bSet
)
{
bQuotedFieldAsText
=
bSet
;
}
void
SetQuotedAsText
(
bool
bSet
)
{
bQuotedFieldAsText
=
bSet
;
}
void
SetDetectSpecialNumber
(
bool
bSet
)
{
bDetectSpecialNumber
=
bSet
;
}
void
SetDetectSpecialNumber
(
bool
bSet
)
{
bDetectSpecialNumber
=
bSet
;
}
...
@@ -108,7 +108,7 @@ public:
...
@@ -108,7 +108,7 @@ public:
If FALSE, the string is taken as is and each character is
If FALSE, the string is taken as is and each character is
expected to be one separator.
expected to be one separator.
*/
*/
static
sal_Unicode
GetWeightedFieldSep
(
const
String
&
rFieldSeps
,
bool
bDecodeNumbers
);
static
sal_Unicode
GetWeightedFieldSep
(
const
OU
String
&
rFieldSeps
,
bool
bDecodeNumbers
);
};
};
/// How ScImportAsciiDlg is called
/// How ScImportAsciiDlg is called
...
...
sc/source/ui/inc/autofmt.hxx
Dosyayı görüntüle @
fbb07536
...
@@ -69,13 +69,13 @@ private:
...
@@ -69,13 +69,13 @@ private:
long
mnDataColWidth1
;
long
mnDataColWidth1
;
long
mnDataColWidth2
;
long
mnDataColWidth2
;
long
mnRowHeight
;
long
mnRowHeight
;
const
String
aStrJan
;
const
OUString
aStrJan
;
const
String
aStrFeb
;
const
OUString
aStrFeb
;
const
String
aStrMar
;
const
OUString
aStrMar
;
const
String
aStrNorth
;
const
OUString
aStrNorth
;
const
String
aStrMid
;
const
OUString
aStrMid
;
const
String
aStrSouth
;
const
OUString
aStrSouth
;
const
String
aStrSum
;
const
OUString
aStrSum
;
SvNumberFormatter
*
pNumFmt
;
SvNumberFormatter
*
pNumFmt
;
//-------------------------------------------
//-------------------------------------------
SC_DLLPRIVATE
void
Init
();
SC_DLLPRIVATE
void
Init
();
...
@@ -101,7 +101,7 @@ private:
...
@@ -101,7 +101,7 @@ private:
Font
&
rCJKFont
,
Font
&
rCJKFont
,
Font
&
rCTLFont
);
Font
&
rCTLFont
);
SC_DLLPRIVATE
String
MakeNumberString
(
String
cellString
,
sal_Bool
bAddDec
);
SC_DLLPRIVATE
OUString
MakeNumberString
(
OU
String
cellString
,
sal_Bool
bAddDec
);
SC_DLLPRIVATE
void
DrawFrameLine
(
const
::
editeng
::
SvxBorderLine
&
rLineD
,
SC_DLLPRIVATE
void
DrawFrameLine
(
const
::
editeng
::
SvxBorderLine
&
rLineD
,
Point
from
,
Point
from
,
Point
to
,
Point
to
,
...
...
sc/source/ui/inc/autostyl.hxx
Dosyayı görüntüle @
fbb07536
...
@@ -52,9 +52,9 @@ public:
...
@@ -52,9 +52,9 @@ public:
ScAutoStyleList
(
ScDocShell
*
pShell
);
ScAutoStyleList
(
ScDocShell
*
pShell
);
~
ScAutoStyleList
();
~
ScAutoStyleList
();
void
AddInitial
(
const
ScRange
&
rRange
,
const
String
&
rStyle1
,
void
AddInitial
(
const
ScRange
&
rRange
,
const
OU
String
&
rStyle1
,
sal_uLong
nTimeout
,
const
String
&
rStyle2
);
sal_uLong
nTimeout
,
const
OU
String
&
rStyle2
);
void
AddEntry
(
sal_uLong
nTimeout
,
const
ScRange
&
rRange
,
const
String
&
rStyle
);
void
AddEntry
(
sal_uLong
nTimeout
,
const
ScRange
&
rRange
,
const
OU
String
&
rStyle
);
void
ExecuteAllNow
();
void
ExecuteAllNow
();
};
};
...
...
sc/source/ui/miscdlgs/acredlin.cxx
Dosyayı görüntüle @
fbb07536
...
@@ -888,7 +888,7 @@ IMPL_LINK_NOARG(ScAcceptChgDlg, RefHandle)
...
@@ -888,7 +888,7 @@ IMPL_LINK_NOARG(ScAcceptChgDlg, RefHandle)
return
0
;
return
0
;
}
}
IMPL_LINK
(
ScAcceptChgDlg
,
RefInfoHandle
,
String
*
,
pResult
)
IMPL_LINK
(
ScAcceptChgDlg
,
RefInfoHandle
,
OU
String
*
,
pResult
)
{
{
sal_uInt16
nId
;
sal_uInt16
nId
;
...
...
sc/source/ui/miscdlgs/anyrefdg.cxx
Dosyayı görüntüle @
fbb07536
...
@@ -141,7 +141,7 @@ void ScFormulaReferenceHelper::ShowSimpleReference(const OUString& rStr)
...
@@ -141,7 +141,7 @@ void ScFormulaReferenceHelper::ShowSimpleReference(const OUString& rStr)
}
}
}
}
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
bool
ScFormulaReferenceHelper
::
ParseWithNames
(
ScRangeList
&
rRanges
,
const
String
&
rStr
,
ScDocument
*
pDoc
)
bool
ScFormulaReferenceHelper
::
ParseWithNames
(
ScRangeList
&
rRanges
,
const
OU
String
&
rStr
,
ScDocument
*
pDoc
)
{
{
bool
bError
=
false
;
bool
bError
=
false
;
rRanges
.
RemoveAll
();
rRanges
.
RemoveAll
();
...
@@ -152,7 +152,7 @@ bool ScFormulaReferenceHelper::ParseWithNames( ScRangeList& rRanges, const Strin
...
@@ -152,7 +152,7 @@ bool ScFormulaReferenceHelper::ParseWithNames( ScRangeList& rRanges, const Strin
for
(
xub_StrLen
nToken
=
0
;
nToken
<
nTokenCnt
;
++
nToken
)
for
(
xub_StrLen
nToken
=
0
;
nToken
<
nTokenCnt
;
++
nToken
)
{
{
ScRange
aRange
;
ScRange
aRange
;
String
aRangeStr
(
rStr
.
GetToken
(
nToken
)
);
String
aRangeStr
(
rStr
.
getToken
(
nToken
,
';'
)
);
sal_uInt16
nFlags
=
aRange
.
ParseAny
(
aRangeStr
,
pDoc
,
aDetails
);
sal_uInt16
nFlags
=
aRange
.
ParseAny
(
aRangeStr
,
pDoc
,
aDetails
);
if
(
nFlags
&
SCA_VALID
)
if
(
nFlags
&
SCA_VALID
)
...
@@ -898,7 +898,7 @@ sal_Bool ScRefHandler::IsDocAllowed(SfxObjectShell* pDocSh) const // pDocSh ma
...
@@ -898,7 +898,7 @@ sal_Bool ScRefHandler::IsDocAllowed(SfxObjectShell* pDocSh) const // pDocSh ma
aCmpName
=
pDocSh
->
GetTitle
();
aCmpName
=
pDocSh
->
GetTitle
();
// if aDocName isn't initialized, allow
// if aDocName isn't initialized, allow
return
(
aDocName
.
Len
()
==
0
||
aDocName
==
aCmpName
);
return
(
aDocName
.
isEmpty
()
||
aDocName
==
aCmpName
);
}
}
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
...
@@ -1004,7 +1004,7 @@ IMPL_LINK_NOARG(ScRefHandler, UpdateFocusHdl)
...
@@ -1004,7 +1004,7 @@ IMPL_LINK_NOARG(ScRefHandler, UpdateFocusHdl)
return
0
;
return
0
;
}
}
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
bool
ScRefHandler
::
ParseWithNames
(
ScRangeList
&
rRanges
,
const
String
&
rStr
,
ScDocument
*
pDoc
)
bool
ScRefHandler
::
ParseWithNames
(
ScRangeList
&
rRanges
,
const
OU
String
&
rStr
,
ScDocument
*
pDoc
)
{
{
return
m_aHelper
.
ParseWithNames
(
rRanges
,
rStr
,
pDoc
);
return
m_aHelper
.
ParseWithNames
(
rRanges
,
rStr
,
pDoc
);
}
}
...
...
sc/source/ui/unoobj/textuno.cxx
Dosyayı görüntüle @
fbb07536
...
@@ -952,7 +952,7 @@ ScCellEditSource* ScCellTextData::GetOriginalSource()
...
@@ -952,7 +952,7 @@ ScCellEditSource* ScCellTextData::GetOriginalSource()
return
pOriginalSource
;
return
pOriginalSource
;
}
}
void
ScCellTextData
::
GetCellText
(
const
ScAddress
&
rCellPos
,
String
&
rText
)
void
ScCellTextData
::
GetCellText
(
const
ScAddress
&
rCellPos
,
OU
String
&
rText
)
{
{
if
(
pDocShell
)
if
(
pDocShell
)
{
{
...
@@ -990,7 +990,7 @@ SvxTextForwarder* ScCellTextData::GetTextForwarder()
...
@@ -990,7 +990,7 @@ SvxTextForwarder* ScCellTextData::GetTextForwarder()
if
(
bDataValid
)
if
(
bDataValid
)
return
pForwarder
;
return
pForwarder
;
String
aText
;
OU
String
aText
;
if
(
pDocShell
)
if
(
pDocShell
)
{
{
...
@@ -1013,7 +1013,7 @@ SvxTextForwarder* ScCellTextData::GetTextForwarder()
...
@@ -1013,7 +1013,7 @@ SvxTextForwarder* ScCellTextData::GetTextForwarder()
else
else
{
{
GetCellText
(
aCellPos
,
aText
);
GetCellText
(
aCellPos
,
aText
);
if
(
aText
.
Len
())
if
(
!
aText
.
isEmpty
())
pEditEngine
->
SetTextNewDefaults
(
aText
,
aDefaults
);
pEditEngine
->
SetTextNewDefaults
(
aText
,
aDefaults
);
else
else
pEditEngine
->
SetDefaults
(
aDefaults
);
pEditEngine
->
SetDefaults
(
aDefaults
);
...
...
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