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
1d4e0d9e
Kaydet (Commit)
1d4e0d9e
authored
Ock 24, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
reduce unnecessary includes
üst
bb147bbb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
29 deletions
+27
-29
dp_gui_updatedialog.cxx
desktop/source/deployment/gui/dp_gui_updatedialog.cxx
+15
-16
dialog.cxx
starmath/source/dialog.cxx
+12
-12
SalGtkFilePicker.cxx
vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+0
-1
No files found.
desktop/source/deployment/gui/dp_gui_updatedialog.cxx
Dosyayı görüntüle @
1d4e0d9e
...
...
@@ -97,7 +97,6 @@
#include "tools/link.hxx"
#include "tools/resid.hxx"
#include "tools/solar.h"
#include "tools/string.hxx"
#include "unotools/configmgr.hxx"
#include "vcl/button.hxx"
#include "vcl/dialog.hxx"
...
...
@@ -533,18 +532,18 @@ UpdateDialog::UpdateDialog(
m_help
(
this
,
DpGuiResId
(
RID_DLG_UPDATE_HELP
)),
m_ok
(
this
,
DpGuiResId
(
RID_DLG_UPDATE_OK
)),
m_close
(
this
,
DpGuiResId
(
RID_DLG_UPDATE_CLOSE
)),
m_error
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_ERROR
))),
m_none
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_NONE
))),
m_noInstallable
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_NOINSTALLABLE
))),
m_failure
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_FAILURE
))),
m_unknownError
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_UNKNOWNERROR
))),
m_noDescription
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_NODESCRIPTION
))),
m_noInstall
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_NOINSTALL
))),
m_noDependency
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_NODEPENDENCY
))),
m_noDependencyCurVer
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_NODEPENDENCY_CUR_VER
))),
m_browserbased
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_BROWSERBASED
))),
m_version
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_VERSION
))),
m_ignoredUpdate
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_IGNORED_UPDATE
))),
m_error
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_ERROR
))),
m_none
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_NONE
))),
m_noInstallable
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_NOINSTALLABLE
))),
m_failure
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_FAILURE
))),
m_unknownError
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_UNKNOWNERROR
))),
m_noDescription
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_NODESCRIPTION
))),
m_noInstall
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_NOINSTALL
))),
m_noDependency
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_NODEPENDENCY
))),
m_noDependencyCurVer
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_NODEPENDENCY_CUR_VER
))),
m_browserbased
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_BROWSERBASED
))),
m_version
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_VERSION
))),
m_ignoredUpdate
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_IGNORED_UPDATE
))),
m_updateData
(
*
updateData
),
m_thread
(
new
UpdateDialog
::
Thread
(
...
...
@@ -622,9 +621,9 @@ short UpdateDialog::Execute() {
UpdateDialog
::
CheckListBox
::
CheckListBox
(
UpdateDialog
&
dialog
,
ResId
const
&
resource
,
Image
const
&
normalStaticImage
)
:
SvxCheckListBox
(
&
dialog
,
resource
,
normalStaticImage
),
m_ignoreUpdate
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_IGNORE
)
)
),
m_ignoreAllUpdates
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_IGNORE_ALL
)
)
),
m_enableUpdate
(
String
(
DpGuiResId
(
RID_DLG_UPDATE_ENABLE
)
)
),
m_ignoreUpdate
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_IGNORE
)
)
),
m_ignoreAllUpdates
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_IGNORE_ALL
)
)
),
m_enableUpdate
(
ResId
::
to
String
(
DpGuiResId
(
RID_DLG_UPDATE_ENABLE
)
)
),
m_dialog
(
dialog
)
{}
...
...
starmath/source/dialog.cxx
Dosyayı görüntüle @
1d4e0d9e
...
...
@@ -663,7 +663,7 @@ SmCategoryDesc::SmCategoryDesc(const ResId& rResId, sal_uInt16 nCategoryIdx) :
{
if
(
IsAvailableRes
(
ResId
(
1
,
*
rResId
.
GetResMgr
()).
SetRT
(
RSC_STRING
)))
{
Name
=
Xub
String
(
ResId
(
1
,
*
rResId
.
GetResMgr
()));
Name
=
ResId
::
to
String
(
ResId
(
1
,
*
rResId
.
GetResMgr
()));
int
i
;
for
(
i
=
0
;
i
<
4
;
i
++
)
...
...
@@ -1510,7 +1510,7 @@ SmSymbolDialog::SmSymbolDialog(Window *pParent, OutputDevice *pFntListDevice,
if
(
bFreeRes
)
FreeResource
();
aSymbolSetName
=
String
();
aSymbolSetName
=
rtl
::
OU
String
();
aSymbolSet
.
clear
();
FillSymbolSets
();
if
(
aSymbolSets
.
GetEntryCount
()
>
0
)
...
...
@@ -1575,7 +1575,7 @@ bool SmSymbolDialog::SelectSymbolSet(const XubString &rSymbolSetName)
bool
bRet
=
false
;
sal_uInt16
nPos
=
aSymbolSets
.
GetEntryPos
(
rSymbolSetName
);
aSymbolSetName
=
String
();
aSymbolSetName
=
rtl
::
OU
String
();
aSymbolSet
.
clear
();
if
(
nPos
!=
LISTBOX_ENTRY_NOTFOUND
)
{
...
...
@@ -1676,7 +1676,7 @@ void SmSymDefineDialog::FillSymbols(ComboBox &rComboBox, bool bDeleteText)
rComboBox
.
Clear
();
if
(
bDeleteText
)
rComboBox
.
SetText
(
Xub
String
());
rComboBox
.
SetText
(
rtl
::
OU
String
());
ComboBox
&
rBox
=
&
rComboBox
==
&
aOldSymbols
?
aOldSymbolSets
:
aSymbolSets
;
SymbolPtrVec_t
aSymSet
(
aSymbolMgrCopy
.
GetSymbolSet
(
rBox
.
GetText
()
)
);
...
...
@@ -1694,7 +1694,7 @@ void SmSymDefineDialog::FillSymbolSets(ComboBox &rComboBox, bool bDeleteText)
rComboBox
.
Clear
();
if
(
bDeleteText
)
rComboBox
.
SetText
(
Xub
String
());
rComboBox
.
SetText
(
rtl
::
OU
String
());
const
std
::
set
<
String
>
aSymbolSetNames
(
aSymbolMgrCopy
.
GetSymbolSetNames
()
);
std
::
set
<
String
>::
const_iterator
aIt
(
aSymbolSetNames
.
begin
()
);
...
...
@@ -1725,7 +1725,7 @@ void SmSymDefineDialog::FillStyles(bool bDeleteText)
{
aStyles
.
Clear
();
if
(
bDeleteText
)
aStyles
.
SetText
(
Xub
String
());
aStyles
.
SetText
(
rtl
::
OU
String
());
XubString
aText
(
aFonts
.
GetSelectEntry
());
if
(
aText
.
Len
()
!=
0
)
...
...
@@ -1933,7 +1933,7 @@ IMPL_LINK( SmSymDefineDialog, ChangeClickHdl, Button *, EMPTYARG pButton )
// clear display for original symbol if necessary
if
(
bNameChanged
)
SetOrigSymbol
(
NULL
,
Xub
String
());
SetOrigSymbol
(
NULL
,
rtl
::
OU
String
());
// update display of new symbol
aSymbolDisplay
.
SetSymbol
(
&
aNewSymbol
);
...
...
@@ -1965,7 +1965,7 @@ IMPL_LINK( SmSymDefineDialog, DeleteClickHdl, Button *, EMPTYARG pButton )
aSymbolMgrCopy
.
RemoveSymbol
(
pOrigSymbol
->
GetName
()
);
// clear display for original symbol
SetOrigSymbol
(
NULL
,
Xub
String
());
SetOrigSymbol
(
NULL
,
rtl
::
OU
String
());
// update list box entries
FillSymbolSets
(
aOldSymbolSets
,
false
);
...
...
@@ -2200,7 +2200,7 @@ bool SmSymDefineDialog::SelectSymbolSet(ComboBox &rComboBox,
bRet
=
true
;
}
else
if
(
bDeleteText
)
rComboBox
.
SetText
(
Xub
String
());
rComboBox
.
SetText
(
rtl
::
OU
String
());
bool
bIsOld
=
&
rComboBox
==
&
aOldSymbolSets
;
...
...
@@ -2249,7 +2249,7 @@ void SmSymDefineDialog::SetOrigSymbol(const SmSym *pSymbol,
}
else
{
// loeschen des angezeigten Symbols
aOldSymbolDisplay
.
SetText
(
Xub
String
());
aOldSymbolDisplay
.
SetText
(
rtl
::
OU
String
());
aOldSymbolDisplay
.
Invalidate
();
}
aOldSymbolName
.
SetText
(
aSymName
);
...
...
@@ -2308,7 +2308,7 @@ bool SmSymDefineDialog::SelectSymbol(ComboBox &rComboBox,
bRet
=
true
;
}
else
if
(
bDeleteText
)
rComboBox
.
SetText
(
Xub
String
());
rComboBox
.
SetText
(
rtl
::
OU
String
());
if
(
bIsOld
)
{
...
...
@@ -2417,7 +2417,7 @@ bool SmSymDefineDialog::SelectStyle(const XubString &rStyleName, bool bApplyFont
bRet
=
sal_True
;
}
else
aStyles
.
SetText
(
Xub
String
());
aStyles
.
SetText
(
rtl
::
OU
String
());
UpdateButtons
();
...
...
vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
Dosyayı görüntüle @
1d4e0d9e
...
...
@@ -49,7 +49,6 @@
#include <vcl/svapp.hxx>
#include <tools/string.hxx>
#include <tools/urlobj.hxx>
#include <algorithm>
...
...
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