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
9f73517e
Kaydet (Commit)
9f73517e
authored
Eyl 18, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sw/inc/unotxdoc.hxx from String to OUString
Change-Id: I72387b5ed7e459615250d874c1404220822d57b5
üst
25006b42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
unotxdoc.hxx
sw/inc/unotxdoc.hxx
+13
-13
unotxdoc.cxx
sw/source/ui/uno/unotxdoc.cxx
+7
-7
No files found.
sw/inc/unotxdoc.hxx
Dosyayı görüntüle @
9f73517e
...
...
@@ -437,13 +437,13 @@ class SwXLinkTargetSupplier : public cppu::WeakImplHelper2
>
{
SwXTextDocument
*
pxDoc
;
String
sTables
;
String
sFrames
;
String
sGraphics
;
String
sOLEs
;
String
sSections
;
String
sOutlines
;
String
sBookmarks
;
OU
String
sTables
;
OU
String
sFrames
;
OU
String
sGraphics
;
OU
String
sOLEs
;
OU
String
sSections
;
OU
String
sOutlines
;
OU
String
sBookmarks
;
public
:
SwXLinkTargetSupplier
(
SwXTextDocument
&
rxDoc
);
...
...
@@ -477,17 +477,17 @@ class SwXLinkNameAccessWrapper : public cppu::WeakImplHelper4
{
css
::
uno
::
Reference
<
css
::
container
::
XNameAccess
>
xRealAccess
;
const
SfxItemPropertySet
*
pPropSet
;
const
String
sLinkSuffix
;
const
String
sLinkDisplayName
;
const
OU
String
sLinkSuffix
;
const
OU
String
sLinkDisplayName
;
css
::
uno
::
Reference
<
css
::
text
::
XTextDocument
>
xDoc
;
SwXTextDocument
*
pxDoc
;
public
:
SwXLinkNameAccessWrapper
(
css
::
uno
::
Reference
<
css
::
container
::
XNameAccess
>
xAccess
,
const
String
&
rLinkDisplayName
,
String
sSuffix
);
const
OUString
&
rLinkDisplayName
,
OU
String
sSuffix
);
SwXLinkNameAccessWrapper
(
SwXTextDocument
&
rxDoc
,
const
String
&
rLinkDisplayName
,
String
sSuffix
);
const
OUString
&
rLinkDisplayName
,
OU
String
sSuffix
);
~
SwXLinkNameAccessWrapper
();
//XNameAccess
...
...
@@ -525,10 +525,10 @@ class SwXOutlineTarget : public cppu::WeakImplHelper2
>
{
const
SfxItemPropertySet
*
pPropSet
;
String
sOutlineText
;
OU
String
sOutlineText
;
public
:
SwXOutlineTarget
(
const
String
&
rOutlineText
);
SwXOutlineTarget
(
const
OU
String
&
rOutlineText
);
~
SwXOutlineTarget
();
//XPropertySet
...
...
sw/source/ui/uno/unotxdoc.cxx
Dosyayı görüntüle @
9f73517e
...
...
@@ -3488,7 +3488,7 @@ Sequence< OUString > SwXLinkTargetSupplier::getSupportedServiceNames(void)
}
SwXLinkNameAccessWrapper
::
SwXLinkNameAccessWrapper
(
Reference
<
XNameAccess
>
xAccess
,
const
String
&
rLinkDisplayName
,
String
sSuffix
)
:
Reference
<
XNameAccess
>
xAccess
,
const
OUString
&
rLinkDisplayName
,
OU
String
sSuffix
)
:
xRealAccess
(
xAccess
),
pPropSet
(
aSwMapProvider
.
GetPropertySet
(
PROPERTY_MAP_LINK_TARGET
)),
sLinkSuffix
(
sSuffix
),
...
...
@@ -3498,7 +3498,7 @@ SwXLinkNameAccessWrapper::SwXLinkNameAccessWrapper(
}
SwXLinkNameAccessWrapper
::
SwXLinkNameAccessWrapper
(
SwXTextDocument
&
rxDoc
,
const
String
&
rLinkDisplayName
,
String
sSuffix
)
:
const
OUString
&
rLinkDisplayName
,
OU
String
sSuffix
)
:
pPropSet
(
aSwMapProvider
.
GetPropertySet
(
PROPERTY_MAP_LINK_TARGET
)),
sLinkSuffix
(
sSuffix
),
sLinkDisplayName
(
rLinkDisplayName
),
...
...
@@ -3606,13 +3606,13 @@ sal_Bool SwXLinkNameAccessWrapper::hasByName(const OUString& rName)
{
sal_Bool
bRet
=
sal_False
;
String
sParam
(
rName
);
if
(
sParam
.
Len
()
>
sLinkSuffix
.
Len
()
)
if
(
sParam
.
Len
()
>
sLinkSuffix
.
getLength
()
)
{
String
sCmp
=
sParam
.
Copy
(
sParam
.
Len
()
-
sLinkSuffix
.
Len
(),
sLinkSuffix
.
Len
());
String
sCmp
=
sParam
.
Copy
(
sParam
.
Len
()
-
sLinkSuffix
.
getLength
(),
sLinkSuffix
.
getLength
());
if
(
sCmp
==
sLinkSuffix
)
{
sParam
=
sParam
.
Copy
(
0
,
sParam
.
Len
()
-
sLinkSuffix
.
Len
());
sParam
=
sParam
.
Copy
(
0
,
sParam
.
Len
()
-
sLinkSuffix
.
getLength
());
if
(
pxDoc
)
{
if
(
!
pxDoc
->
GetDocShell
())
...
...
@@ -3774,7 +3774,7 @@ Sequence< OUString > SwXLinkNameAccessWrapper::getSupportedServiceNames(void)
return
aRet
;
}
SwXOutlineTarget
::
SwXOutlineTarget
(
const
String
&
rOutlineText
)
:
SwXOutlineTarget
::
SwXOutlineTarget
(
const
OU
String
&
rOutlineText
)
:
pPropSet
(
aSwMapProvider
.
GetPropertySet
(
PROPERTY_MAP_LINK_TARGET
)),
sOutlineText
(
rOutlineText
)
{
...
...
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