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
12949ecd
Kaydet (Commit)
12949ecd
authored
Mar 18, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
another round of build fixing
Change-Id: I79964b1e091b9a11a0e5724c6ce8465b31d25bff
üst
ba1d0181
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
24 deletions
+18
-24
svdde.hxx
include/svl/svdde.hxx
+5
-5
ddecli.cxx
svl/source/svdde/ddecli.cxx
+1
-1
ddedata.cxx
svl/source/svdde/ddedata.cxx
+8
-14
ddesvr.cxx
svl/source/svdde/ddesvr.cxx
+3
-3
ddedummy.cxx
svl/unx/source/svdde/ddedummy.cxx
+1
-1
No files found.
include/svl/svdde.hxx
Dosyayı görüntüle @
12949ecd
...
@@ -78,8 +78,8 @@ public:
...
@@ -78,8 +78,8 @@ public:
DdeData
&
operator
=
(
const
DdeData
&
);
DdeData
&
operator
=
(
const
DdeData
&
);
static
sal_uLong
GetExternalFormat
(
sal_uLong
nFmt
);
static
sal_uLong
GetExternalFormat
(
SotClipboardFormatId
nFmt
);
static
sal_uLong
GetInternalFormat
(
sal_uLong
nFmt
);
static
SotClipboardFormatId
GetInternalFormat
(
sal_uLong
nFmt
);
};
};
...
@@ -394,9 +394,9 @@ public:
...
@@ -394,9 +394,9 @@ public:
void
AddTopic
(
const
DdeTopic
&
);
void
AddTopic
(
const
DdeTopic
&
);
void
RemoveTopic
(
const
DdeTopic
&
);
void
RemoveTopic
(
const
DdeTopic
&
);
void
AddFormat
(
sal_uLong
);
void
AddFormat
(
SotClipboardFormatId
);
void
RemoveFormat
(
sal_uLong
);
void
RemoveFormat
(
SotClipboardFormatId
);
bool
HasFormat
(
sal_uLong
);
bool
HasFormat
(
SotClipboardFormatId
);
private
:
private
:
// DdeService( const DdeService& );
// DdeService( const DdeService& );
...
...
svl/source/svdde/ddecli.cxx
Dosyayı görüntüle @
12949ecd
...
@@ -273,7 +273,7 @@ void DdeTransaction::Execute()
...
@@ -273,7 +273,7 @@ void DdeTransaction::Execute()
HSZ
hItem
=
*
pName
;
HSZ
hItem
=
*
pName
;
void
*
pData
=
(
void
*
)(
const
void
*
)
aDdeData
;
void
*
pData
=
(
void
*
)(
const
void
*
)
aDdeData
;
DWORD
nData
=
(
DWORD
)(
long
)
aDdeData
;
DWORD
nData
=
(
DWORD
)(
long
)
aDdeData
;
sal_uLong
nIntFmt
=
aDdeData
.
pImp
->
nFmt
;
SotClipboardFormatId
nIntFmt
=
aDdeData
.
pImp
->
nFmt
;
UINT
nExtFmt
=
DdeData
::
GetExternalFormat
(
nIntFmt
);
UINT
nExtFmt
=
DdeData
::
GetExternalFormat
(
nIntFmt
);
DdeInstData
*
pInst
=
ImpGetInstData
();
DdeInstData
*
pInst
=
ImpGetInstData
();
...
...
svl/source/svdde/ddedata.cxx
Dosyayı görüntüle @
12949ecd
...
@@ -113,7 +113,7 @@ DdeData& DdeData::operator = ( const DdeData& rData )
...
@@ -113,7 +113,7 @@ DdeData& DdeData::operator = ( const DdeData& rData )
return
*
this
;
return
*
this
;
}
}
sal_uLong
DdeData
::
GetExternalFormat
(
sal_uLong
nFmt
)
sal_uLong
DdeData
::
GetExternalFormat
(
SotClipboardFormatId
nFmt
)
{
{
switch
(
nFmt
)
switch
(
nFmt
)
{
{
...
@@ -139,35 +139,29 @@ sal_uLong DdeData::GetExternalFormat( sal_uLong nFmt )
...
@@ -139,35 +139,29 @@ sal_uLong DdeData::GetExternalFormat( sal_uLong nFmt )
return
nFmt
;
return
nFmt
;
}
}
sal_uLong
DdeData
::
GetInternalFormat
(
sal_uLong
nFmt
)
SotClipboardFormatId
DdeData
::
GetInternalFormat
(
sal_uLong
nFmt
)
{
{
switch
(
nFmt
)
switch
(
nFmt
)
{
{
case
CF_TEXT
:
case
CF_TEXT
:
nFmt
=
SotClipboardFormatId
::
STRING
;
return
SotClipboardFormatId
::
STRING
;
break
;
case
CF_BITMAP
:
case
CF_BITMAP
:
nFmt
=
SotClipboardFormatId
::
BITMAP
;
return
SotClipboardFormatId
::
BITMAP
;
break
;
case
CF_METAFILEPICT
:
case
CF_METAFILEPICT
:
nFmt
=
SotClipboardFormatId
::
GDIMETAFILE
;
return
SotClipboardFormatId
::
GDIMETAFILE
;
break
;
default
:
default
:
#if defined(WNT)
#if defined(WNT)
if
(
nFmt
>=
CF_MAX
)
if
(
nFmt
>=
CF_MAX
)
{
{
TCHAR
szName
[
256
];
TCHAR
szName
[
256
];
if
(
GetClipboardFormatName
(
nFmt
,
szName
,
sizeof
(
szName
)
)
)
if
(
GetClipboardFormatName
(
nFmt
,
szName
,
sizeof
(
szName
)
)
)
nFmt
=
SotExchange
::
RegisterFormatName
(
OUString
(
reinterpret_cast
<
const
sal_Unicode
*>
(
szName
))
);
return
SotExchange
::
RegisterFormatName
(
OUString
(
reinterpret_cast
<
const
sal_Unicode
*>
(
szName
))
);
}
}
#endif
#endif
break
;
break
;
}
}
return
nFmt
;
return
static_cast
<
SotClipboardFormatId
>
(
nFmt
)
;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svl/source/svdde/ddesvr.cxx
Dosyayı görüntüle @
12949ecd
...
@@ -565,12 +565,12 @@ bool DdeService::HasCbFormat( sal_uInt16 nFmt )
...
@@ -565,12 +565,12 @@ bool DdeService::HasCbFormat( sal_uInt16 nFmt )
return
false
;
return
false
;
}
}
bool
DdeService
::
HasFormat
(
sal_uLong
nFmt
)
bool
DdeService
::
HasFormat
(
SotClipboardFormatId
nFmt
)
{
{
return
HasCbFormat
(
(
sal_uInt16
)
DdeData
::
GetExternalFormat
(
nFmt
));
return
HasCbFormat
(
(
sal_uInt16
)
DdeData
::
GetExternalFormat
(
nFmt
));
}
}
void
DdeService
::
AddFormat
(
sal_uLong
nFmt
)
void
DdeService
::
AddFormat
(
SotClipboardFormatId
nFmt
)
{
{
nFmt
=
DdeData
::
GetExternalFormat
(
nFmt
);
nFmt
=
DdeData
::
GetExternalFormat
(
nFmt
);
for
(
size_t
i
=
0
,
n
=
aFormats
.
size
();
i
<
n
;
++
i
)
for
(
size_t
i
=
0
,
n
=
aFormats
.
size
();
i
<
n
;
++
i
)
...
@@ -579,7 +579,7 @@ void DdeService::AddFormat( sal_uLong nFmt )
...
@@ -579,7 +579,7 @@ void DdeService::AddFormat( sal_uLong nFmt )
aFormats
.
push_back
(
nFmt
);
aFormats
.
push_back
(
nFmt
);
}
}
void
DdeService
::
RemoveFormat
(
sal_uLong
nFmt
)
void
DdeService
::
RemoveFormat
(
SotClipboardFormatId
nFmt
)
{
{
nFmt
=
DdeData
::
GetExternalFormat
(
nFmt
);
nFmt
=
DdeData
::
GetExternalFormat
(
nFmt
);
for
(
DdeFormats
::
iterator
it
=
aFormats
.
begin
();
it
!=
aFormats
.
end
();
++
it
)
for
(
DdeFormats
::
iterator
it
=
aFormats
.
begin
();
it
!=
aFormats
.
end
();
++
it
)
...
...
svl/unx/source/svdde/ddedummy.cxx
Dosyayı görüntüle @
12949ecd
...
@@ -252,7 +252,7 @@ OUString DdeService::GetHelp()
...
@@ -252,7 +252,7 @@ OUString DdeService::GetHelp()
return
OUString
();
return
OUString
();
}
}
void
DdeService
::
AddFormat
(
SAL_UNUSED_PARAMETER
sal_uLong
)
void
DdeService
::
AddFormat
(
SAL_UNUSED_PARAMETER
SotClipboardFormatId
)
{
{
}
}
...
...
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