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
eeac8047
Kaydet (Commit)
eeac8047
authored
Agu 27, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert include/sfx2/app.hxx from String to OUString
Change-Id: I7f1c3070fe3b0bb28b45c53d57c4cd1ba10c85d7
üst
3b130eba
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
19 deletions
+19
-19
app.hxx
include/sfx2/app.hxx
+9
-9
app.cxx
sfx2/source/appl/app.cxx
+5
-5
appcfg.cxx
sfx2/source/appl/appcfg.cxx
+2
-2
appopen.cxx
sfx2/source/appl/appopen.cxx
+2
-2
appdata.hxx
sfx2/source/inc/appdata.hxx
+1
-1
No files found.
include/sfx2/app.hxx
Dosyayı görüntüle @
eeac8047
...
@@ -113,7 +113,7 @@ public:
...
@@ -113,7 +113,7 @@ public:
//TODO/CLEANUP
//TODO/CLEANUP
//is apparently used only in SfxPickList/SfxFrameLoader
//is apparently used only in SfxPickList/SfxFrameLoader
DECL_OBJHINT
(
SfxStringHint
,
String
);
DECL_OBJHINT
(
SfxStringHint
,
OU
String
);
#ifndef SFX_DECL_OBJECTSHELL_DEFINED
#ifndef SFX_DECL_OBJECTSHELL_DEFINED
#define SFX_DECL_OBJECTSHELL_DEFINED
#define SFX_DECL_OBJECTSHELL_DEFINED
...
@@ -165,7 +165,7 @@ public:
...
@@ -165,7 +165,7 @@ public:
/**
/**
* @param pArgs Takes ownership
* @param pArgs Takes ownership
*/
*/
sal_uIntPtr
LoadTemplate
(
SfxObjectShellLock
&
xDoc
,
const
String
&
rFileName
,
sal_Bool
bCopy
=
sal_True
,
SfxItemSet
*
pArgs
=
0
);
sal_uIntPtr
LoadTemplate
(
SfxObjectShellLock
&
xDoc
,
const
OU
String
&
rFileName
,
sal_Bool
bCopy
=
sal_True
,
SfxItemSet
*
pArgs
=
0
);
SfxTemplateDialog
*
GetTemplateDialog
();
SfxTemplateDialog
*
GetTemplateDialog
();
Window
*
GetTopWindow
()
const
;
Window
*
GetTopWindow
()
const
;
...
@@ -175,16 +175,16 @@ public:
...
@@ -175,16 +175,16 @@ public:
// members
// members
SfxFilterMatcher
&
GetFilterMatcher
();
SfxFilterMatcher
&
GetFilterMatcher
();
SfxProgress
*
GetProgress
()
const
;
SfxProgress
*
GetProgress
()
const
;
const
String
&
GetLastSaveDirectory
()
const
;
const
OU
String
&
GetLastSaveDirectory
()
const
;
sal_uInt16
GetFreeIndex
();
sal_uInt16
GetFreeIndex
();
void
ReleaseIndex
(
sal_uInt16
i
);
void
ReleaseIndex
(
sal_uInt16
i
);
// Basic/Scripting
// Basic/Scripting
static
sal_Bool
IsXScriptURL
(
const
String
&
rScriptURL
);
static
sal_Bool
IsXScriptURL
(
const
OU
String
&
rScriptURL
);
static
OUString
ChooseScript
();
static
OUString
ChooseScript
();
static
void
MacroOrganizer
(
sal_Int16
nTabId
);
static
void
MacroOrganizer
(
sal_Int16
nTabId
);
static
ErrCode
CallBasic
(
const
String
&
,
BasicManager
*
,
SbxArray
*
pArgs
,
SbxValue
*
pRet
);
static
ErrCode
CallBasic
(
const
OU
String
&
,
BasicManager
*
,
SbxArray
*
pArgs
,
SbxValue
*
pRet
);
static
ErrCode
CallAppBasic
(
const
String
&
i_macroName
,
SbxArray
*
i_args
=
NULL
,
SbxValue
*
i_ret
=
NULL
)
static
ErrCode
CallAppBasic
(
const
OU
String
&
i_macroName
,
SbxArray
*
i_args
=
NULL
,
SbxValue
*
i_ret
=
NULL
)
{
return
CallBasic
(
i_macroName
,
SfxApplication
::
GetOrCreate
()
->
GetBasicManager
(),
i_args
,
i_ret
);
}
{
return
CallBasic
(
i_macroName
,
SfxApplication
::
GetOrCreate
()
->
GetBasicManager
(),
i_args
,
i_ret
);
}
BasicManager
*
GetBasicManager
();
BasicManager
*
GetBasicManager
();
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
script
::
XLibraryContainer
>
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
script
::
XLibraryContainer
>
...
@@ -200,7 +200,7 @@ public:
...
@@ -200,7 +200,7 @@ public:
virtual
void
Invalidate
(
sal_uInt16
nId
=
0
);
virtual
void
Invalidate
(
sal_uInt16
nId
=
0
);
void
NotifyEvent
(
const
SfxEventHint
&
rEvent
,
bool
bSynchron
=
true
);
void
NotifyEvent
(
const
SfxEventHint
&
rEvent
,
bool
bSynchron
=
true
);
sal_Bool
IsDowning
()
const
;
sal_Bool
IsDowning
()
const
;
sal_Bool
IsSecureURL
(
const
INetURLObject
&
rURL
,
const
String
*
pReferer
)
const
;
sal_Bool
IsSecureURL
(
const
INetURLObject
&
rURL
,
const
OU
String
*
pReferer
)
const
;
void
ResetLastDir
();
void
ResetLastDir
();
SAL_DLLPRIVATE
static
SfxApplication
*
Get
()
{
return
pApp
;}
SAL_DLLPRIVATE
static
SfxApplication
*
Get
()
{
return
pApp
;}
...
@@ -243,8 +243,8 @@ public:
...
@@ -243,8 +243,8 @@ public:
SAL_DLLPRIVATE
void
OfaState_Impl
(
SfxItemSet
&
);
SAL_DLLPRIVATE
void
OfaState_Impl
(
SfxItemSet
&
);
SAL_DLLPRIVATE
void
SetProgress_Impl
(
SfxProgress
*
);
SAL_DLLPRIVATE
void
SetProgress_Impl
(
SfxProgress
*
);
SAL_DLLPRIVATE
const
String
&
GetLastDir_Impl
()
const
;
SAL_DLLPRIVATE
const
OU
String
&
GetLastDir_Impl
()
const
;
SAL_DLLPRIVATE
void
SetLastDir_Impl
(
const
String
&
);
SAL_DLLPRIVATE
void
SetLastDir_Impl
(
const
OU
String
&
);
SAL_DLLPRIVATE
void
Registrations_Impl
();
SAL_DLLPRIVATE
void
Registrations_Impl
();
SAL_DLLPRIVATE
SfxWorkWindow
*
GetWorkWindow_Impl
(
const
SfxViewFrame
*
pFrame
=
0
)
const
;
SAL_DLLPRIVATE
SfxWorkWindow
*
GetWorkWindow_Impl
(
const
SfxViewFrame
*
pFrame
=
0
)
const
;
...
...
sfx2/source/appl/app.cxx
Dosyayı görüntüle @
eeac8047
...
@@ -248,7 +248,7 @@ SfxApplication::~SfxApplication()
...
@@ -248,7 +248,7 @@ SfxApplication::~SfxApplication()
//====================================================================
//====================================================================
const
String
&
SfxApplication
::
GetLastDir_Impl
()
const
const
OU
String
&
SfxApplication
::
GetLastDir_Impl
()
const
/* [Description]
/* [Description]
...
@@ -266,7 +266,7 @@ const String& SfxApplication::GetLastDir_Impl() const
...
@@ -266,7 +266,7 @@ const String& SfxApplication::GetLastDir_Impl() const
return
pAppData_Impl
->
aLastDir
;
return
pAppData_Impl
->
aLastDir
;
}
}
const
String
&
SfxApplication
::
GetLastSaveDirectory
()
const
const
OU
String
&
SfxApplication
::
GetLastSaveDirectory
()
const
/* [Description]
/* [Description]
...
@@ -284,7 +284,7 @@ const String& SfxApplication::GetLastSaveDirectory() const
...
@@ -284,7 +284,7 @@ const String& SfxApplication::GetLastSaveDirectory() const
void
SfxApplication
::
SetLastDir_Impl
void
SfxApplication
::
SetLastDir_Impl
(
(
const
String
&
rNewDir
/* Complete directory path as a string */
const
OU
String
&
rNewDir
/* Complete directory path as a string */
)
)
/* [Description]
/* [Description]
...
@@ -526,7 +526,7 @@ IMPL_LINK( SfxApplication, GlobalBasicErrorHdl_Impl, StarBASIC*, pStarBasic )
...
@@ -526,7 +526,7 @@ IMPL_LINK( SfxApplication, GlobalBasicErrorHdl_Impl, StarBASIC*, pStarBasic )
#endif
#endif
}
}
sal_Bool
SfxApplication
::
IsXScriptURL
(
const
String
&
rScriptURL
)
sal_Bool
SfxApplication
::
IsXScriptURL
(
const
OU
String
&
rScriptURL
)
{
{
sal_Bool
result
=
sal_False
;
sal_Bool
result
=
sal_False
;
...
@@ -626,7 +626,7 @@ void SfxApplication::MacroOrganizer( sal_Int16 nTabId )
...
@@ -626,7 +626,7 @@ void SfxApplication::MacroOrganizer( sal_Int16 nTabId )
#endif
#endif
}
}
ErrCode
SfxApplication
::
CallBasic
(
const
String
&
rCode
,
BasicManager
*
pMgr
,
SbxArray
*
pArgs
,
SbxValue
*
pRet
)
ErrCode
SfxApplication
::
CallBasic
(
const
OU
String
&
rCode
,
BasicManager
*
pMgr
,
SbxArray
*
pArgs
,
SbxValue
*
pRet
)
{
{
#ifdef DISABLE_SCRIPTING
#ifdef DISABLE_SCRIPTING
(
void
)
rCode
;
(
void
)
rCode
;
...
...
sfx2/source/appl/appcfg.cxx
Dosyayı görüntüle @
eeac8047
...
@@ -495,7 +495,7 @@ sal_Bool SfxApplication::GetOptions( SfxItemSet& rSet )
...
@@ -495,7 +495,7 @@ sal_Bool SfxApplication::GetOptions( SfxItemSet& rSet )
}
}
//--------------------------------------------------------------------
//--------------------------------------------------------------------
sal_Bool
SfxApplication
::
IsSecureURL
(
const
INetURLObject
&
rURL
,
const
String
*
pReferer
)
const
sal_Bool
SfxApplication
::
IsSecureURL
(
const
INetURLObject
&
rURL
,
const
OU
String
*
pReferer
)
const
{
{
return
SvtSecurityOptions
().
IsSecureURL
(
rURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
*
pReferer
);
return
SvtSecurityOptions
().
IsSecureURL
(
rURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
*
pReferer
);
}
}
...
@@ -903,6 +903,6 @@ void SfxApplication::NotifyEvent( const SfxEventHint& rEventHint, bool bSynchron
...
@@ -903,6 +903,6 @@ void SfxApplication::NotifyEvent( const SfxEventHint& rEventHint, bool bSynchron
new
SfxEventAsyncer_Impl
(
rEventHint
);
new
SfxEventAsyncer_Impl
(
rEventHint
);
}
}
IMPL_OBJHINT
(
SfxStringHint
,
String
)
IMPL_OBJHINT
(
SfxStringHint
,
OU
String
)
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sfx2/source/appl/appopen.cxx
Dosyayı görüntüle @
eeac8047
...
@@ -316,7 +316,7 @@ sal_uInt32 CheckPasswd_Impl
...
@@ -316,7 +316,7 @@ sal_uInt32 CheckPasswd_Impl
//--------------------------------------------------------------------
//--------------------------------------------------------------------
sal_uIntPtr
SfxApplication
::
LoadTemplate
(
SfxObjectShellLock
&
xDoc
,
const
String
&
rFileName
,
sal_Bool
bCopy
,
SfxItemSet
*
pSet
)
sal_uIntPtr
SfxApplication
::
LoadTemplate
(
SfxObjectShellLock
&
xDoc
,
const
OU
String
&
rFileName
,
sal_Bool
bCopy
,
SfxItemSet
*
pSet
)
{
{
const
SfxFilter
*
pFilter
=
NULL
;
const
SfxFilter
*
pFilter
=
NULL
;
SfxMedium
aMedium
(
rFileName
,
(
STREAM_READ
|
STREAM_SHARE_DENYNONE
)
);
SfxMedium
aMedium
(
rFileName
,
(
STREAM_READ
|
STREAM_SHARE_DENYNONE
)
);
...
@@ -799,7 +799,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
...
@@ -799,7 +799,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
SFX_REQUEST_ARG
(
rReq
,
pFileName
,
SfxStringItem
,
SID_FILE_NAME
,
sal_False
);
SFX_REQUEST_ARG
(
rReq
,
pFileName
,
SfxStringItem
,
SID_FILE_NAME
,
sal_False
);
String
aFileName
=
pFileName
->
GetValue
();
String
aFileName
=
pFileName
->
GetValue
();
String
aReferer
;
OU
String
aReferer
;
SFX_REQUEST_ARG
(
rReq
,
pRefererItem
,
SfxStringItem
,
SID_REFERER
,
sal_False
);
SFX_REQUEST_ARG
(
rReq
,
pRefererItem
,
SfxStringItem
,
SID_REFERER
,
sal_False
);
if
(
pRefererItem
)
if
(
pRefererItem
)
aReferer
=
pRefererItem
->
GetValue
();
aReferer
=
pRefererItem
->
GetValue
();
...
...
sfx2/source/inc/appdata.hxx
Dosyayı görüntüle @
eeac8047
...
@@ -70,7 +70,7 @@ class SfxAppData_Impl
...
@@ -70,7 +70,7 @@ class SfxAppData_Impl
{
{
public
:
public
:
IndexBitSet
aIndexBitSet
;
// for counting noname documents
IndexBitSet
aIndexBitSet
;
// for counting noname documents
String
aLastDir
;
// for IO dialog
OUString
aLastDir
;
// for IO dialog
// DDE stuff
// DDE stuff
DdeService
*
pDdeService
;
DdeService
*
pDdeService
;
...
...
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