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
f4343782
Kaydet (Commit)
f4343782
authored
Eyl 20, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sc/.../tabvwsh.hxx from String to OUString
Change-Id: I5b9cf40acf4f6d2f4daf948e2c85e6cd9580425a
üst
91281ddf
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
33 additions
and
33 deletions
+33
-33
tabvwsh.hxx
sc/source/ui/inc/tabvwsh.hxx
+15
-15
cellsh.cxx
sc/source/ui/view/cellsh.cxx
+2
-2
tabvwsh2.cxx
sc/source/ui/view/tabvwsh2.cxx
+3
-3
tabvwsh4.cxx
sc/source/ui/view/tabvwsh4.cxx
+5
-5
tabvwsh9.cxx
sc/source/ui/view/tabvwsh9.cxx
+1
-1
tabvwsha.cxx
sc/source/ui/view/tabvwsha.cxx
+1
-1
tabvwshe.cxx
sc/source/ui/view/tabvwshe.cxx
+2
-2
tabvwshg.cxx
sc/source/ui/view/tabvwshg.cxx
+4
-4
No files found.
sc/source/ui/inc/tabvwsh.hxx
Dosyayı görüntüle @
f4343782
...
...
@@ -104,7 +104,7 @@ private:
sal_uInt16
nDrawSfxId
;
sal_uInt16
nCtrlSfxId
;
sal_uInt16
nFormSfxId
;
String
sDrawCustom
;
// current custom shape type
OUString
sDrawCustom
;
// current custom shape type
ScDrawShell
*
pDrawShell
;
ScDrawTextObjectBar
*
pDrawTextShell
;
ScEditShell
*
pEditShell
;
...
...
@@ -164,7 +164,7 @@ private:
SbxObject
*
pScSbxObject
;
sal_Bool
bChartAreaValid
;
// if chart is drawn
String
aEditChartName
;
OUString
aEditChartName
;
ScRangeListRef
aChartSource
;
Rectangle
aChartPos
;
SCTAB
nChartDestTab
;
...
...
@@ -173,7 +173,7 @@ private:
SfxBroadcaster
*
pAccessibilityBroadcaster
;
static
const
int
MASTERENUMCOMMANDS
=
6
;
String
aCurrShapeEnumCommand
[
MASTERENUMCOMMANDS
];
OUString
aCurrShapeEnumCommand
[
MASTERENUMCOMMANDS
];
// ugly hack for Add button in ScNameDlg
boost
::
ptr_map
<
OUString
,
ScRangeName
>
maRangeMap
;
...
...
@@ -186,14 +186,14 @@ private:
SfxShell
*
GetMySubShell
()
const
;
void
DoReadUserData
(
const
String
&
rData
);
void
DoReadUserData
(
const
OU
String
&
rData
);
void
DoReadUserDataSequence
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
rSettings
);
DECL_LINK
(
SimpleRefClose
,
void
*
);
DECL_LINK
(
SimpleRefDone
,
String
*
);
DECL_LINK
(
SimpleRefAborted
,
String
*
);
DECL_LINK
(
SimpleRefChange
,
String
*
);
DECL_LINK
(
SimpleRefDone
,
OU
String
*
);
DECL_LINK
(
SimpleRefAborted
,
OU
String
*
);
DECL_LINK
(
SimpleRefChange
,
OU
String
*
);
DECL_LINK
(
FormControlActivated
,
void
*
);
protected
:
...
...
@@ -215,7 +215,7 @@ protected:
virtual
OUString
GetSelectionText
(
bool
bWholeWord
);
virtual
sal_Bool
HasSelection
(
sal_Bool
bText
)
const
;
virtual
String
GetDescription
()
const
;
virtual
OUString
GetDescription
()
const
;
virtual
void
WriteUserData
(
OUString
&
,
bool
bBrowse
=
false
);
virtual
void
ReadUserData
(
const
OUString
&
,
bool
bBrowse
=
false
);
...
...
@@ -340,7 +340,7 @@ public:
void
SetChartArea
(
const
ScRangeListRef
&
rSource
,
const
Rectangle
&
rDest
);
sal_Bool
GetChartArea
(
ScRangeListRef
&
rSource
,
Rectangle
&
rDest
,
SCTAB
&
rTab
)
const
;
void
SetEditChartName
(
const
String
&
aStr
){
aEditChartName
=
aStr
;}
void
SetEditChartName
(
const
OU
String
&
aStr
){
aEditChartName
=
aStr
;}
virtual
void
Notify
(
SfxBroadcaster
&
rBC
,
const
SfxHint
&
rHint
);
...
...
@@ -372,13 +372,13 @@ public:
FmFormShell
*
GetFormShell
()
const
{
return
pFormShell
;
}
void
InsertURL
(
const
String
&
rName
,
const
String
&
rURL
,
const
OUString
&
rTarget
,
void
InsertURL
(
const
OUString
&
rName
,
const
OU
String
&
rURL
,
const
OUString
&
rTarget
,
sal_uInt16
nMode
);
void
InsertURLButton
(
const
String
&
rName
,
const
String
&
rURL
,
const
String
&
rTarget
,
void
InsertURLButton
(
const
OUString
&
rName
,
const
OUString
&
rURL
,
const
OU
String
&
rTarget
,
const
Point
*
pInsPos
=
NULL
);
void
InsertURLField
(
const
String
&
rName
,
const
String
&
rURL
,
const
String
&
rTarget
);
void
InsertURLField
(
const
OUString
&
rName
,
const
OUString
&
rURL
,
const
OU
String
&
rTarget
);
sal_Bool
SelectObject
(
const
String
&
rName
);
sal_Bool
SelectObject
(
const
OU
String
&
rName
);
void
SetInFormatDialog
(
sal_Bool
bFlag
)
{
bInFormatDialog
=
bFlag
;}
sal_Bool
IsInFormatDialog
()
{
return
bInFormatDialog
;}
...
...
@@ -393,9 +393,9 @@ public:
void
ExecuteCellFormatDlg
(
SfxRequest
&
rReq
,
const
OString
&
rTabPage
=
OString
());
sal_Bool
GetFunction
(
String
&
rFuncStr
,
sal_uInt16
nErrCode
=
0
);
sal_Bool
GetFunction
(
OU
String
&
rFuncStr
,
sal_uInt16
nErrCode
=
0
);
void
StartSimpleRefDialog
(
const
String
&
rTitle
,
const
String
&
rInitVal
,
void
StartSimpleRefDialog
(
const
OUString
&
rTitle
,
const
OU
String
&
rInitVal
,
sal_Bool
bCloseOnButtonUp
,
sal_Bool
bSingleCell
,
sal_Bool
bMultiSelection
);
void
StopSimpleRefDialog
();
...
...
sc/source/ui/view/cellsh.cxx
Dosyayı görüntüle @
f4343782
...
...
@@ -699,7 +699,7 @@ void ScCellShell::GetState(SfxItemSet &rSet)
nErrCode
=
pCell
->
GetErrCode
();
}
String
aFuncStr
;
OU
String
aFuncStr
;
if
(
pTabViewShell
->
GetFunction
(
aFuncStr
,
nErrCode
)
)
rSet
.
Put
(
SfxStringItem
(
nWhich
,
aFuncStr
)
);
}
...
...
@@ -716,7 +716,7 @@ void ScCellShell::GetState(SfxItemSet &rSet)
case
SID_STATUS_SUM
:
{
String
aFuncStr
;
OU
String
aFuncStr
;
if
(
pTabViewShell
->
GetFunction
(
aFuncStr
)
)
rSet
.
Put
(
SfxStringItem
(
nWhich
,
aFuncStr
)
);
}
...
...
sc/source/ui/view/tabvwsh2.cxx
Dosyayı görüntüle @
f4343782
...
...
@@ -154,7 +154,7 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
if
(
pArgs
->
GetItemState
(
nNewId
,
sal_True
,
&
pItem
)
==
SFX_ITEM_SET
&&
pItem
->
ISA
(
SfxStringItem
)
)
sStringItemValue
=
static_cast
<
const
SfxStringItem
*>
(
pItem
)
->
GetValue
();
}
bool
bSwitchCustom
=
(
sStringItemValue
.
Len
()
&&
sDrawCustom
.
Len
()
&&
sStringItemValue
!=
sDrawCustom
);
bool
bSwitchCustom
=
(
sStringItemValue
.
Len
()
&&
!
sDrawCustom
.
isEmpty
()
&&
sStringItemValue
!=
sDrawCustom
);
if
(
nNewId
==
SID_INSERT_FRAME
)
// vom Tbx-Button
nNewId
=
SID_DRAW_TEXT
;
...
...
@@ -222,7 +222,7 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
}
nDrawSfxId
=
nNewId
;
sDrawCustom
.
Erase
()
;
// value is set below for custom shapes
sDrawCustom
=
""
;
// value is set below for custom shapes
if
(
nNewId
!=
SID_DRAW_CHART
)
// Chart nicht mit DrawShell
{
...
...
@@ -445,7 +445,7 @@ void ScTabViewShell::GetDrawState(SfxItemSet &rSet)
}
}
sal_Bool
ScTabViewShell
::
SelectObject
(
const
String
&
rName
)
sal_Bool
ScTabViewShell
::
SelectObject
(
const
OU
String
&
rName
)
{
ScDrawView
*
pView
=
GetViewData
()
->
GetScDrawView
();
if
(
!
pView
)
...
...
sc/source/ui/view/tabvwsh4.cxx
Dosyayı görüntüle @
f4343782
...
...
@@ -535,7 +535,7 @@ void ScTabViewShell::DoReadUserDataSequence( const uno::Sequence < beans::Proper
// DoReadUserData is also called from ctor when switching from print preview
void
ScTabViewShell
::
DoReadUserData
(
const
String
&
rData
)
void
ScTabViewShell
::
DoReadUserData
(
const
OU
String
&
rData
)
{
Window
*
pOldWin
=
GetActiveWin
();
sal_Bool
bFocus
=
pOldWin
&&
pOldWin
->
HasFocus
();
...
...
@@ -1126,7 +1126,7 @@ static ScTabViewObj* lcl_GetViewObj( ScTabViewShell& rShell )
return
pRet
;
}
IMPL_LINK
(
ScTabViewShell
,
SimpleRefDone
,
String
*
,
pResult
)
IMPL_LINK
(
ScTabViewShell
,
SimpleRefDone
,
OU
String
*
,
pResult
)
{
ScTabViewObj
*
pImpObj
=
lcl_GetViewObj
(
*
this
);
if
(
pImpObj
&&
pResult
)
...
...
@@ -1134,7 +1134,7 @@ IMPL_LINK( ScTabViewShell, SimpleRefDone, String*, pResult )
return
0
;
}
IMPL_LINK
(
ScTabViewShell
,
SimpleRefAborted
,
String
*
,
pResult
)
IMPL_LINK
(
ScTabViewShell
,
SimpleRefAborted
,
OU
String
*
,
pResult
)
{
ScTabViewObj
*
pImpObj
=
lcl_GetViewObj
(
*
this
);
if
(
pImpObj
&&
pResult
)
...
...
@@ -1142,7 +1142,7 @@ IMPL_LINK( ScTabViewShell, SimpleRefAborted, String*, pResult )
return
0
;
}
IMPL_LINK
(
ScTabViewShell
,
SimpleRefChange
,
String
*
,
pResult
)
IMPL_LINK
(
ScTabViewShell
,
SimpleRefChange
,
OU
String
*
,
pResult
)
{
ScTabViewObj
*
pImpObj
=
lcl_GetViewObj
(
*
this
);
if
(
pImpObj
&&
pResult
)
...
...
@@ -1151,7 +1151,7 @@ IMPL_LINK( ScTabViewShell, SimpleRefChange, String*, pResult )
}
void
ScTabViewShell
::
StartSimpleRefDialog
(
const
String
&
rTitle
,
const
String
&
rInitVal
,
const
OUString
&
rTitle
,
const
OU
String
&
rInitVal
,
sal_Bool
bCloseOnButtonUp
,
sal_Bool
bSingleCell
,
sal_Bool
bMultiSelection
)
{
SfxViewFrame
*
pViewFrm
=
GetViewFrame
();
...
...
sc/source/ui/view/tabvwsh9.cxx
Dosyayı görüntüle @
f4343782
...
...
@@ -115,7 +115,7 @@ ScInputHandler* ScTabViewShell::GetInputHandler() const
//------------------------------------------------------------------
String
ScTabViewShell
::
GetDescription
()
const
OU
String
ScTabViewShell
::
GetDescription
()
const
{
return
OUString
(
" ** Test ** "
);
}
...
...
sc/source/ui/view/tabvwsha.cxx
Dosyayı görüntüle @
f4343782
...
...
@@ -53,7 +53,7 @@
#include "cellvalue.hxx"
#include "tokenarray.hxx"
sal_Bool
ScTabViewShell
::
GetFunction
(
String
&
rFuncStr
,
sal_uInt16
nErrCode
)
sal_Bool
ScTabViewShell
::
GetFunction
(
OU
String
&
rFuncStr
,
sal_uInt16
nErrCode
)
{
String
aStr
;
...
...
sc/source/ui/view/tabvwshe.cxx
Dosyayı görüntüle @
f4343782
...
...
@@ -119,7 +119,7 @@ OUString ScTabViewShell::GetSelectionText( bool bWholeWord )
//------------------------------------------------------------------------
void
ScTabViewShell
::
InsertURL
(
const
String
&
rName
,
const
String
&
rURL
,
const
OUString
&
rTarget
,
void
ScTabViewShell
::
InsertURL
(
const
OUString
&
rName
,
const
OU
String
&
rURL
,
const
OUString
&
rTarget
,
sal_uInt16
nMode
)
{
SvxLinkInsertMode
eMode
=
(
SvxLinkInsertMode
)
nMode
;
...
...
@@ -166,7 +166,7 @@ static void lcl_SelectFieldAfterInsert( EditView& rView )
}
}
void
ScTabViewShell
::
InsertURLField
(
const
String
&
rName
,
const
String
&
rURL
,
const
String
&
rTarget
)
void
ScTabViewShell
::
InsertURLField
(
const
OUString
&
rName
,
const
OUString
&
rURL
,
const
OU
String
&
rTarget
)
{
SvxURLField
aURLField
(
rURL
,
rName
,
SVXURLFORMAT_REPR
);
aURLField
.
SetTargetFrame
(
rTarget
);
...
...
sc/source/ui/view/tabvwshg.cxx
Dosyayı görüntüle @
f4343782
...
...
@@ -38,8 +38,8 @@ using namespace com::sun::star;
//------------------------------------------------------------------------
void
ScTabViewShell
::
InsertURLButton
(
const
String
&
rName
,
const
String
&
rURL
,
const
String
&
rTarget
,
void
ScTabViewShell
::
InsertURLButton
(
const
OUString
&
rName
,
const
OU
String
&
rURL
,
const
OU
String
&
rTarget
,
const
Point
*
pInsPos
)
{
// Tabelle geschuetzt ?
...
...
@@ -78,9 +78,9 @@ void ScTabViewShell::InsertURLButton( const String& rName, const String& rURL,
aAny
<<=
aTmp
;
xPropSet
->
setPropertyValue
(
"TargetURL"
,
aAny
);
if
(
rTarget
.
Len
()
)
if
(
!
rTarget
.
isEmpty
()
)
{
aAny
<<=
OUString
(
rTarget
)
;
aAny
<<=
rTarget
;
xPropSet
->
setPropertyValue
(
"TargetFrame"
,
aAny
);
}
...
...
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