Kaydet (Commit) 9cac6577 authored tarafından Peter Foley's avatar Peter Foley

add cui to Library_merged

Change-Id: I485426c0a0792e17bae5ef125d69f52827b469b2
üst 8726f878
...@@ -33,6 +33,7 @@ gb_MERGEDLIBS := \ ...@@ -33,6 +33,7 @@ gb_MERGEDLIBS := \
canvastools \ canvastools \
configmgr \ configmgr \
cppcanvas \ cppcanvas \
cui \
$(call gb_Helper_optional,DBCONNECTIVITY,dba) \ $(call gb_Helper_optional,DBCONNECTIVITY,dba) \
$(call gb_Helper_optional,DBCONNECTIVITY,dbtools) \ $(call gb_Helper_optional,DBCONNECTIVITY,dbtools) \
$(call gb_Helper_optional,DBCONNECTIVITY,dbu) \ $(call gb_Helper_optional,DBCONNECTIVITY,dbu) \
......
...@@ -42,11 +42,11 @@ namespace dcss = ::com::sun::star; ...@@ -42,11 +42,11 @@ namespace dcss = ::com::sun::star;
class MacroSecurityTP; class MacroSecurityTP;
class ReadOnlyImage : public FixedImage class XmlReadOnlyImage : public FixedImage
{ {
public: public:
ReadOnlyImage(Window* pParent, const ResId rResId); XmlReadOnlyImage(Window* pParent, const ResId rResId);
~ReadOnlyImage(); ~XmlReadOnlyImage();
virtual void RequestHelp( const HelpEvent& rHEvt ); virtual void RequestHelp( const HelpEvent& rHEvt );
static const OUString& GetHelpTip(); static const OUString& GetHelpTip();
......
...@@ -433,17 +433,17 @@ void MacroSecurityTrustedSourcesTP::ClosePage( void ) ...@@ -433,17 +433,17 @@ void MacroSecurityTrustedSourcesTP::ClosePage( void )
mpDlg->maSecOptions.SetTrustedAuthors( maTrustedAuthors ); mpDlg->maSecOptions.SetTrustedAuthors( maTrustedAuthors );
} }
ReadOnlyImage::ReadOnlyImage(Window* pParent, const ResId rResId) : XmlReadOnlyImage::XmlReadOnlyImage(Window* pParent, const ResId rResId) :
FixedImage(pParent, rResId) FixedImage(pParent, rResId)
{ {
SetImage( Image(XMLSEC_RES( RID_XMLSECTP_LOCK ))); SetImage( Image(XMLSEC_RES( RID_XMLSECTP_LOCK )));
} }
ReadOnlyImage::~ReadOnlyImage() XmlReadOnlyImage::~XmlReadOnlyImage()
{ {
} }
void ReadOnlyImage::RequestHelp( const HelpEvent& rHEvt ) void XmlReadOnlyImage::RequestHelp( const HelpEvent& rHEvt )
{ {
if( Help::IsBalloonHelpEnabled() || Help::IsQuickHelpEnabled() ) if( Help::IsBalloonHelpEnabled() || Help::IsQuickHelpEnabled() )
{ {
...@@ -451,7 +451,7 @@ void ReadOnlyImage::RequestHelp( const HelpEvent& rHEvt ) ...@@ -451,7 +451,7 @@ void ReadOnlyImage::RequestHelp( const HelpEvent& rHEvt )
Rectangle aScreenRect( OutputToScreenPixel( aLogicPix.TopLeft() ), Rectangle aScreenRect( OutputToScreenPixel( aLogicPix.TopLeft() ),
OutputToScreenPixel( aLogicPix.BottomRight() ) ); OutputToScreenPixel( aLogicPix.BottomRight() ) );
OUString aStr(ReadOnlyImage::GetHelpTip()); OUString aStr(XmlReadOnlyImage::GetHelpTip());
if ( Help::IsBalloonHelpEnabled() ) if ( Help::IsBalloonHelpEnabled() )
Help::ShowBalloon( this, rHEvt.GetMousePosPixel(), aScreenRect, Help::ShowBalloon( this, rHEvt.GetMousePosPixel(), aScreenRect,
aStr ); aStr );
...@@ -462,7 +462,7 @@ void ReadOnlyImage::RequestHelp( const HelpEvent& rHEvt ) ...@@ -462,7 +462,7 @@ void ReadOnlyImage::RequestHelp( const HelpEvent& rHEvt )
Window::RequestHelp( rHEvt ); Window::RequestHelp( rHEvt );
} }
const OUString& ReadOnlyImage::GetHelpTip() const OUString& XmlReadOnlyImage::GetHelpTip()
{ {
static OUString aStr(XMLSEC_RES( RID_XMLSECTP_READONLY_CONFIG_TIP)); static OUString aStr(XMLSEC_RES( RID_XMLSECTP_READONLY_CONFIG_TIP));
return aStr; return aStr;
......
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