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
3c38dd9b
Kaydet (Commit)
3c38dd9b
authored
Eyl 17, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sc/inc/externalrefmgr.hxx from String to OUString
Change-Id: I71c755f05eb47e26193ae87cb2f9cd618cfaf13d
üst
4f684749
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
externalrefmgr.hxx
sc/inc/externalrefmgr.hxx
+5
-6
externalrefmgr.cxx
sc/source/ui/docshell/externalrefmgr.cxx
+3
-3
No files found.
sc/inc/externalrefmgr.hxx
Dosyayı görüntüle @
3c38dd9b
...
@@ -43,7 +43,6 @@
...
@@ -43,7 +43,6 @@
class
ScDocument
;
class
ScDocument
;
class
ScTokenArray
;
class
ScTokenArray
;
class
String
;
class
SfxObjectShellRef
;
class
SfxObjectShellRef
;
class
Window
;
class
Window
;
class
ScFormulaCell
;
class
ScFormulaCell
;
...
@@ -53,7 +52,7 @@ class ScExternalRefCache;
...
@@ -53,7 +52,7 @@ class ScExternalRefCache;
class
ScExternalRefLink
:
public
::
sfx2
::
SvBaseLink
class
ScExternalRefLink
:
public
::
sfx2
::
SvBaseLink
{
{
public
:
public
:
ScExternalRefLink
(
ScDocument
*
pDoc
,
sal_uInt16
nFileId
,
const
String
&
rFilter
);
ScExternalRefLink
(
ScDocument
*
pDoc
,
sal_uInt16
nFileId
,
const
OU
String
&
rFilter
);
virtual
~
ScExternalRefLink
();
virtual
~
ScExternalRefLink
();
virtual
void
Closed
();
virtual
void
Closed
();
...
@@ -70,7 +69,7 @@ private:
...
@@ -70,7 +69,7 @@ private:
DECL_LINK
(
ExternalRefEndEditHdl
,
void
*
);
DECL_LINK
(
ExternalRefEndEditHdl
,
void
*
);
sal_uInt16
mnFileId
;
sal_uInt16
mnFileId
;
String
maFilterName
;
OUString
maFilterName
;
ScDocument
*
mpDoc
;
ScDocument
*
mpDoc
;
bool
mbDoRefresh
;
bool
mbDoRefresh
;
};
};
...
@@ -242,7 +241,7 @@ public:
...
@@ -242,7 +241,7 @@ public:
bool
isDocInitialized
(
sal_uInt16
nFileId
);
bool
isDocInitialized
(
sal_uInt16
nFileId
);
void
initializeDoc
(
sal_uInt16
nFileId
,
const
::
std
::
vector
<
OUString
>&
rTabNames
);
void
initializeDoc
(
sal_uInt16
nFileId
,
const
::
std
::
vector
<
OUString
>&
rTabNames
);
String
getTableName
(
sal_uInt16
nFileId
,
size_t
nCacheId
)
const
;
OU
String
getTableName
(
sal_uInt16
nFileId
,
size_t
nCacheId
)
const
;
void
getAllTableNames
(
sal_uInt16
nFileId
,
::
std
::
vector
<
OUString
>&
rTabNames
)
const
;
void
getAllTableNames
(
sal_uInt16
nFileId
,
::
std
::
vector
<
OUString
>&
rTabNames
)
const
;
SCsTAB
getTabSpan
(
sal_uInt16
nFileId
,
const
OUString
&
rStartTabName
,
const
OUString
&
rEndTabName
)
const
;
SCsTAB
getTabSpan
(
sal_uInt16
nFileId
,
const
OUString
&
rStartTabName
,
const
OUString
&
rEndTabName
)
const
;
void
getAllNumberFormats
(
::
std
::
vector
<
sal_uInt32
>&
rNumFmts
)
const
;
void
getAllNumberFormats
(
::
std
::
vector
<
sal_uInt32
>&
rNumFmts
)
const
;
...
@@ -413,7 +412,7 @@ public:
...
@@ -413,7 +412,7 @@ public:
OUString
maFilterOptions
;
OUString
maFilterOptions
;
bool
bUnsaved
;
bool
bUnsaved
;
void
maybeCreateRealFileName
(
const
String
&
rOwnDocName
);
void
maybeCreateRealFileName
(
const
OU
String
&
rOwnDocName
);
};
};
public
:
public
:
...
@@ -573,7 +572,7 @@ public:
...
@@ -573,7 +572,7 @@ public:
* If false, it returns an URI adjusted for
* If false, it returns an URI adjusted for
* relocated document.
* relocated document.
*
*
* @return const String* external document URI.
* @return const
OU
String* external document URI.
*/
*/
const
OUString
*
getExternalFileName
(
sal_uInt16
nFileId
,
bool
bForceOriginal
=
false
);
const
OUString
*
getExternalFileName
(
sal_uInt16
nFileId
,
bool
bForceOriginal
=
false
);
bool
hasExternalFile
(
sal_uInt16
nFileId
)
const
;
bool
hasExternalFile
(
sal_uInt16
nFileId
)
const
;
...
...
sc/source/ui/docshell/externalrefmgr.cxx
Dosyayı görüntüle @
3c38dd9b
...
@@ -866,7 +866,7 @@ void ScExternalRefCache::initializeDoc(sal_uInt16 nFileId, const vector<OUString
...
@@ -866,7 +866,7 @@ void ScExternalRefCache::initializeDoc(sal_uInt16 nFileId, const vector<OUString
pDoc
->
mbInitFromSource
=
true
;
pDoc
->
mbInitFromSource
=
true
;
}
}
String
ScExternalRefCache
::
getTableName
(
sal_uInt16
nFileId
,
size_t
nCacheId
)
const
OU
String
ScExternalRefCache
::
getTableName
(
sal_uInt16
nFileId
,
size_t
nCacheId
)
const
{
{
if
(
DocItem
*
pDoc
=
getDocItem
(
nFileId
)
)
if
(
DocItem
*
pDoc
=
getDocItem
(
nFileId
)
)
if
(
nCacheId
<
pDoc
->
maTableNames
.
size
()
)
if
(
nCacheId
<
pDoc
->
maTableNames
.
size
()
)
...
@@ -1201,7 +1201,7 @@ ScExternalRefCache::DocItem* ScExternalRefCache::getDocItem(sal_uInt16 nFileId)
...
@@ -1201,7 +1201,7 @@ ScExternalRefCache::DocItem* ScExternalRefCache::getDocItem(sal_uInt16 nFileId)
// ============================================================================
// ============================================================================
ScExternalRefLink
::
ScExternalRefLink
(
ScDocument
*
pDoc
,
sal_uInt16
nFileId
,
const
String
&
rFilter
)
:
ScExternalRefLink
::
ScExternalRefLink
(
ScDocument
*
pDoc
,
sal_uInt16
nFileId
,
const
OU
String
&
rFilter
)
:
::
sfx2
::
SvBaseLink
(
::
sfx2
::
LINKUPDATE_ONCALL
,
FORMAT_FILE
),
::
sfx2
::
SvBaseLink
(
::
sfx2
::
LINKUPDATE_ONCALL
,
FORMAT_FILE
),
mnFileId
(
nFileId
),
mnFileId
(
nFileId
),
maFilterName
(
rFilter
),
maFilterName
(
rFilter
),
...
@@ -2323,7 +2323,7 @@ void ScExternalRefManager::maybeLinkExternalFile(sal_uInt16 nFileId)
...
@@ -2323,7 +2323,7 @@ void ScExternalRefManager::maybeLinkExternalFile(sal_uInt16 nFileId)
maLinkedDocs
.
insert
(
LinkedDocMap
::
value_type
(
nFileId
,
true
));
maLinkedDocs
.
insert
(
LinkedDocMap
::
value_type
(
nFileId
,
true
));
}
}
void
ScExternalRefManager
::
SrcFileData
::
maybeCreateRealFileName
(
const
String
&
rOwnDocName
)
void
ScExternalRefManager
::
SrcFileData
::
maybeCreateRealFileName
(
const
OU
String
&
rOwnDocName
)
{
{
if
(
maRelativeName
.
isEmpty
())
if
(
maRelativeName
.
isEmpty
())
// No relative path given. Nothing to do.
// No relative path given. Nothing to do.
...
...
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