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
e912c601
Kaydet (Commit)
e912c601
authored
Nis 05, 2012
tarafından
Olivier Hallot
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More RTL_CONSTASCII_USTRINGPARAM cleanup
More RTL_CONSTASCII_USTRINGPARAM in module sd
üst
8981d1d0
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
26 additions
and
26 deletions
+26
-26
Outliner.cxx
sd/source/ui/view/Outliner.cxx
+1
-1
PresentationViewShellBase.cxx
sd/source/ui/view/PresentationViewShellBase.cxx
+2
-2
ToolBarManager.cxx
sd/source/ui/view/ToolBarManager.cxx
+1
-1
ViewShellBase.cxx
sd/source/ui/view/ViewShellBase.cxx
+3
-3
drviews5.cxx
sd/source/ui/view/drviews5.cxx
+1
-1
drviews7.cxx
sd/source/ui/view/drviews7.cxx
+1
-1
drviewsa.cxx
sd/source/ui/view/drviewsa.cxx
+2
-2
drviewsb.cxx
sd/source/ui/view/drviewsb.cxx
+1
-1
drviewse.cxx
sd/source/ui/view/drviewse.cxx
+10
-10
drviewsf.cxx
sd/source/ui/view/drviewsf.cxx
+4
-4
No files found.
sd/source/ui/view/Outliner.cxx
Dosyayı görüntüle @
e912c601
...
...
@@ -212,7 +212,7 @@ Outliner::Outliner( SdDrawDocument* pDoc, sal_uInt16 nMode )
Any
aAny
;
aAny
=
aLinguConfig
.
GetProperty
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
UPN_IS_SPELL_AUTO
)
)
);
rtl
::
OUString
(
UPN_IS_SPELL_AUTO
)
);
aAny
>>=
bOnlineSpell
;
}
catch
(
...
)
...
...
sd/source/ui/view/PresentationViewShellBase.cxx
Dosyayı görüntüle @
e912c601
...
...
@@ -86,12 +86,12 @@ PresentationViewShellBase::PresentationViewShellBase (
if
(
xFrameSet
.
is
())
{
Reference
<
beans
::
XPropertySet
>
xLayouterSet
(
xFrameSet
->
getPropertyValue
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"LayoutManager"
)
)),
xFrameSet
->
getPropertyValue
(
::
rtl
::
OUString
(
"LayoutManager"
)),
UNO_QUERY
);
if
(
xLayouterSet
.
is
())
{
xLayouterSet
->
setPropertyValue
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AutomaticToolbars"
)
),
::
rtl
::
OUString
(
"AutomaticToolbars"
),
makeAny
(
sal_False
));
}
}
...
...
sd/source/ui/view/ToolBarManager.cxx
Dosyayı görüntüle @
e912c601
...
...
@@ -59,7 +59,7 @@ using namespace ::com::sun::star;
using
namespace
::
com
::
sun
::
star
::
uno
;
#undef OUSTRING // Remove definition made in the SFX
#define OUSTRING(s) (::rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(s)
))
#define OUSTRING(s) (::rtl::OUString(
s
))
namespace
{
...
...
sd/source/ui/view/ViewShellBase.cxx
Dosyayı görüntüle @
e912c601
...
...
@@ -1142,14 +1142,14 @@ void ViewShellBase::SetViewTabBar (const ::rtl::Reference<ViewTabBar>& rViewTabB
{
Reference
<
XMultiServiceFactory
>
xServiceManager
(
::
comphelper
::
getProcessServiceFactory
(),
UNO_QUERY_THROW
);
Reference
<
XModuleManager
>
xModuleManager
(
xServiceManager
->
createInstance
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.frame.ModuleManager"
)
)
),
UNO_QUERY_THROW
);
Reference
<
XModuleManager
>
xModuleManager
(
xServiceManager
->
createInstance
(
OUString
(
"com.sun.star.frame.ModuleManager"
)
),
UNO_QUERY_THROW
);
Reference
<
XInterface
>
xIfac
(
xFrame
,
UNO_QUERY_THROW
);
::
rtl
::
OUString
aModuleIdentifier
(
xModuleManager
->
identify
(
xIfac
)
);
if
(
!
aModuleIdentifier
.
isEmpty
()
)
{
Reference
<
XNameAccess
>
xNameAccess
(
xServiceManager
->
createInstance
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.frame.UICommandDescription"
)
)
),
UNO_QUERY
);
Reference
<
XNameAccess
>
xNameAccess
(
xServiceManager
->
createInstance
(
rtl
::
OUString
(
"com.sun.star.frame.UICommandDescription"
)
),
UNO_QUERY
);
if
(
xNameAccess
.
is
()
)
{
Reference
<
::
com
::
sun
::
star
::
container
::
XNameAccess
>
m_xUICommandLabels
(
xNameAccess
->
getByName
(
aModuleIdentifier
),
UNO_QUERY_THROW
);
...
...
@@ -1241,7 +1241,7 @@ void ViewShellBase::Implementation::ProcessRestoreEditingViewSlot (void)
pHelper
->
GetViewURL
(
pFrameView
->
GetViewShellTypeOnLoad
()),
FrameworkHelper
::
msCenterPaneURL
);
pHelper
->
RunOnConfigurationEvent
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ConfigurationUpdateEnd"
)
),
::
rtl
::
OUString
(
"ConfigurationUpdateEnd"
),
CurrentPageSetter
(
mrBase
));
}
}
...
...
sd/source/ui/view/drviews5.cxx
Dosyayı görüntüle @
e912c601
...
...
@@ -551,7 +551,7 @@ void DrawViewShell::WriteUserDataSequence ( ::com::sun::star::uno::Sequence < ::
const
sal_Int32
nIndex
=
rSequence
.
getLength
();
rSequence
.
realloc
(
nIndex
+
1
);
rSequence
[
nIndex
].
Name
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
sUNO_View_ZoomOnPage
)
);
rSequence
[
nIndex
].
Name
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
sUNO_View_ZoomOnPage
));
rSequence
[
nIndex
].
Value
<<=
(
sal_Bool
)
mbZoomOnPage
;
}
...
...
sd/source/ui/view/drviews7.cxx
Dosyayı görüntüle @
e912c601
...
...
@@ -1504,7 +1504,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
{
uno
::
Reference
<
beans
::
XPropertySetInfo
>
xPropInfo
(
xPropSet
->
getPropertySetInfo
()
);
if
(
xPropInfo
.
is
()
&&
xPropInfo
->
hasPropertyByName
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TargetURL"
)
)))
rtl
::
OUString
(
"TargetURL"
)))
{
bDisableEditHyperlink
=
sal_False
;
}
...
...
sd/source/ui/view/drviewsa.cxx
Dosyayı görüntüle @
e912c601
...
...
@@ -84,7 +84,7 @@ using namespace ::com::sun::star::uno;
namespace
{
static
const
::
rtl
::
OUString
MASTER_VIEW_TOOL_BAR_NAME
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"masterviewtoolbar"
)
));
::
rtl
::
OUString
(
"masterviewtoolbar"
));
}
namespace
sd
{
...
...
@@ -389,7 +389,7 @@ void DrawViewShell::Construct(DrawDocShell* pDocSh, PageKind eInitialPageKind)
if
(
xMgr
.
is
()
)
{
mxScannerManager
=
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
scanner
::
XScannerManager2
>
(
xMgr
->
createInstance
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.scanner.ScannerManager"
)
)
),
xMgr
->
createInstance
(
::
rtl
::
OUString
(
"com.sun.star.scanner.ScannerManager"
)
),
::
com
::
sun
::
star
::
uno
::
UNO_QUERY
);
if
(
mxScannerManager
.
is
()
)
...
...
sd/source/ui/view/drviewsb.cxx
Dosyayı görüntüle @
e912c601
...
...
@@ -692,7 +692,7 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
{
try
{
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
ui
::
dialogs
::
XExecutableDialog
>
xDialog
(
::
comphelper
::
getProcessServiceFactory
()
->
createInstance
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.ui.XSLTFilterDialog"
)
)),
com
::
sun
::
star
::
uno
::
UNO_QUERY
);
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
ui
::
dialogs
::
XExecutableDialog
>
xDialog
(
::
comphelper
::
getProcessServiceFactory
()
->
createInstance
(
rtl
::
OUString
(
"com.sun.star.comp.ui.XSLTFilterDialog"
)),
com
::
sun
::
star
::
uno
::
UNO_QUERY
);
if
(
xDialog
.
is
()
)
{
xDialog
->
execute
();
...
...
sd/source/ui/view/drviewse.cxx
Dosyayı görüntüle @
e912c601
...
...
@@ -1593,16 +1593,16 @@ void DrawViewShell::InsertURLButton(const String& rURL, const String& rText,
Reference
<
awt
::
XControlModel
>
xControlModel
(
pUnoCtrl
->
GetUnoControlModel
(),
UNO_QUERY_THROW
);
Reference
<
beans
::
XPropertySet
>
xPropSet
(
xControlModel
,
UNO_QUERY_THROW
);
xPropSet
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Label"
)
),
Any
(
OUString
(
rText
)
)
);
xPropSet
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TargetURL"
)
),
Any
(
sTargetURL
)
);
xPropSet
->
setPropertyValue
(
OUString
(
"Label"
),
Any
(
OUString
(
rText
)
)
);
xPropSet
->
setPropertyValue
(
OUString
(
"TargetURL"
),
Any
(
sTargetURL
)
);
if
(
rTarget
.
Len
()
)
xPropSet
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TargetFrame"
)
),
Any
(
OUString
(
rTarget
)
)
);
xPropSet
->
setPropertyValue
(
OUString
(
"TargetFrame"
),
Any
(
OUString
(
rTarget
)
)
);
xPropSet
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ButtonType"
)
),
Any
(
form
::
FormButtonType_URL
)
);
xPropSet
->
setPropertyValue
(
OUString
(
"ButtonType"
),
Any
(
form
::
FormButtonType_URL
)
);
if
(
::
avmedia
::
MediaWindow
::
isMediaURL
(
rURL
)
)
{
xPropSet
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"DispatchURLInternal"
)
),
Any
(
sal_True
)
);
xPropSet
->
setPropertyValue
(
OUString
(
"DispatchURLInternal"
),
Any
(
sal_True
)
);
}
}
else
...
...
@@ -1628,15 +1628,15 @@ void DrawViewShell::InsertURLButton(const String& rURL, const String& rText,
Reference
<
awt
::
XControlModel
>
xControlModel
(
pUnoCtrl
->
GetUnoControlModel
(),
uno
::
UNO_QUERY_THROW
);
Reference
<
beans
::
XPropertySet
>
xPropSet
(
xControlModel
,
uno
::
UNO_QUERY_THROW
);
xPropSet
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Label"
)
),
Any
(
OUString
(
rText
)
)
);
xPropSet
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TargetURL"
)
),
Any
(
sTargetURL
)
);
xPropSet
->
setPropertyValue
(
OUString
(
"Label"
),
Any
(
OUString
(
rText
)
)
);
xPropSet
->
setPropertyValue
(
OUString
(
"TargetURL"
),
Any
(
sTargetURL
)
);
if
(
rTarget
.
Len
()
)
xPropSet
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TargetFrame"
)
),
Any
(
OUString
(
rTarget
)
)
);
xPropSet
->
setPropertyValue
(
OUString
(
"TargetFrame"
),
Any
(
OUString
(
rTarget
)
)
);
xPropSet
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ButtonType"
)
),
Any
(
form
::
FormButtonType_URL
)
);
xPropSet
->
setPropertyValue
(
OUString
(
"ButtonType"
),
Any
(
form
::
FormButtonType_URL
)
);
if
(
::
avmedia
::
MediaWindow
::
isMediaURL
(
rURL
)
)
xPropSet
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"DispatchURLInternal"
)
),
Any
(
sal_True
)
);
xPropSet
->
setPropertyValue
(
OUString
(
"DispatchURLInternal"
),
Any
(
sal_True
)
);
Point
aPos
;
...
...
sd/source/ui/view/drviewsf.cxx
Dosyayı görüntüle @
e912c601
...
...
@@ -138,13 +138,13 @@ void DrawViewShell::GetCtrlState(SfxItemSet &rSet)
uno
::
Reference
<
beans
::
XPropertySetInfo
>
xPropInfo
(
xPropSet
->
getPropertySetInfo
(),
uno
::
UNO_QUERY_THROW
);
form
::
FormButtonType
eButtonType
=
form
::
FormButtonType_URL
;
const
OUString
sButtonType
(
RTL_CONSTASCII_USTRINGPARAM
(
"ButtonType"
)
);
const
OUString
sButtonType
(
"ButtonType"
);
if
(
xPropInfo
->
hasPropertyByName
(
sButtonType
)
&&
(
xPropSet
->
getPropertyValue
(
sButtonType
)
>>=
eButtonType
)
)
{
OUString
aString
;
// Label
const
OUString
sLabel
(
RTL_CONSTASCII_USTRINGPARAM
(
"Label"
)
);
const
OUString
sLabel
(
"Label"
);
if
(
xPropInfo
->
hasPropertyByName
(
sLabel
))
{
if
(
xPropSet
->
getPropertyValue
(
sLabel
)
>>=
aString
)
...
...
@@ -152,7 +152,7 @@ void DrawViewShell::GetCtrlState(SfxItemSet &rSet)
}
// URL
const
OUString
sTargetURL
(
RTL_CONSTASCII_USTRINGPARAM
(
"TargetURL"
)
);
const
OUString
sTargetURL
(
"TargetURL"
);
if
(
xPropInfo
->
hasPropertyByName
(
sTargetURL
))
{
if
(
xPropSet
->
getPropertyValue
(
sTargetURL
)
>>=
aString
)
...
...
@@ -160,7 +160,7 @@ void DrawViewShell::GetCtrlState(SfxItemSet &rSet)
}
// Target
const
OUString
sTargetFrame
(
RTL_CONSTASCII_USTRINGPARAM
(
"TargetFrame"
)
);
const
OUString
sTargetFrame
(
"TargetFrame"
);
if
(
xPropInfo
->
hasPropertyByName
(
sTargetFrame
)
)
{
if
(
xPropSet
->
getPropertyValue
(
sTargetFrame
)
>>=
aString
)
...
...
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