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
36191386
Kaydet (Commit)
36191386
authored
Eki 08, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sw/source/ui/inc/n*.hxx from String to OUString
Change-Id: Ic5d034cdc013910f932d1126204c362a269018b0
üst
a4154870
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
navicont.hxx
sw/source/ui/inc/navicont.hxx
+6
-6
navipi.hxx
sw/source/ui/inc/navipi.hxx
+4
-4
content.cxx
sw/source/ui/utlui/content.cxx
+2
-2
navipi.cxx
sw/source/ui/utlui/navipi.cxx
+2
-2
wrtsh2.cxx
sw/source/ui/wrtsh/wrtsh2.cxx
+2
-2
No files found.
sw/source/ui/inc/navicont.hxx
Dosyayı görüntüle @
36191386
...
...
@@ -32,19 +32,19 @@ class TransferableDataHelper;
class
NaviContentBookmark
{
String
aUrl
;
// URL including jump mark
String
aDescr
;
// description
OUString
aUrl
;
// URL including jump mark
OUString
aDescr
;
// description
long
nDocSh
;
// address of DocShell
sal_uInt16
nDefDrag
;
// description contains defaultDragType
public
:
NaviContentBookmark
();
NaviContentBookmark
(
const
String
&
rUrl
,
const
String
&
rDesc
,
NaviContentBookmark
(
const
OUString
&
rUrl
,
const
OU
String
&
rDesc
,
sal_uInt16
nDragType
,
const
SwDocShell
*
);
const
String
&
GetURL
()
const
{
return
aUrl
;
}
const
String
&
GetDescription
()
const
{
return
aDescr
;
}
sal_uInt16
GetDefaultDragType
()
const
{
return
nDefDrag
;
}
const
OUString
&
GetURL
()
const
{
return
aUrl
;
}
const
OUString
&
GetDescription
()
const
{
return
aDescr
;
}
sal_uInt16
GetDefaultDragType
()
const
{
return
nDefDrag
;
}
void
Copy
(
TransferDataContainer
&
rData
)
const
;
sal_Bool
Paste
(
TransferableDataHelper
&
rData
);
};
...
...
sw/source/ui/inc/navipi.hxx
Dosyayı görüntüle @
36191386
...
...
@@ -65,9 +65,9 @@ class SwNavigationPI : public Window,
SwGlobalTree
aGlobalTree
;
ListBox
aDocListBox
;
Timer
aPageChgTimer
;
String
sContentFileName
;
String
aContextArr
[
3
];
String
aStatusArr
[
4
];
OUString
sContentFileName
;
OUString
aContextArr
[
3
];
OUString
aStatusArr
[
4
];
Point
aBoxBottomLeft
;
// Pos when Box is at bottom
SfxObjectShellLock
*
pxObjectShell
;
...
...
@@ -155,7 +155,7 @@ public:
virtual
void
StateChanged
(
sal_uInt16
nSID
,
SfxItemState
eState
,
const
SfxPoolItem
*
pState
);
static
String
CreateDropFileName
(
TransferableDataHelper
&
rData
);
static
OUString
CreateDropFileName
(
TransferableDataHelper
&
rData
);
static
OUString
CleanEntry
(
const
OUString
&
rEntry
);
sal_uInt16
GetRegionDropMode
()
const
{
return
nRegionMode
;}
...
...
sw/source/ui/utlui/content.cxx
Dosyayı görüntüle @
36191386
...
...
@@ -3028,8 +3028,8 @@ NaviContentBookmark::NaviContentBookmark()
{
}
NaviContentBookmark
::
NaviContentBookmark
(
const
String
&
rUrl
,
const
String
&
rDesc
,
NaviContentBookmark
::
NaviContentBookmark
(
const
OU
String
&
rUrl
,
const
OU
String
&
rDesc
,
sal_uInt16
nDragType
,
const
SwDocShell
*
pDocSh
)
:
aUrl
(
rUrl
),
...
...
sw/source/ui/utlui/navipi.cxx
Dosyayı görüntüle @
36191386
...
...
@@ -1142,7 +1142,7 @@ IMPL_LINK(SwNavigationPI, DoneLink, SfxPoolItem *, pItem)
return
0
;
}
String
SwNavigationPI
::
CreateDropFileName
(
TransferableDataHelper
&
rData
)
OU
String
SwNavigationPI
::
CreateDropFileName
(
TransferableDataHelper
&
rData
)
{
OUString
sFileName
;
sal_uLong
nFmt
;
...
...
@@ -1201,7 +1201,7 @@ sal_Int8 SwNavigationPI::ExecuteDrop( const ExecuteDropEvent& rEvt )
if
(
!
aDesc
.
Detect
()
)
// accept no graphics
{
if
(
STRING_NOTFOUND
==
sFileName
.
Search
(
'#'
)
&&
(
!
sContentFileName
.
Len
()
||
sContentFileName
!=
sFileName
))
&&
(
sContentFileName
.
isEmpty
()
||
sContentFileName
!=
sFileName
))
{
nRet
=
rEvt
.
mnAction
;
sFileName
=
comphelper
::
string
::
stripEnd
(
sFileName
,
0
);
...
...
sw/source/ui/wrtsh/wrtsh2.cxx
Dosyayı görüntüle @
36191386
...
...
@@ -444,10 +444,10 @@ void SwWrtShell::NavigatorPaste( const NaviContentBookmark& rBkmk,
else
{
SwSectionData
aSection
(
FILE_LINK_SECTION
,
GetUniqueSectionName
()
);
String
aLinkFile
(
rBkmk
.
GetURL
().
G
etToken
(
0
,
'#'
)
);
String
aLinkFile
(
rBkmk
.
GetURL
().
g
etToken
(
0
,
'#'
)
);
aLinkFile
+=
sfx2
::
cTokenSeparator
;
aLinkFile
+=
sfx2
::
cTokenSeparator
;
aLinkFile
+=
rBkmk
.
GetURL
().
G
etToken
(
1
,
'#'
);
aLinkFile
+=
rBkmk
.
GetURL
().
g
etToken
(
1
,
'#'
);
aSection
.
SetLinkFileName
(
aLinkFile
);
aSection
.
SetProtectFlag
(
true
);
const
SwSection
*
pIns
=
InsertSection
(
aSection
);
...
...
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