Kaydet (Commit) b61a2db7 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Similar to 3386519e

Change-Id: I5ca799cf3a383c4a76f2ee81387f8040c176d046
üst 21f8277c
...@@ -20,11 +20,9 @@ ...@@ -20,11 +20,9 @@
#ifndef INCLUDED_SD_SOURCE_UI_INC_UNOKYWDS_HXX #ifndef INCLUDED_SD_SOURCE_UI_INC_UNOKYWDS_HXX
#define INCLUDED_SD_SOURCE_UI_INC_UNOKYWDS_HXX #define INCLUDED_SD_SOURCE_UI_INC_UNOKYWDS_HXX
#define UNO_PREFIX "com.sun.star."
// SdXImpressDocument // SdXImpressDocument
const char sUNO_Service_DrawingDocument[] = UNO_PREFIX "drawing.DrawingDocument"; const char sUNO_Service_DrawingDocument[] = "com.sun.star.drawing.DrawingDocument";
const char sUNO_Service_PresentationDocument[] = UNO_PREFIX "drawing.PresentationDocument"; const char sUNO_Service_PresentationDocument[] = "com.sun.star.drawing.PresentationDocument";
// SdUnoStyleFamilies // SdUnoStyleFamilies
const char sUNO_SdUnoStyleFamilies[] = "SdUnoStyleFamilies"; const char sUNO_SdUnoStyleFamilies[] = "SdUnoStyleFamilies";
...@@ -84,23 +82,23 @@ const char sUNO_shape_layername[] = "LayerName"; ...@@ -84,23 +82,23 @@ const char sUNO_shape_layername[] = "LayerName";
const char sUNO_shape_zorder[] = "ZOrder"; const char sUNO_shape_zorder[] = "ZOrder";
// services // services
const char sUNO_Service_StyleFamily[] = UNO_PREFIX "style.StyleFamily"; const char sUNO_Service_StyleFamily[] = "com.sun.star.style.StyleFamily";
const char sUNO_Service_StyleFamilies[] = UNO_PREFIX "style.StyleFamilies"; const char sUNO_Service_StyleFamilies[] = "com.sun.star.style.StyleFamilies";
const char sUNO_Service_Style[] = UNO_PREFIX "style.Style"; const char sUNO_Service_Style[] = "com.sun.star.style.Style";
const char sUNO_Service_FillProperties[] = UNO_PREFIX "drawing.FillProperties"; const char sUNO_Service_FillProperties[] = "com.sun.star.drawing.FillProperties";
const char sUNO_Service_LineProperties[] = UNO_PREFIX "drawing.LineProperties"; const char sUNO_Service_LineProperties[] = "com.sun.star.drawing.LineProperties";
const char sUNO_Service_ParagraphProperties[] = UNO_PREFIX "style.ParagraphProperties"; const char sUNO_Service_ParagraphProperties[] = "com.sun.star.style.ParagraphProperties";
const char sUNO_Service_CharacterProperties[] = UNO_PREFIX "style.CharacterProperties"; const char sUNO_Service_CharacterProperties[] = "com.sun.star.style.CharacterProperties";
const char sUNO_Service_Text[] = UNO_PREFIX "drawing.Text"; const char sUNO_Service_Text[] = "com.sun.star.drawing.Text";
const char sUNO_Service_TextProperties[] = UNO_PREFIX "drawing.TextProperties"; const char sUNO_Service_TextProperties[] = "com.sun.star.drawing.TextProperties";
const char sUNO_Service_ShadowProperties[] = UNO_PREFIX "drawing.ShadowProperties"; const char sUNO_Service_ShadowProperties[] = "com.sun.star.drawing.ShadowProperties";
const char sUNO_Service_ConnectorProperties[] = UNO_PREFIX "drawing.ConnectorProperties"; const char sUNO_Service_ConnectorProperties[] = "com.sun.star.drawing.ConnectorProperties";
const char sUNO_Service_MeasureProperties[] = UNO_PREFIX "drawing.MeasureProperties"; const char sUNO_Service_MeasureProperties[] = "com.sun.star.drawing.MeasureProperties";
const char sUNO_Service_PageBackground[] = UNO_PREFIX "drawing.PageBackground"; const char sUNO_Service_PageBackground[] = "com.sun.star.drawing.PageBackground";
const char sUNO_Service_GraphicObjectShape[] = UNO_PREFIX "drawing.GraphicObjectShape"; const char sUNO_Service_GraphicObjectShape[] = "com.sun.star.drawing.GraphicObjectShape";
const char sUNO_Service_ImageMapRectangleObject[] = UNO_PREFIX "image.ImageMapRectangleObject"; const char sUNO_Service_ImageMapRectangleObject[] = "com.sun.star.image.ImageMapRectangleObject";
const char sUNO_Service_ImageMapCircleObject[] = UNO_PREFIX "image.ImageMapCircleObject"; const char sUNO_Service_ImageMapCircleObject[] = "com.sun.star.image.ImageMapCircleObject";
const char sUNO_Service_ImageMapPolygonObject[] = UNO_PREFIX "image.ImageMapPolygonObject"; const char sUNO_Service_ImageMapPolygonObject[] = "com.sun.star.image.ImageMapPolygonObject";
// properties // properties
const char sUNO_Prop_Background[] = "Background"; const char sUNO_Prop_Background[] = "Background";
......
...@@ -160,7 +160,7 @@ sal_Bool SAL_CALL SdLayer::supportsService( const OUString& ServiceName ) ...@@ -160,7 +160,7 @@ sal_Bool SAL_CALL SdLayer::supportsService( const OUString& ServiceName )
uno::Sequence< OUString > SAL_CALL SdLayer::getSupportedServiceNames() uno::Sequence< OUString > SAL_CALL SdLayer::getSupportedServiceNames()
{ {
OUString aServiceName(UNO_PREFIX "drawing.Layer"); OUString aServiceName("com.sun.star.drawing.Layer");
uno::Sequence< OUString > aSeq( &aServiceName, 1 ); uno::Sequence< OUString > aSeq( &aServiceName, 1 );
return aSeq; return aSeq;
} }
...@@ -464,7 +464,7 @@ sal_Bool SAL_CALL SdLayerManager::supportsService( const OUString& ServiceName ) ...@@ -464,7 +464,7 @@ sal_Bool SAL_CALL SdLayerManager::supportsService( const OUString& ServiceName )
uno::Sequence< OUString > SAL_CALL SdLayerManager::getSupportedServiceNames() uno::Sequence< OUString > SAL_CALL SdLayerManager::getSupportedServiceNames()
{ {
uno::Sequence< OUString > aSeq { UNO_PREFIX "drawing.LayerManager" }; uno::Sequence< OUString > aSeq { "com.sun.star.drawing.LayerManager" };
return aSeq; return aSeq;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment