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
ea491d05
Kaydet (Commit)
ea491d05
authored
May 27, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
OSL_TRACE -> SAL_INFO
Change-Id: Ib9e1ed6119b5286871ac10136f7fcbefffe7aebe
üst
501e5b98
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
23 deletions
+11
-23
eventatt.cxx
basic/source/classes/eventatt.cxx
+6
-12
cfgutil.cxx
cui/source/customize/cfgutil.cxx
+3
-5
popuptoolbarcontroller.cxx
framework/source/uielement/popuptoolbarcontroller.cxx
+2
-6
No files found.
basic/source/classes/eventatt.cxx
Dosyayı görüntüle @
ea491d05
...
@@ -75,9 +75,7 @@ using namespace ::osl;
...
@@ -75,9 +75,7 @@ using namespace ::osl;
void
SFURL_firing_impl
(
const
ScriptEvent
&
aScriptEvent
,
Any
*
pRet
,
const
Reference
<
frame
::
XModel
>&
xModel
)
void
SFURL_firing_impl
(
const
ScriptEvent
&
aScriptEvent
,
Any
*
pRet
,
const
Reference
<
frame
::
XModel
>&
xModel
)
{
{
OSL_TRACE
(
"SFURL_firing_impl() processing script url %s"
,
SAL_INFO
(
"basic"
,
"Processing script url "
<<
aScriptEvent
.
ScriptCode
);
OUStringToOString
(
aScriptEvent
.
ScriptCode
,
RTL_TEXTENCODING_ASCII_US
).
pData
->
buffer
);
try
try
{
{
Reference
<
provider
::
XScriptProvider
>
xScriptProvider
;
Reference
<
provider
::
XScriptProvider
>
xScriptProvider
;
...
@@ -102,7 +100,7 @@ void SFURL_firing_impl( const ScriptEvent& aScriptEvent, Any* pRet, const Refere
...
@@ -102,7 +100,7 @@ void SFURL_firing_impl( const ScriptEvent& aScriptEvent, Any* pRet, const Refere
if
(
!
xScriptProvider
.
is
()
)
if
(
!
xScriptProvider
.
is
()
)
{
{
OSL_TRACE
(
"SFURL_firing_impl()
Failed to create msp"
);
SAL_INFO
(
"basic"
,
"
Failed to create msp"
);
return
;
return
;
}
}
Sequence
<
Any
>
inArgs
(
0
);
Sequence
<
Any
>
inArgs
(
0
);
...
@@ -116,7 +114,7 @@ void SFURL_firing_impl( const ScriptEvent& aScriptEvent, Any* pRet, const Refere
...
@@ -116,7 +114,7 @@ void SFURL_firing_impl( const ScriptEvent& aScriptEvent, Any* pRet, const Refere
if
(
!
xScript
.
is
()
)
if
(
!
xScript
.
is
()
)
{
{
OSL_TRACE
(
"SFURL_firing_impl()
Failed to obtain XScript"
);
SAL_INFO
(
"basic"
,
"Failed to
Failed to obtain XScript"
);
return
;
return
;
}
}
...
@@ -128,15 +126,11 @@ void SFURL_firing_impl( const ScriptEvent& aScriptEvent, Any* pRet, const Refere
...
@@ -128,15 +126,11 @@ void SFURL_firing_impl( const ScriptEvent& aScriptEvent, Any* pRet, const Refere
}
}
catch
(
const
RuntimeException
&
re
)
catch
(
const
RuntimeException
&
re
)
{
{
OSL_TRACE
(
"SFURL_firing_impl() Caught RuntimeException reason %s."
,
SAL_INFO
(
"basic"
,
"Caught RuntimeException reason "
<<
re
.
Message
);
OUStringToOString
(
re
.
Message
,
RTL_TEXTENCODING_ASCII_US
).
pData
->
buffer
);
}
}
catch
(
const
Exception
&
e
)
catch
(
const
Exception
&
e
)
{
{
OSL_TRACE
(
"SFURL_firing_impl() Caught Exception reason %s."
,
SAL_INFO
(
"basic"
,
"Caught Exception reason "
<<
e
.
Message
);
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_ASCII_US
).
pData
->
buffer
);
}
}
}
}
...
@@ -491,7 +485,7 @@ void RTL_Impl_CreateUnoDialog( StarBASIC* pBasic, SbxArray& rPar, bool bWrite )
...
@@ -491,7 +485,7 @@ void RTL_Impl_CreateUnoDialog( StarBASIC* pBasic, SbxArray& rPar, bool bWrite )
css
::
uno
::
Reference
<
css
::
container
::
XNameContainer
>
aDlgLib
;
css
::
uno
::
Reference
<
css
::
container
::
XNameContainer
>
aDlgLib
;
bool
bDocDialog
=
false
;
bool
bDocDialog
=
false
;
StarBASIC
*
pFoundBasic
=
NULL
;
StarBASIC
*
pFoundBasic
=
NULL
;
OSL_TRACE
(
"About to try get a hold of ThisComponent"
);
SAL_INFO
(
"basic"
,
"About to try get a hold of ThisComponent"
);
Reference
<
frame
::
XModel
>
xModel
=
StarBASIC
::
GetModelFromBasic
(
GetSbData
()
->
pInst
->
GetBasic
()
)
;
Reference
<
frame
::
XModel
>
xModel
=
StarBASIC
::
GetModelFromBasic
(
GetSbData
()
->
pInst
->
GetBasic
()
)
;
aDlgLib
=
implFindDialogLibForDialogBasic
(
aAnyISP
,
GetSbData
()
->
pInst
->
GetBasic
(),
pFoundBasic
);
aDlgLib
=
implFindDialogLibForDialogBasic
(
aAnyISP
,
GetSbData
()
->
pInst
->
GetBasic
(),
pFoundBasic
);
// If we found the dialog then it belongs to the Search basic
// If we found the dialog then it belongs to the Search basic
...
...
cui/source/customize/cfgutil.cxx
Dosyayı görüntüle @
ea491d05
...
@@ -582,7 +582,7 @@ void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponent
...
@@ -582,7 +582,7 @@ void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponent
InitStyles
();
InitStyles
();
}
}
OSL_TRACE
(
"** ** About to initialise SF Scripts"
);
SAL_INFO
(
"cui.customize"
,
"** ** About to initialise SF Scripts"
);
// Add Scripting Framework entries
// Add Scripting Framework entries
Reference
<
browse
::
XBrowseNode
>
rootNode
;
Reference
<
browse
::
XBrowseNode
>
rootNode
;
Reference
<
XComponentContext
>
xCtx
(
Reference
<
XComponentContext
>
xCtx
(
...
@@ -594,8 +594,7 @@ void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponent
...
@@ -594,8 +594,7 @@ void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponent
}
}
catch
(
Exception
&
e
)
catch
(
Exception
&
e
)
{
{
OSL_TRACE
(
" Caught some exception whilst retrieving browse nodes from factory... Exception: %s"
,
SAL_INFO
(
"cui.customize"
,
"Caught some exception whilst retrieving browse nodes from factory... Exception: "
<<
e
.
Message
);
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_ASCII_US
).
pData
->
buffer
);
// TODO exception handling
// TODO exception handling
}
}
...
@@ -770,8 +769,7 @@ Image SfxConfigGroupListBox::GetImage(
...
@@ -770,8 +769,7 @@ Image SfxConfigGroupListBox::GetImage(
if
(
pmoduleDescr
[
pos
].
Name
==
"ooSetupFactoryEmptyDocumentURL"
)
if
(
pmoduleDescr
[
pos
].
Name
==
"ooSetupFactoryEmptyDocumentURL"
)
{
{
pmoduleDescr
[
pos
].
Value
>>=
factoryURL
;
pmoduleDescr
[
pos
].
Value
>>=
factoryURL
;
OSL_TRACE
(
"factory url for doc images is %s"
,
SAL_INFO
(
"cui.customize"
,
"factory url for doc images is "
<<
factoryURL
);
OUStringToOString
(
factoryURL
,
RTL_TEXTENCODING_ASCII_US
).
pData
->
buffer
);
break
;
break
;
}
}
}
}
...
...
framework/source/uielement/popuptoolbarcontroller.cxx
Dosyayı görüntüle @
ea491d05
...
@@ -142,9 +142,7 @@ throw ( css::uno::Exception, css::uno::RuntimeException, std::exception )
...
@@ -142,9 +142,7 @@ throw ( css::uno::Exception, css::uno::RuntimeException, std::exception )
}
}
catch
(
const
css
::
uno
::
Exception
&
e
)
catch
(
const
css
::
uno
::
Exception
&
e
)
{
{
OSL_TRACE
(
"PopupMenuToolbarController - caught an exception! %s"
,
SAL_INFO
(
"framework.uielement"
,
"Caught an exception: "
<<
e
.
Message
);
rtl
::
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_UTF8
).
getStr
()
);
(
void
)
e
;
}
}
SolarMutexGuard
aSolarLock
;
SolarMutexGuard
aSolarLock
;
...
@@ -244,9 +242,7 @@ void PopupMenuToolbarController::createPopupMenuController()
...
@@ -244,9 +242,7 @@ void PopupMenuToolbarController::createPopupMenuController()
catch
(
const
css
::
uno
::
Exception
&
e
)
catch
(
const
css
::
uno
::
Exception
&
e
)
{
{
m_xPopupMenu
.
clear
();
m_xPopupMenu
.
clear
();
OSL_TRACE
(
"PopupMenuToolbarController - caught an exception! %s"
,
SAL_INFO
(
"framework.uielement"
,
"Caught an exception: "
<<
e
.
Message
);
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_UTF8
).
getStr
()
);
(
void
)
e
;
}
}
}
}
}
}
...
...
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