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
eace5e0a
Kaydet (Commit)
eace5e0a
authored
Agu 02, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove last uses of XubString in sc
Change-Id: I44c42f0268b0d7c2e77ab7e807610d39b7b7ea56
üst
e9d8831d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
26 deletions
+26
-26
IControlReferenceHandler.hxx
include/formula/IControlReferenceHandler.hxx
+1
-1
Formula.cxx
reportdesign/source/ui/dlg/Formula.cxx
+1
-1
Formula.hxx
reportdesign/source/ui/inc/Formula.hxx
+1
-1
formula.cxx
sc/source/ui/formdlg/formula.cxx
+1
-1
anyrefdg.hxx
sc/source/ui/inc/anyrefdg.hxx
+6
-6
formula.hxx
sc/source/ui/inc/formula.hxx
+1
-1
anyrefdg.cxx
sc/source/ui/miscdlgs/anyrefdg.cxx
+15
-15
No files found.
include/formula/IControlReferenceHandler.hxx
Dosyayı görüntüle @
eace5e0a
...
...
@@ -28,7 +28,7 @@ namespace formula
class
FORMULA_DLLPUBLIC
SAL_NO_VTABLE
IControlReferenceHandler
{
public
:
virtual
void
ShowReference
(
const
String
&
_sRef
)
=
0
;
virtual
void
ShowReference
(
const
OU
String
&
_sRef
)
=
0
;
virtual
void
HideReference
(
sal_Bool
bDoneRefMode
=
sal_True
)
=
0
;
virtual
void
ReleaseFocus
(
RefEdit
*
pEdit
,
RefButton
*
pButton
=
NULL
)
=
0
;
virtual
void
ToggleCollapsed
(
RefEdit
*
pEdit
,
RefButton
*
pButton
=
NULL
)
=
0
;
...
...
reportdesign/source/ui/dlg/Formula.cxx
Dosyayı görüntüle @
eace5e0a
...
...
@@ -173,7 +173,7 @@ IFunctionManager* FormulaDialog::getFunctionManager()
return
m_aFunctionManager
.
get
();
}
// -----------------------------------------------------------------------------
void
FormulaDialog
::
ShowReference
(
const
String
&
/*_sRef*/
)
void
FormulaDialog
::
ShowReference
(
const
OU
String
&
/*_sRef*/
)
{
}
// -----------------------------------------------------------------------------
...
...
reportdesign/source/ui/inc/Formula.hxx
Dosyayı görüntüle @
eace5e0a
...
...
@@ -87,7 +87,7 @@ public:
virtual
::
std
::
auto_ptr
<
formula
::
FormulaTokenArray
>
convertToTokenArray
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
sheet
::
FormulaToken
>&
_aTokenList
);
// IControlReferenceHandler
virtual
void
ShowReference
(
const
String
&
_sRef
);
virtual
void
ShowReference
(
const
OU
String
&
_sRef
);
virtual
void
HideReference
(
sal_Bool
bDoneRefMode
=
sal_True
);
virtual
void
ReleaseFocus
(
formula
::
RefEdit
*
pEdit
,
formula
::
RefButton
*
pButton
=
NULL
);
virtual
void
ToggleCollapsed
(
formula
::
RefEdit
*
pEdit
,
formula
::
RefButton
*
pButton
=
NULL
);
...
...
sc/source/ui/formdlg/formula.cxx
Dosyayı görüntüle @
eace5e0a
...
...
@@ -497,7 +497,7 @@ void ScFormulaDlg::showReference(const String& _sFormula)
{
ShowReference
(
_sFormula
);
}
void
ScFormulaDlg
::
ShowReference
(
const
String
&
_sFormula
)
void
ScFormulaDlg
::
ShowReference
(
const
OU
String
&
_sFormula
)
{
m_aHelper
.
ShowReference
(
_sFormula
);
}
...
...
sc/source/ui/inc/anyrefdg.hxx
Dosyayı görüntüle @
eace5e0a
...
...
@@ -75,12 +75,12 @@ public:
ScFormulaReferenceHelper
(
IAnyRefDialog
*
_pDlg
,
SfxBindings
*
_pBindings
);
~
ScFormulaReferenceHelper
();
void
ShowSimpleReference
(
const
XubString
&
rStr
);
void
ShowFormulaReference
(
const
XubString
&
rStr
);
void
ShowSimpleReference
(
const
OUString
&
rStr
);
void
ShowFormulaReference
(
const
OUString
&
rStr
);
bool
ParseWithNames
(
ScRangeList
&
rRanges
,
const
String
&
rStr
,
ScDocument
*
pDoc
);
void
Init
();
void
ShowReference
(
const
XubString
&
rStr
);
void
ShowReference
(
const
OUString
&
rStr
);
void
ReleaseFocus
(
formula
::
RefEdit
*
pEdit
,
formula
::
RefButton
*
pButton
=
NULL
);
void
HideReference
(
bool
bDoneRefMode
=
true
);
void
RefInputStart
(
formula
::
RefEdit
*
pEdit
,
formula
::
RefButton
*
pButton
=
NULL
);
...
...
@@ -136,8 +136,8 @@ protected:
virtual
void
RefInputStart
(
formula
::
RefEdit
*
pEdit
,
formula
::
RefButton
*
pButton
=
NULL
);
virtual
void
RefInputDone
(
sal_Bool
bForced
=
false
);
void
ShowSimpleReference
(
const
XubString
&
rStr
);
void
ShowFormulaReference
(
const
XubString
&
rStr
);
void
ShowSimpleReference
(
const
OUString
&
rStr
);
void
ShowFormulaReference
(
const
OUString
&
rStr
);
bool
ParseWithNames
(
ScRangeList
&
rRanges
,
const
String
&
rStr
,
ScDocument
*
pDoc
);
...
...
@@ -155,7 +155,7 @@ public:
virtual
sal_Bool
IsTableLocked
()
const
;
virtual
sal_Bool
IsDocAllowed
(
SfxObjectShell
*
pDocSh
)
const
;
virtual
void
ShowReference
(
const
XubString
&
rStr
);
virtual
void
ShowReference
(
const
OUString
&
rStr
);
virtual
void
HideReference
(
sal_Bool
bDoneRefMode
=
sal_True
);
virtual
void
ToggleCollapsed
(
formula
::
RefEdit
*
pEdit
,
formula
::
RefButton
*
pButton
=
NULL
);
...
...
sc/source/ui/inc/formula.hxx
Dosyayı görüntüle @
eace5e0a
...
...
@@ -86,7 +86,7 @@ public:
virtual
sal_Bool
Close
();
// sc::IAnyRefDialog
virtual
void
ShowReference
(
const
String
&
_sRef
);
virtual
void
ShowReference
(
const
OU
String
&
_sRef
);
virtual
void
HideReference
(
sal_Bool
bDoneRefMode
=
sal_True
);
virtual
void
SetReference
(
const
ScRange
&
rRef
,
ScDocument
*
pD
);
...
...
sc/source/ui/miscdlgs/anyrefdg.cxx
Dosyayı görüntüle @
eace5e0a
...
...
@@ -112,7 +112,7 @@ void ScFormulaReferenceHelper::enableInput( bool bEnable )
}
}
// -----------------------------------------------------------------------------
void
ScFormulaReferenceHelper
::
ShowSimpleReference
(
const
XubString
&
rStr
)
void
ScFormulaReferenceHelper
::
ShowSimpleReference
(
const
OUString
&
rStr
)
{
if
(
bEnableColorRef
)
{
...
...
@@ -172,7 +172,7 @@ bool ScFormulaReferenceHelper::ParseWithNames( ScRangeList& rRanges, const Strin
return
!
bError
;
}
// -----------------------------------------------------------------------------
void
ScFormulaReferenceHelper
::
ShowFormulaReference
(
const
XubString
&
rStr
)
void
ScFormulaReferenceHelper
::
ShowFormulaReference
(
const
OUString
&
rStr
)
{
if
(
bEnableColorRef
)
{
...
...
@@ -251,20 +251,20 @@ void ScFormulaReferenceHelper::HideReference( bool bDoneRefMode )
}
}
// -----------------------------------------------------------------------------
void
ScFormulaReferenceHelper
::
ShowReference
(
const
XubString
&
rStr
)
void
ScFormulaReferenceHelper
::
ShowReference
(
const
OUString
&
rStr
)
{
if
(
bEnableColorRef
)
{
if
(
rStr
.
Search
(
'('
)
!=
STRING_NOTFOUND
||
rStr
.
Search
(
'+'
)
!=
STRING_NOTFOUND
||
rStr
.
Search
(
'*'
)
!=
STRING_NOTFOUND
||
rStr
.
Search
(
'-'
)
!=
STRING_NOTFOUND
||
rStr
.
Search
(
'/'
)
!=
STRING_NOTFOUND
||
rStr
.
Search
(
'&'
)
!=
STRING_NOTFOUND
||
rStr
.
Search
(
'<'
)
!=
STRING_NOTFOUND
||
rStr
.
Search
(
'>'
)
!=
STRING_NOTFOUND
||
rStr
.
Search
(
'='
)
!=
STRING_NOTFOUND
||
rStr
.
Search
(
'^'
)
!=
STRING_NOTFOUND
)
if
(
rStr
.
indexOf
(
'('
)
!=
-
1
||
rStr
.
indexOf
(
'+'
)
!=
-
1
||
rStr
.
indexOf
(
'*'
)
!=
-
1
||
rStr
.
indexOf
(
'-'
)
!=
-
1
||
rStr
.
indexOf
(
'/'
)
!=
-
1
||
rStr
.
indexOf
(
'&'
)
!=
-
1
||
rStr
.
indexOf
(
'<'
)
!=
-
1
||
rStr
.
indexOf
(
'>'
)
!=
-
1
||
rStr
.
indexOf
(
'='
)
!=
-
1
||
rStr
.
indexOf
(
'^'
)
!=
-
1
)
{
ShowFormulaReference
(
rStr
);
}
...
...
@@ -1014,9 +1014,9 @@ void ScRefHandler::HideReference( sal_Bool bDoneRefMode )
m_aHelper
.
HideReference
(
bDoneRefMode
);
}
// -----------------------------------------------------------------------------
void
ScRefHandler
::
ShowReference
(
const
XubString
&
rStr
)
void
ScRefHandler
::
ShowReference
(
const
OUString
&
rStr
)
{
m_aHelper
.
ShowReference
(
rStr
);
m_aHelper
.
ShowReference
(
rStr
);
}
// -----------------------------------------------------------------------------
void
ScRefHandler
::
ReleaseFocus
(
formula
::
RefEdit
*
pEdit
,
formula
::
RefButton
*
pButton
)
...
...
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