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
0306e253
Kaydet (Commit)
0306e253
authored
Haz 30, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
XubString->OUString
Change-Id: I40ff06facc304630ccedd82d2f20b3573bdc5cb4
üst
d70786a7
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
35 additions
and
40 deletions
+35
-40
btndlg.hxx
include/vcl/btndlg.hxx
+4
-4
svapp.hxx
include/vcl/svapp.hxx
+5
-5
prtqry.cxx
svx/source/dialog/prtqry.cxx
+1
-1
textsh1.cxx
sw/source/ui/shells/textsh1.cxx
+1
-1
alreadyopen.cxx
uui/source/alreadyopen.cxx
+2
-2
filechanged.cxx
uui/source/filechanged.cxx
+1
-1
openlocked.cxx
uui/source/openlocked.cxx
+2
-2
trylater.cxx
uui/source/trylater.cxx
+2
-2
svdata.hxx
vcl/inc/svdata.hxx
+1
-1
svapp.cxx
vcl/source/app/svapp.cxx
+11
-16
svmain.cxx
vcl/source/app/svmain.cxx
+1
-1
btndlg.cxx
vcl/source/window/btndlg.cxx
+4
-4
No files found.
include/vcl/btndlg.hxx
Dosyayı görüntüle @
0306e253
...
@@ -84,14 +84,14 @@ public:
...
@@ -84,14 +84,14 @@ public:
sal_uInt16
GetCurButtonId
()
const
{
return
mnCurButtonId
;
}
sal_uInt16
GetCurButtonId
()
const
{
return
mnCurButtonId
;
}
void
AddButton
(
const
Xub
String
&
rText
,
sal_uInt16
nId
,
sal_uInt16
nBtnFlags
,
long
nSepPixel
=
0
);
void
AddButton
(
const
OU
String
&
rText
,
sal_uInt16
nId
,
sal_uInt16
nBtnFlags
,
long
nSepPixel
=
0
);
void
AddButton
(
StandardButtonType
eType
,
sal_uInt16
nId
,
sal_uInt16
nBtnFlags
,
long
nSepPixel
=
0
);
void
AddButton
(
StandardButtonType
eType
,
sal_uInt16
nId
,
sal_uInt16
nBtnFlags
,
long
nSepPixel
=
0
);
void
RemoveButton
(
sal_uInt16
nId
);
void
RemoveButton
(
sal_uInt16
nId
);
void
Clear
();
void
Clear
();
sal_uInt16
GetButtonId
(
sal_uInt16
nButton
)
const
;
sal_uInt16
GetButtonId
(
sal_uInt16
nButton
)
const
;
PushButton
*
GetPushButton
(
sal_uInt16
nId
)
const
;
PushButton
*
GetPushButton
(
sal_uInt16
nId
)
const
;
void
SetButtonText
(
sal_uInt16
nId
,
const
Xub
String
&
rText
);
void
SetButtonText
(
sal_uInt16
nId
,
const
OU
String
&
rText
);
void
SetButtonHelpText
(
sal_uInt16
nId
,
const
Xub
String
&
rText
);
void
SetButtonHelpText
(
sal_uInt16
nId
,
const
OU
String
&
rText
);
void
SetFocusButton
(
sal_uInt16
nId
=
BUTTONDIALOG_BUTTON_NOTFOUND
)
{
mnFocusButtonId
=
nId
;
}
void
SetFocusButton
(
sal_uInt16
nId
=
BUTTONDIALOG_BUTTON_NOTFOUND
)
{
mnFocusButtonId
=
nId
;
}
sal_uInt16
GetFocusButton
()
const
{
return
mnFocusButtonId
;
}
sal_uInt16
GetFocusButton
()
const
{
return
mnFocusButtonId
;
}
...
...
include/vcl/svapp.hxx
Dosyayı görüntüle @
0306e253
...
@@ -143,12 +143,12 @@ public:
...
@@ -143,12 +143,12 @@ public:
virtual
void
InitFinished
();
virtual
void
InitFinished
();
virtual
void
DeInit
();
virtual
void
DeInit
();
static
sal_uInt16
GetCommandLineParamCount
();
static
sal_uInt16
GetCommandLineParamCount
();
static
XubString
GetCommandLineParam
(
sal_uInt16
nParam
);
static
OUString
GetCommandLineParam
(
sal_uInt16
nParam
);
static
const
XubString
&
GetAppFileName
();
static
OUString
GetAppFileName
();
virtual
sal_uInt16
Exception
(
sal_uInt16
nError
);
virtual
sal_uInt16
Exception
(
sal_uInt16
nError
);
static
void
Abort
(
const
Xub
String
&
rErrorText
);
static
void
Abort
(
const
OU
String
&
rErrorText
);
static
void
Execute
();
static
void
Execute
();
static
void
Quit
();
static
void
Quit
();
...
...
svx/source/dialog/prtqry.cxx
Dosyayı görüntüle @
0306e253
...
@@ -35,7 +35,7 @@ SvxPrtQryBox::SvxPrtQryBox(Window* pParent) :
...
@@ -35,7 +35,7 @@ SvxPrtQryBox::SvxPrtQryBox(Window* pParent) :
AddButton
(
String
(
SVX_RES
(
RID_SVXSTR_QRY_PRINT_ALL
)),
2
,
0
);
AddButton
(
String
(
SVX_RES
(
RID_SVXSTR_QRY_PRINT_ALL
)),
2
,
0
);
AddButton
(
BUTTON_CANCEL
,
RET_CANCEL
,
BUTTONDIALOG_CANCELBUTTON
);
AddButton
(
BUTTON_CANCEL
,
RET_CANCEL
,
BUTTONDIALOG_CANCELBUTTON
);
SetButtonHelpText
(
RET_OK
,
String
()
);
SetButtonHelpText
(
RET_OK
,
OU
String
()
);
}
}
SvxPrtQryBox
::~
SvxPrtQryBox
()
SvxPrtQryBox
::~
SvxPrtQryBox
()
...
...
sw/source/ui/shells/textsh1.cxx
Dosyayı görüntüle @
0306e253
...
@@ -279,7 +279,7 @@ static short lcl_AskRedlineMode(Window *pWin)
...
@@ -279,7 +279,7 @@ static short lcl_AskRedlineMode(Window *pWin)
aQBox
.
GetPushButton
(
RET_CANCEL
)
->
SetHelpId
(
HID_AUTOFORMAT_REJECT
);
aQBox
.
GetPushButton
(
RET_CANCEL
)
->
SetHelpId
(
HID_AUTOFORMAT_REJECT
);
aQBox
.
AddButton
(
String
(
SW_RES
(
STR_REDLINE_EDIT
)),
2
,
0
);
aQBox
.
AddButton
(
String
(
SW_RES
(
STR_REDLINE_EDIT
)),
2
,
0
);
aQBox
.
GetPushButton
(
2
)
->
SetHelpId
(
HID_AUTOFORMAT_EDIT_CHG
);
aQBox
.
GetPushButton
(
2
)
->
SetHelpId
(
HID_AUTOFORMAT_EDIT_CHG
);
aQBox
.
SetButtonHelpText
(
RET_OK
,
aEmptyStr
);
aQBox
.
SetButtonHelpText
(
RET_OK
,
OUString
()
);
return
aQBox
.
Execute
();
return
aQBox
.
Execute
();
}
}
...
...
uui/source/alreadyopen.cxx
Dosyayı görüntüle @
0306e253
...
@@ -42,8 +42,8 @@ AlreadyOpenQueryBox::AlreadyOpenQueryBox( Window* pParent, ResMgr* pResMgr, cons
...
@@ -42,8 +42,8 @@ AlreadyOpenQueryBox::AlreadyOpenQueryBox( Window* pParent, ResMgr* pResMgr, cons
AddButton
(
BUTTON_CANCEL
,
RET_CANCEL
,
BUTTONDIALOG_CANCELBUTTON
);
AddButton
(
BUTTON_CANCEL
,
RET_CANCEL
,
BUTTONDIALOG_CANCELBUTTON
);
}
}
SetButtonHelpText
(
RET_YES
,
String
::
Empty
String
()
);
SetButtonHelpText
(
RET_YES
,
OU
String
()
);
SetButtonHelpText
(
RET_NO
,
String
::
Empty
String
()
);
SetButtonHelpText
(
RET_NO
,
OU
String
()
);
}
}
AlreadyOpenQueryBox
::~
AlreadyOpenQueryBox
()
AlreadyOpenQueryBox
::~
AlreadyOpenQueryBox
()
...
...
uui/source/filechanged.cxx
Dosyayı görüntüle @
0306e253
...
@@ -31,7 +31,7 @@ FileChangedQueryBox::FileChangedQueryBox( Window* pParent, ResMgr* pResMgr ) :
...
@@ -31,7 +31,7 @@ FileChangedQueryBox::FileChangedQueryBox( Window* pParent, ResMgr* pResMgr ) :
BUTTONDIALOG_DEFBUTTON
|
BUTTONDIALOG_OKBUTTON
|
BUTTONDIALOG_FOCUSBUTTON
);
BUTTONDIALOG_DEFBUTTON
|
BUTTONDIALOG_OKBUTTON
|
BUTTONDIALOG_FOCUSBUTTON
);
AddButton
(
BUTTON_CANCEL
,
RET_CANCEL
,
BUTTONDIALOG_CANCELBUTTON
);
AddButton
(
BUTTON_CANCEL
,
RET_CANCEL
,
BUTTONDIALOG_CANCELBUTTON
);
SetButtonHelpText
(
RET_YES
,
String
::
Empty
String
()
);
SetButtonHelpText
(
RET_YES
,
OU
String
()
);
SetMessText
(
ResId
(
STR_FILECHANGED_MSG
,
*
pResMgr
).
toString
());
SetMessText
(
ResId
(
STR_FILECHANGED_MSG
,
*
pResMgr
).
toString
());
}
}
...
...
uui/source/openlocked.cxx
Dosyayı görüntüle @
0306e253
...
@@ -33,8 +33,8 @@ OpenLockedQueryBox::OpenLockedQueryBox( Window* pParent, ResMgr* pResMgr, const
...
@@ -33,8 +33,8 @@ OpenLockedQueryBox::OpenLockedQueryBox( Window* pParent, ResMgr* pResMgr, const
AddButton
(
ResId
(
STR_OPENLOCKED_OPENCOPY_BTN
,
*
pResMgr
).
toString
(),
RET_NO
,
0
);
AddButton
(
ResId
(
STR_OPENLOCKED_OPENCOPY_BTN
,
*
pResMgr
).
toString
(),
RET_NO
,
0
);
AddButton
(
BUTTON_CANCEL
,
RET_CANCEL
,
BUTTONDIALOG_CANCELBUTTON
);
AddButton
(
BUTTON_CANCEL
,
RET_CANCEL
,
BUTTONDIALOG_CANCELBUTTON
);
SetButtonHelpText
(
RET_YES
,
String
()
);
SetButtonHelpText
(
RET_YES
,
OU
String
()
);
SetButtonHelpText
(
RET_NO
,
String
()
);
SetButtonHelpText
(
RET_NO
,
OU
String
()
);
#ifdef WNT
#ifdef WNT
// bnc#656566
// bnc#656566
...
...
uui/source/trylater.cxx
Dosyayı görüntüle @
0306e253
...
@@ -32,8 +32,8 @@ TryLaterQueryBox::TryLaterQueryBox( Window* pParent, ResMgr* pResMgr, const Stri
...
@@ -32,8 +32,8 @@ TryLaterQueryBox::TryLaterQueryBox( Window* pParent, ResMgr* pResMgr, const Stri
AddButton
(
ResId
(
STR_TRYLATER_SAVEAS_BTN
,
*
pResMgr
).
toString
(),
RET_NO
,
0
);
AddButton
(
ResId
(
STR_TRYLATER_SAVEAS_BTN
,
*
pResMgr
).
toString
(),
RET_NO
,
0
);
AddButton
(
BUTTON_CANCEL
,
RET_CANCEL
,
BUTTONDIALOG_CANCELBUTTON
);
AddButton
(
BUTTON_CANCEL
,
RET_CANCEL
,
BUTTONDIALOG_CANCELBUTTON
);
SetButtonHelpText
(
RET_YES
,
String
::
Empty
String
()
);
SetButtonHelpText
(
RET_YES
,
OU
String
()
);
SetButtonHelpText
(
RET_NO
,
String
::
Empty
String
()
);
SetButtonHelpText
(
RET_NO
,
OU
String
()
);
}
}
TryLaterQueryBox
::~
TryLaterQueryBox
()
TryLaterQueryBox
::~
TryLaterQueryBox
()
...
...
vcl/inc/svdata.hxx
Dosyayı görüntüle @
0306e253
...
@@ -117,7 +117,7 @@ struct ImplSVAppData
...
@@ -117,7 +117,7 @@ struct ImplSVAppData
VclEventListeners
*
mpKeyListeners
;
// listeners for key events only (eg, extended toolkit)
VclEventListeners
*
mpKeyListeners
;
// listeners for key events only (eg, extended toolkit)
ImplAccelManager
*
mpAccelMgr
;
// Accelerator Manager
ImplAccelManager
*
mpAccelMgr
;
// Accelerator Manager
XubString
*
mpAppName
;
// Application name
XubString
*
mpAppName
;
// Application name
XubString
*
mpAppFileName
;
// Abs. Application FileName
OUString
*
mpAppFileName
;
// Abs. Application FileName
OUString
*
mpDisplayName
;
// Application Display Name
OUString
*
mpDisplayName
;
// Application Display Name
String
*
mpFontPath
;
// Additional Fontpath
String
*
mpFontPath
;
// Additional Fontpath
Help
*
mpHelp
;
// Application help
Help
*
mpHelp
;
// Application help
...
...
vcl/source/app/svapp.cxx
Dosyayı görüntüle @
0306e253
...
@@ -287,7 +287,7 @@ sal_uInt16 Application::GetCommandLineParamCount()
...
@@ -287,7 +287,7 @@ sal_uInt16 Application::GetCommandLineParamCount()
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
Xub
String
Application
::
GetCommandLineParam
(
sal_uInt16
nParam
)
OU
String
Application
::
GetCommandLineParam
(
sal_uInt16
nParam
)
{
{
OUString
aParam
;
OUString
aParam
;
osl_getCommandArg
(
nParam
,
&
aParam
.
pData
);
osl_getCommandArg
(
nParam
,
&
aParam
.
pData
);
...
@@ -296,7 +296,7 @@ XubString Application::GetCommandLineParam( sal_uInt16 nParam )
...
@@ -296,7 +296,7 @@ XubString Application::GetCommandLineParam( sal_uInt16 nParam )
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
const
XubString
&
Application
::
GetAppFileName
()
OUString
Application
::
GetAppFileName
()
{
{
ImplSVData
*
pSVData
=
ImplGetSVData
();
ImplSVData
*
pSVData
=
ImplGetSVData
();
DBG_ASSERT
(
pSVData
->
maAppData
.
mpAppFileName
,
"AppFileName should be set to something after SVMain!"
);
DBG_ASSERT
(
pSVData
->
maAppData
.
mpAppFileName
,
"AppFileName should be set to something after SVMain!"
);
...
@@ -304,20 +304,15 @@ const XubString& Application::GetAppFileName()
...
@@ -304,20 +304,15 @@ const XubString& Application::GetAppFileName()
return
*
pSVData
->
maAppData
.
mpAppFileName
;
return
*
pSVData
->
maAppData
.
mpAppFileName
;
/*
/*
*
#91147# provide a fallback for people without initialized
*
provide a fallback for people without initialized vcl here (like setup
*
vcl here (like setup
in responsefile mode)
* in responsefile mode)
*/
*/
static
String
aAppFileName
;
OUString
aAppFileName
;
if
(
!
aAppFileName
.
Len
()
)
OUString
aExeFileName
;
{
osl_getExecutableFile
(
&
aExeFileName
.
pData
);
OUString
aExeFileName
;
osl_getExecutableFile
(
&
aExeFileName
.
pData
);
// convert path to native file format
// convert path to native file format
OUString
aNativeFileName
;
osl
::
FileBase
::
getSystemPathFromFileURL
(
aExeFileName
,
aAppFileName
);
osl
::
FileBase
::
getSystemPathFromFileURL
(
aExeFileName
,
aNativeFileName
);
aAppFileName
=
aNativeFileName
;
}
return
aAppFileName
;
return
aAppFileName
;
}
}
...
@@ -358,7 +353,7 @@ sal_uInt16 Application::Exception( sal_uInt16 nError )
...
@@ -358,7 +353,7 @@ sal_uInt16 Application::Exception( sal_uInt16 nError )
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
void
Application
::
Abort
(
const
Xub
String
&
rErrorText
)
void
Application
::
Abort
(
const
OU
String
&
rErrorText
)
{
{
//HACK: Dump core iff --norestore command line argument is given (assuming
//HACK: Dump core iff --norestore command line argument is given (assuming
// this process is run by developers who are interested in cores, vs. end
// this process is run by developers who are interested in cores, vs. end
...
@@ -366,7 +361,7 @@ void Application::Abort( const XubString& rErrorText )
...
@@ -366,7 +361,7 @@ void Application::Abort( const XubString& rErrorText )
bool
dumpCore
=
false
;
bool
dumpCore
=
false
;
sal_uInt16
n
=
GetCommandLineParamCount
();
sal_uInt16
n
=
GetCommandLineParamCount
();
for
(
sal_uInt16
i
=
0
;
i
!=
n
;
++
i
)
{
for
(
sal_uInt16
i
=
0
;
i
!=
n
;
++
i
)
{
if
(
GetCommandLineParam
(
i
).
EqualsAscii
(
"--norestore"
))
{
if
(
GetCommandLineParam
(
i
).
equals
(
"--norestore"
))
{
dumpCore
=
true
;
dumpCore
=
true
;
break
;
break
;
}
}
...
...
vcl/source/app/svmain.cxx
Dosyayı görüntüle @
0306e253
...
@@ -289,7 +289,7 @@ bool InitVCL()
...
@@ -289,7 +289,7 @@ bool InitVCL()
// convert path to native file format
// convert path to native file format
OUString
aNativeFileName
;
OUString
aNativeFileName
;
osl
::
FileBase
::
getSystemPathFromFileURL
(
aExeFileName
,
aNativeFileName
);
osl
::
FileBase
::
getSystemPathFromFileURL
(
aExeFileName
,
aNativeFileName
);
pSVData
->
maAppData
.
mpAppFileName
=
new
String
(
aNativeFileName
);
pSVData
->
maAppData
.
mpAppFileName
=
new
OU
String
(
aNativeFileName
);
// Initialize global data
// Initialize global data
pSVData
->
maGDIData
.
mpScreenFontList
=
new
ImplDevFontList
;
pSVData
->
maGDIData
.
mpScreenFontList
=
new
ImplDevFontList
;
...
...
vcl/source/window/btndlg.cxx
Dosyayı görüntüle @
0306e253
...
@@ -262,7 +262,7 @@ void ButtonDialog::Click()
...
@@ -262,7 +262,7 @@ void ButtonDialog::Click()
maClickHdl
.
Call
(
this
);
maClickHdl
.
Call
(
this
);
}
}
void
ButtonDialog
::
AddButton
(
const
Xub
String
&
rText
,
sal_uInt16
nId
,
void
ButtonDialog
::
AddButton
(
const
OU
String
&
rText
,
sal_uInt16
nId
,
sal_uInt16
nBtnFlags
,
long
nSepPixel
)
sal_uInt16
nBtnFlags
,
long
nSepPixel
)
{
{
// PageItem anlegen
// PageItem anlegen
...
@@ -272,7 +272,7 @@ void ButtonDialog::AddButton( const XubString& rText, sal_uInt16 nId,
...
@@ -272,7 +272,7 @@ void ButtonDialog::AddButton( const XubString& rText, sal_uInt16 nId,
pItem
->
mnSepSize
=
nSepPixel
;
pItem
->
mnSepSize
=
nSepPixel
;
pItem
->
mpPushButton
=
ImplCreatePushButton
(
nBtnFlags
);
pItem
->
mpPushButton
=
ImplCreatePushButton
(
nBtnFlags
);
if
(
rText
.
Len
()
)
if
(
!
rText
.
isEmpty
()
)
pItem
->
mpPushButton
->
SetText
(
rText
);
pItem
->
mpPushButton
->
SetText
(
rText
);
maItemList
.
push_back
(
pItem
);
maItemList
.
push_back
(
pItem
);
...
@@ -370,7 +370,7 @@ PushButton* ButtonDialog::GetPushButton( sal_uInt16 nId ) const
...
@@ -370,7 +370,7 @@ PushButton* ButtonDialog::GetPushButton( sal_uInt16 nId ) const
return
NULL
;
return
NULL
;
}
}
void
ButtonDialog
::
SetButtonText
(
sal_uInt16
nId
,
const
Xub
String
&
rText
)
void
ButtonDialog
::
SetButtonText
(
sal_uInt16
nId
,
const
OU
String
&
rText
)
{
{
ImplBtnDlgItem
*
pItem
=
ImplGetItem
(
nId
);
ImplBtnDlgItem
*
pItem
=
ImplGetItem
(
nId
);
...
@@ -381,7 +381,7 @@ void ButtonDialog::SetButtonText( sal_uInt16 nId, const XubString& rText )
...
@@ -381,7 +381,7 @@ void ButtonDialog::SetButtonText( sal_uInt16 nId, const XubString& rText )
}
}
}
}
void
ButtonDialog
::
SetButtonHelpText
(
sal_uInt16
nId
,
const
Xub
String
&
rText
)
void
ButtonDialog
::
SetButtonHelpText
(
sal_uInt16
nId
,
const
OU
String
&
rText
)
{
{
ImplBtnDlgItem
*
pItem
=
ImplGetItem
(
nId
);
ImplBtnDlgItem
*
pItem
=
ImplGetItem
(
nId
);
...
...
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