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
9e6f7702
Kaydet (Commit)
9e6f7702
authored
Eki 07, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sc/source/ui/undo/*.cxx from String to OUString
Change-Id: I2d2657c5f2ccdf37be0a2376650b66af8f3b1fce
üst
6bd2075b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
undoblk.cxx
sc/source/ui/undo/undoblk.cxx
+2
-2
undoblk3.cxx
sc/source/ui/undo/undoblk3.cxx
+4
-4
undocell.cxx
sc/source/ui/undo/undocell.cxx
+2
-2
undostyl.cxx
sc/source/ui/undo/undostyl.cxx
+3
-3
undotab.cxx
sc/source/ui/undo/undotab.cxx
+2
-2
No files found.
sc/source/ui/undo/undoblk.cxx
Dosyayı görüntüle @
9e6f7702
...
@@ -1509,7 +1509,7 @@ void ScUndoUseScenario::Repeat(SfxRepeatTarget& rTarget)
...
@@ -1509,7 +1509,7 @@ void ScUndoUseScenario::Repeat(SfxRepeatTarget& rTarget)
{
{
if
(
rTarget
.
ISA
(
ScTabViewTarget
))
if
(
rTarget
.
ISA
(
ScTabViewTarget
))
{
{
String
aTemp
=
aName
;
OU
String
aTemp
=
aName
;
((
ScTabViewTarget
&
)
rTarget
).
GetViewShell
()
->
UseScenario
(
aTemp
);
((
ScTabViewTarget
&
)
rTarget
).
GetViewShell
()
->
UseScenario
(
aTemp
);
}
}
}
}
...
@@ -1708,7 +1708,7 @@ void ScUndoEnterMatrix::Repeat(SfxRepeatTarget& rTarget)
...
@@ -1708,7 +1708,7 @@ void ScUndoEnterMatrix::Repeat(SfxRepeatTarget& rTarget)
{
{
if
(
rTarget
.
ISA
(
ScTabViewTarget
))
if
(
rTarget
.
ISA
(
ScTabViewTarget
))
{
{
String
aTemp
=
aFormula
;
OU
String
aTemp
=
aFormula
;
ScDocument
*
pDoc
=
pDocShell
->
GetDocument
();
ScDocument
*
pDoc
=
pDocShell
->
GetDocument
();
((
ScTabViewTarget
&
)
rTarget
).
GetViewShell
()
->
EnterMatrix
(
aTemp
,
pDoc
->
GetGrammar
());
((
ScTabViewTarget
&
)
rTarget
).
GetViewShell
()
->
EnterMatrix
(
aTemp
,
pDoc
->
GetGrammar
());
}
}
...
...
sc/source/ui/undo/undoblk3.cxx
Dosyayı görüntüle @
9e6f7702
...
@@ -998,7 +998,7 @@ void ScUndoReplace::Undo()
...
@@ -998,7 +998,7 @@ void ScUndoReplace::Undo()
else
if
(
pSearchItem
->
GetPattern
()
&&
else
if
(
pSearchItem
->
GetPattern
()
&&
pSearchItem
->
GetCommand
()
==
SVX_SEARCHCMD_REPLACE
)
pSearchItem
->
GetCommand
()
==
SVX_SEARCHCMD_REPLACE
)
{
{
String
aTempStr
=
pSearchItem
->
GetSearchString
();
// toggle
OU
String
aTempStr
=
pSearchItem
->
GetSearchString
();
// toggle
pSearchItem
->
SetSearchString
(
pSearchItem
->
GetReplaceString
());
pSearchItem
->
SetSearchString
(
pSearchItem
->
GetReplaceString
());
pSearchItem
->
SetReplaceString
(
aTempStr
);
pSearchItem
->
SetReplaceString
(
aTempStr
);
pDoc
->
ReplaceStyle
(
*
pSearchItem
,
pDoc
->
ReplaceStyle
(
*
pSearchItem
,
...
@@ -1470,9 +1470,9 @@ bool ScUndoRefreshLink::CanRepeat(SfxRepeatTarget& /* rTarget */) const
...
@@ -1470,9 +1470,9 @@ bool ScUndoRefreshLink::CanRepeat(SfxRepeatTarget& /* rTarget */) const
return
false
;
return
false
;
}
}
static
ScAreaLink
*
lcl_FindAreaLink
(
sfx2
::
LinkManager
*
pLinkManager
,
const
String
&
rDoc
,
static
ScAreaLink
*
lcl_FindAreaLink
(
sfx2
::
LinkManager
*
pLinkManager
,
const
OU
String
&
rDoc
,
const
String
&
rFlt
,
const
String
&
rOpt
,
const
OUString
&
rFlt
,
const
OU
String
&
rOpt
,
const
String
&
rSrc
,
const
ScRange
&
rDest
)
const
OU
String
&
rSrc
,
const
ScRange
&
rDest
)
{
{
const
::
sfx2
::
SvBaseLinks
&
rLinks
=
pLinkManager
->
GetLinks
();
const
::
sfx2
::
SvBaseLinks
&
rLinks
=
pLinkManager
->
GetLinks
();
sal_uInt16
nCount
=
pLinkManager
->
GetLinks
().
size
();
sal_uInt16
nCount
=
pLinkManager
->
GetLinks
().
size
();
...
...
sc/source/ui/undo/undocell.cxx
Dosyayı görüntüle @
9e6f7702
...
@@ -514,7 +514,7 @@ ScUndoPageBreak::~ScUndoPageBreak()
...
@@ -514,7 +514,7 @@ ScUndoPageBreak::~ScUndoPageBreak()
OUString
ScUndoPageBreak
::
GetComment
()
const
OUString
ScUndoPageBreak
::
GetComment
()
const
{
{
//"Column break" | "Row break" "insert" | "delete"
//"Column break" | "Row break" "insert" | "delete"
return
String
(
bColumn
?
return
OU
String
(
bColumn
?
(
bInsert
?
(
bInsert
?
ScGlobal
::
GetRscString
(
STR_UNDO_INSCOLBREAK
)
:
ScGlobal
::
GetRscString
(
STR_UNDO_INSCOLBREAK
)
:
ScGlobal
::
GetRscString
(
STR_UNDO_DELCOLBREAK
)
ScGlobal
::
GetRscString
(
STR_UNDO_DELCOLBREAK
)
...
@@ -601,7 +601,7 @@ void ScUndoPrintZoom::DoChange( sal_Bool bUndo )
...
@@ -601,7 +601,7 @@ void ScUndoPrintZoom::DoChange( sal_Bool bUndo )
sal_uInt16
nPages
=
bUndo
?
nOldPages
:
nNewPages
;
sal_uInt16
nPages
=
bUndo
?
nOldPages
:
nNewPages
;
ScDocument
*
pDoc
=
pDocShell
->
GetDocument
();
ScDocument
*
pDoc
=
pDocShell
->
GetDocument
();
String
aStyleName
=
pDoc
->
GetPageStyle
(
nTab
);
OU
String
aStyleName
=
pDoc
->
GetPageStyle
(
nTab
);
ScStyleSheetPool
*
pStylePool
=
pDoc
->
GetStyleSheetPool
();
ScStyleSheetPool
*
pStylePool
=
pDoc
->
GetStyleSheetPool
();
SfxStyleSheetBase
*
pStyleSheet
=
pStylePool
->
Find
(
aStyleName
,
SFX_STYLE_FAMILY_PAGE
);
SfxStyleSheetBase
*
pStyleSheet
=
pStylePool
->
Find
(
aStyleName
,
SFX_STYLE_FAMILY_PAGE
);
OSL_ENSURE
(
pStyleSheet
,
"PageStyle not found"
);
OSL_ENSURE
(
pStyleSheet
,
"PageStyle not found"
);
...
...
sc/source/ui/undo/undostyl.cxx
Dosyayı görüntüle @
9e6f7702
...
@@ -130,8 +130,8 @@ void ScUndoModifyStyle::DoChange( ScDocShell* pDocSh, const OUString& rName,
...
@@ -130,8 +130,8 @@ void ScUndoModifyStyle::DoChange( ScDocShell* pDocSh, const OUString& rName,
{
{
ScDocument
*
pDoc
=
pDocSh
->
GetDocument
();
ScDocument
*
pDoc
=
pDocSh
->
GetDocument
();
ScStyleSheetPool
*
pStlPool
=
pDoc
->
GetStyleSheetPool
();
ScStyleSheetPool
*
pStlPool
=
pDoc
->
GetStyleSheetPool
();
String
aNewName
=
rData
.
GetName
();
OU
String
aNewName
=
rData
.
GetName
();
sal_Bool
bDelete
=
(
aNewName
.
Len
()
==
0
);
// no new name -> delete style
sal_Bool
bDelete
=
aNewName
.
isEmpty
(
);
// no new name -> delete style
sal_Bool
bNew
=
(
rName
.
isEmpty
()
&&
!
bDelete
);
// creating new style
sal_Bool
bNew
=
(
rName
.
isEmpty
()
&&
!
bDelete
);
// creating new style
SfxStyleSheetBase
*
pStyle
=
NULL
;
SfxStyleSheetBase
*
pStyle
=
NULL
;
...
@@ -172,7 +172,7 @@ void ScUndoModifyStyle::DoChange( ScDocShell* pDocSh, const OUString& rName,
...
@@ -172,7 +172,7 @@ void ScUndoModifyStyle::DoChange( ScDocShell* pDocSh, const OUString& rName,
{
{
// modify style
// modify style
String
aNewParent
=
rData
.
GetParent
();
OU
String
aNewParent
=
rData
.
GetParent
();
if
(
aNewParent
!=
pStyle
->
GetParent
()
)
if
(
aNewParent
!=
pStyle
->
GetParent
()
)
pStyle
->
SetParent
(
aNewParent
);
pStyle
->
SetParent
(
aNewParent
);
...
...
sc/source/ui/undo/undotab.cxx
Dosyayı görüntüle @
9e6f7702
...
@@ -1088,7 +1088,7 @@ OUString ScUndoRemoveLink::GetComment() const
...
@@ -1088,7 +1088,7 @@ OUString ScUndoRemoveLink::GetComment() const
void
ScUndoRemoveLink
::
DoChange
(
sal_Bool
bLink
)
const
void
ScUndoRemoveLink
::
DoChange
(
sal_Bool
bLink
)
const
{
{
ScDocument
*
pDoc
=
pDocShell
->
GetDocument
();
ScDocument
*
pDoc
=
pDocShell
->
GetDocument
();
String
aEmpty
;
OU
String
aEmpty
;
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
if
(
bLink
)
// establish link
if
(
bLink
)
// establish link
pDoc
->
SetLink
(
pTabs
[
i
],
pModes
[
i
],
aDocName
,
aFltName
,
aOptions
,
pTabNames
[
i
],
nRefreshDelay
);
pDoc
->
SetLink
(
pTabs
[
i
],
pModes
[
i
],
aDocName
,
aFltName
,
aOptions
,
pTabNames
[
i
],
nRefreshDelay
);
...
@@ -1475,7 +1475,7 @@ ScUndoRenameObject::~ScUndoRenameObject()
...
@@ -1475,7 +1475,7 @@ ScUndoRenameObject::~ScUndoRenameObject()
OUString
ScUndoRenameObject
::
GetComment
()
const
OUString
ScUndoRenameObject
::
GetComment
()
const
{
{
// string resource shared with title for dialog
// string resource shared with title for dialog
return
String
(
ScResId
(
SCSTR_RENAMEOBJECT
)
);
return
OU
String
(
ScResId
(
SCSTR_RENAMEOBJECT
)
);
}
}
SdrObject
*
ScUndoRenameObject
::
GetObject
()
SdrObject
*
ScUndoRenameObject
::
GetObject
()
...
...
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