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
c927e5ed
Kaydet (Commit)
c927e5ed
authored
May 28, 2012
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
targeted string re-work
Change-Id: I03f894f52cd4115f4871a82eb6e481c5642362da
üst
f9598738
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
WinImplHelper.cxx
sysui/source/win32/misc/WinImplHelper.cxx
+18
-18
resourceprovider.cxx
sysui/source/win32/misc/resourceprovider.cxx
+1
-1
No files found.
sysui/source/win32/misc/WinImplHelper.cxx
Dosyayı görüntüle @
c927e5ed
...
@@ -133,9 +133,9 @@ void SAL_CALL ListboxAddItem( HWND hwnd, const Any& aItem, const Reference< XInt
...
@@ -133,9 +133,9 @@ void SAL_CALL ListboxAddItem( HWND hwnd, const Any& aItem, const Reference< XInt
if
(
!
aItem
.
hasValue
(
)
||
if
(
!
aItem
.
hasValue
(
)
||
aItem
.
getValueType
(
)
!=
getCppuType
((
OUString
*
)
0
)
)
aItem
.
getValueType
(
)
!=
getCppuType
((
OUString
*
)
0
)
)
throw
IllegalArgumentException
(
throw
IllegalArgumentException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"invalid value type or any has no value"
))
,
"invalid value type or any has no value"
,
rXInterface
,
rXInterface
,
aArgPos
);
aArgPos
);
OUString
cbItem
;
OUString
cbItem
;
aItem
>>=
cbItem
;
aItem
>>=
cbItem
;
...
@@ -155,9 +155,9 @@ void SAL_CALL ListboxAddItems( HWND hwnd, const Any& aItemList, const Reference<
...
@@ -155,9 +155,9 @@ void SAL_CALL ListboxAddItems( HWND hwnd, const Any& aItemList, const Reference<
if
(
!
aItemList
.
hasValue
(
)
||
if
(
!
aItemList
.
hasValue
(
)
||
aItemList
.
getValueType
(
)
!=
getCppuType
((
Sequence
<
OUString
>*
)
0
)
)
aItemList
.
getValueType
(
)
!=
getCppuType
((
Sequence
<
OUString
>*
)
0
)
)
throw
IllegalArgumentException
(
throw
IllegalArgumentException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"invalid value type or any has no value"
))
,
"invalid value type or any has no value"
,
rXInterface
,
rXInterface
,
aArgPos
);
aArgPos
);
Sequence
<
OUString
>
aStringList
;
Sequence
<
OUString
>
aStringList
;
aItemList
>>=
aStringList
;
aItemList
>>=
aStringList
;
...
@@ -183,9 +183,9 @@ void SAL_CALL ListboxDeleteItem( HWND hwnd, const Any& aPosition, const Referenc
...
@@ -183,9 +183,9 @@ void SAL_CALL ListboxDeleteItem( HWND hwnd, const Any& aPosition, const Referenc
(
aPosition
.
getValueType
(
)
!=
getCppuType
((
sal_Int16
*
)
0
))
&&
(
aPosition
.
getValueType
(
)
!=
getCppuType
((
sal_Int16
*
)
0
))
&&
(
aPosition
.
getValueType
(
)
!=
getCppuType
((
sal_Int8
*
)
0
))
)
)
(
aPosition
.
getValueType
(
)
!=
getCppuType
((
sal_Int8
*
)
0
))
)
)
throw
IllegalArgumentException
(
throw
IllegalArgumentException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"invalid value type or any has no value"
))
,
"invalid value type or any has no value"
,
rXInterface
,
rXInterface
,
aArgPos
);
aArgPos
);
sal_Int32
nPos
;
sal_Int32
nPos
;
aPosition
>>=
nPos
;
aPosition
>>=
nPos
;
...
@@ -196,7 +196,7 @@ void SAL_CALL ListboxDeleteItem( HWND hwnd, const Any& aPosition, const Referenc
...
@@ -196,7 +196,7 @@ void SAL_CALL ListboxDeleteItem( HWND hwnd, const Any& aPosition, const Referenc
// index was not correct
// index was not correct
if
(
CB_ERR
==
lRet
)
if
(
CB_ERR
==
lRet
)
throw
IllegalArgumentException
(
throw
IllegalArgumentException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"inavlid item position"
))
,
"inavlid item position"
,
rXInterface
,
rXInterface
,
aArgPos
);
aArgPos
);
}
}
...
@@ -235,16 +235,16 @@ void SAL_CALL ListboxSetSelectedItem( HWND hwnd, const Any& aPosition, const Ref
...
@@ -235,16 +235,16 @@ void SAL_CALL ListboxSetSelectedItem( HWND hwnd, const Any& aPosition, const Ref
(
aPosition
.
getValueType
(
)
!=
getCppuType
((
sal_Int16
*
)
0
))
&&
(
aPosition
.
getValueType
(
)
!=
getCppuType
((
sal_Int16
*
)
0
))
&&
(
aPosition
.
getValueType
(
)
!=
getCppuType
((
sal_Int8
*
)
0
))
)
)
(
aPosition
.
getValueType
(
)
!=
getCppuType
((
sal_Int8
*
)
0
))
)
)
throw
IllegalArgumentException
(
throw
IllegalArgumentException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"invalid value type or any has no value"
))
,
"invalid value type or any has no value"
,
rXInterface
,
rXInterface
,
aArgPos
);
aArgPos
);
sal_Int32
nPos
;
sal_Int32
nPos
;
aPosition
>>=
nPos
;
aPosition
>>=
nPos
;
if
(
nPos
<
-
1
)
if
(
nPos
<
-
1
)
throw
IllegalArgumentException
(
throw
IllegalArgumentException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"invalid index"
))
,
"invalid index"
,
rXInterface
,
rXInterface
,
aArgPos
);
aArgPos
);
...
@@ -252,7 +252,7 @@ void SAL_CALL ListboxSetSelectedItem( HWND hwnd, const Any& aPosition, const Ref
...
@@ -252,7 +252,7 @@ void SAL_CALL ListboxSetSelectedItem( HWND hwnd, const Any& aPosition, const Ref
if
(
(
CB_ERR
==
lRet
)
&&
(
-
1
!=
nPos
)
)
if
(
(
CB_ERR
==
lRet
)
&&
(
-
1
!=
nPos
)
)
throw
IllegalArgumentException
(
throw
IllegalArgumentException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"invalid index"
))
,
"invalid index"
,
rXInterface
,
rXInterface
,
aArgPos
);
aArgPos
);
}
}
...
@@ -329,9 +329,9 @@ void SAL_CALL CheckboxSetState(
...
@@ -329,9 +329,9 @@ void SAL_CALL CheckboxSetState(
if
(
!
aState
.
hasValue
(
)
||
if
(
!
aState
.
hasValue
(
)
||
aState
.
getValueType
(
)
!=
getCppuType
((
sal_Bool
*
)
0
)
)
aState
.
getValueType
(
)
!=
getCppuType
((
sal_Bool
*
)
0
)
)
throw
IllegalArgumentException
(
throw
IllegalArgumentException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"invalid value type or any has no value"
))
,
"invalid value type or any has no value"
,
rXInterface
,
rXInterface
,
aArgPos
);
aArgPos
);
sal_Bool
bCheckState
=
*
reinterpret_cast
<
const
sal_Bool
*
>
(
aState
.
getValue
(
)
);
sal_Bool
bCheckState
=
*
reinterpret_cast
<
const
sal_Bool
*
>
(
aState
.
getValue
(
)
);
WPARAM
wParam
=
bCheckState
?
BST_CHECKED
:
BST_UNCHECKED
;
WPARAM
wParam
=
bCheckState
?
BST_CHECKED
:
BST_UNCHECKED
;
...
...
sysui/source/win32/misc/resourceprovider.cxx
Dosyayı görüntüle @
c927e5ed
...
@@ -58,7 +58,7 @@ using namespace ::com::sun::star::ui::dialogs::CommonFilePickerElementIds;
...
@@ -58,7 +58,7 @@ using namespace ::com::sun::star::ui::dialogs::CommonFilePickerElementIds;
// id + 100
// id + 100
#define LB_LABEL_OFFSET 100
#define LB_LABEL_OFFSET 100
const
rtl
::
OUString
TILDE
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"~"
)
);
const
rtl
::
OUString
TILDE
(
"~"
);
const
sal_Unicode
TILDE_SIGN
=
L'~'
;
const
sal_Unicode
TILDE_SIGN
=
L'~'
;
#define FOLDERPICKER_TITLE 500
#define FOLDERPICKER_TITLE 500
...
...
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