[Libreoffice-commits] .: sfx2/source svtools/AllLangResTarget_svt.mk svtools/inc svtools/Library_svt.mk svtools/Package_inc.mk svtools/source svtools/util

August Sodora augsod at kemper.freedesktop.org
Wed Dec 21 04:01:01 PST 2011


 sfx2/source/appl/app.cxx                |  106 -----------------
 svtools/AllLangResTarget_svt.mk         |    1 
 svtools/Library_svt.mk                  |    1 
 svtools/Package_inc.mk                  |    2 
 svtools/inc/svtools/helpid.hrc          |    6 
 svtools/inc/svtools/testtool.hxx        |   78 ------------
 svtools/source/misc/helpagentwindow.cxx |    3 
 svtools/source/plugapp/testtool.hrc     |   55 ---------
 svtools/source/plugapp/testtool.src     |  194 --------------------------------
 svtools/source/plugapp/ttprops.cxx      |   36 -----
 svtools/util/hidother.src               |    3 
 11 files changed, 485 deletions(-)

New commits:
commit eeecf625351238f90c61c82b403bd65e35d7833e
Author: August Sodora <augsod at gmail.com>
Date:   Wed Dec 21 06:49:39 2011 -0500

    Remove TTProperties

diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index de0f385..d611d94 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -26,7 +26,6 @@
  *
  ************************************************************************/
 
-
 #if defined UNX
 #include <limits.h>
 #else // UNX
@@ -153,109 +152,6 @@ static SfxHelp*        pSfxHelp = NULL;
 
 namespace
 {
-    class SfxPropertyHandler : public PropertyHandler
-    {
-        virtual void Property( ApplicationProperty& );
-    };
-
-    void SfxPropertyHandler::Property( ApplicationProperty& rProp )
-    {
-        TTProperties* pTTProperties = PTR_CAST( TTProperties, &rProp );
-        if ( pTTProperties )
-        {
-            pTTProperties->nPropertyVersion = TT_PROPERTIES_VERSION;
-            switch ( pTTProperties->nActualPR )
-            {
-                case TT_PR_SLOTS:
-                {
-                    pTTProperties->nSidOpenUrl = SID_OPENURL;
-                    pTTProperties->nSidFileName = SID_FILE_NAME;
-                    pTTProperties->nSidNewDocDirect = SID_NEWDOCDIRECT;
-                    pTTProperties->nSidCopy = SID_COPY;
-                    pTTProperties->nSidPaste = SID_PASTE;
-                    pTTProperties->nSidSourceView = SID_SOURCEVIEW;
-                    pTTProperties->nSidSelectAll = SID_SELECTALL;
-                    pTTProperties->nSidReferer = SID_REFERER;
-                    pTTProperties->nActualPR = 0;
-                }
-                break;
-                case TT_PR_DISPATCHER:
-                {
-                    // interface for TestTool
-                    SfxViewFrame* pViewFrame=0;
-                    SfxDispatcher* pDispatcher=0;
-                    pViewFrame = SfxViewFrame::Current();
-                    if ( !pViewFrame )
-                        pViewFrame = SfxViewFrame::GetFirst();
-                    if ( pViewFrame )
-                        pDispatcher = pViewFrame->GetDispatcher();
-                    else
-                        pDispatcher = NULL;
-                    if ( !pDispatcher )
-                        pTTProperties->nActualPR = TT_PR_ERR_NODISPATCHER;
-                    else
-                    {
-                        pDispatcher->SetExecuteMode(EXECUTEMODE_DIALOGASYNCHRON);
-                        if ( pTTProperties->mnSID == SID_NEWDOCDIRECT
-                          || pTTProperties->mnSID == SID_OPENDOC )
-                        {
-                            SfxPoolItem** pArgs = pTTProperties->mppArgs;
-                            SfxAllItemSet aSet( SFX_APP()->GetPool() );
-                            if ( pArgs && *pArgs )
-                            {
-                                for ( SfxPoolItem **pArg = pArgs; *pArg; ++pArg )
-                                    aSet.Put( **pArg );
-                            }
-                            if ( pTTProperties->mnSID == SID_NEWDOCDIRECT )
-                            {
-                                String aFactory = String::CreateFromAscii("private:factory/");
-                                if ( pArgs && *pArgs )
-                                {
-                                    SFX_ITEMSET_ARG( &aSet, pFactoryName, SfxStringItem, SID_NEWDOCDIRECT, sal_False );
-                                    if ( pFactoryName )
-                                        aFactory += pFactoryName->GetValue();
-                                    else
-                                        aFactory += String::CreateFromAscii("swriter");
-                                }
-                                else
-                                    aFactory += String::CreateFromAscii("swriter");
-
-                                aSet.Put( SfxStringItem( SID_FILE_NAME, aFactory ) );
-                                aSet.ClearItem( SID_NEWDOCDIRECT );
-                                pTTProperties->mnSID = SID_OPENDOC;
-                            }
-
-                            aSet.Put( SfxStringItem( SID_TARGETNAME, DEFINE_CONST_UNICODE("_blank") ) );
-                            if ( pDispatcher->ExecuteFunction( pTTProperties->mnSID, aSet, pTTProperties->mnMode )
-                                        == EXECUTE_NO )
-                                pTTProperties->nActualPR = TT_PR_ERR_NOEXECUTE;
-                            else
-                                pTTProperties->nActualPR = 0;
-                        }
-                        else
-                        {
-                            if ( pDispatcher->ExecuteFunction(
-                                    pTTProperties->mnSID, pTTProperties->mppArgs, pTTProperties->mnMode )
-                                == EXECUTE_NO )
-                                pTTProperties->nActualPR = TT_PR_ERR_NOEXECUTE;
-                            else
-                                pTTProperties->nActualPR = 0;
-                        }
-                    }
-                }
-                break;
-                default:
-                {
-                    pTTProperties->nPropertyVersion = 0;
-                }
-            }
-            return;
-        }
-    }
-
-    class thePropertyHandler
-        : public rtl::Static<SfxPropertyHandler, thePropertyHandler> {};
-
     class theApplicationMutex
         : public rtl::Static<osl::Mutex, theApplicationMutex> {};
 }
@@ -307,8 +203,6 @@ SfxApplication::SfxApplication()
     RTL_LOGFILE_CONTEXT( aLog, "sfx2 (mb93783) ::SfxApplication::SfxApplication" );
 
     SetName( DEFINE_CONST_UNICODE("StarOffice") );
-    GetpApp()->SetPropertyHandler( &thePropertyHandler::get() );
-
     SvtViewOptions::AcquireOptions();
 
     pAppData_Impl = new SfxAppData_Impl( this );
diff --git a/svtools/AllLangResTarget_svt.mk b/svtools/AllLangResTarget_svt.mk
index e5d0a5b..be34c69 100644
--- a/svtools/AllLangResTarget_svt.mk
+++ b/svtools/AllLangResTarget_svt.mk
@@ -64,7 +64,6 @@ $(eval $(call gb_SrsTarget_add_files,svt/res,\
     svtools/source/misc/imagemgr.src \
     svtools/source/misc/langtab.src \
     svtools/source/misc/undo.src \
-    svtools/source/plugapp/testtool.src \
     svtools/source/toolpanel/toolpanel.src \
 ))
 
diff --git a/svtools/Library_svt.mk b/svtools/Library_svt.mk
index bb2e0d1..84bc1bd 100644
--- a/svtools/Library_svt.mk
+++ b/svtools/Library_svt.mk
@@ -224,7 +224,6 @@ $(eval $(call gb_Library_add_exception_objects,svt,\
     svtools/source/misc/unitconv \
     svtools/source/misc/wallitem \
     svtools/source/misc/xwindowitem \
-    svtools/source/plugapp/ttprops \
     svtools/source/svhtml/htmlkywd \
     svtools/source/svhtml/htmlout \
     svtools/source/svhtml/htmlsupp \
diff --git a/svtools/Package_inc.mk b/svtools/Package_inc.mk
index ca1db3f..e63c930 100644
--- a/svtools/Package_inc.mk
+++ b/svtools/Package_inc.mk
@@ -159,7 +159,6 @@ $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/table/tablesort.hxx,sv
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/taskbar.hxx,svtools/taskbar.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/templatefoldercache.hxx,svtools/templatefoldercache.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/templdlg.hxx,svtools/templdlg.hxx))
-$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/testtool.hxx,svtools/testtool.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/textdata.hxx,svtools/textdata.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/texteng.hxx,svtools/texteng.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/textview.hxx,svtools/textview.hxx))
@@ -177,7 +176,6 @@ $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/toolpanel/toolpanel.hx
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/toolpanel/toolpaneldeck.hxx,svtools/toolpanel/toolpaneldeck.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/transfer.hxx,svtools/transfer.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/treelist.hxx,svtools/treelist.hxx))
-$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/ttprops.hxx,svtools/ttprops.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/txtattr.hxx,svtools/txtattr.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/txtcmp.hxx,svtools/txtcmp.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/unitconv.hxx,svtools/unitconv.hxx))
diff --git a/svtools/inc/svtools/helpid.hrc b/svtools/inc/svtools/helpid.hrc
index ecf8ba4..530b369 100644
--- a/svtools/inc/svtools/helpid.hrc
+++ b/svtools/inc/svtools/helpid.hrc
@@ -115,12 +115,6 @@
 #define HID_FILEOPEN_VERSION                                   "SVT_HID_FILEOPEN_VERSION"
 #define HID_FILEOPEN_IMAGE_TEMPLATE                            "SVT_HID_FILEOPEN_IMAGE_TEMPLATE"
 
-// uniqueid for the helpagent window (testtool)
-#define HID_HELPAGENT_WINDOW                                   "SVT_HID_HELPAGENT_WINDOW"
-
-// registration dialog
-#define HID_REGISTRATION_DIALOG                                "SVT_HID_REGISTRATION_DIALOG"
-
 #define HID_PRINTDIALOG_TOFILE                                 "SVT_HID_PRINTDIALOG_TOFILE"
 
 #define HID_WIZARD_NEXT                                        "SVT_HID_WIZARD_NEXT"
diff --git a/svtools/inc/svtools/testtool.hxx b/svtools/inc/svtools/testtool.hxx
deleted file mode 100644
index 0129a32..0000000
--- a/svtools/inc/svtools/testtool.hxx
+++ /dev/null
@@ -1,78 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org.  If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef SVTOOLS_TESTTOOL_HXX
-#define SVTOOLS_TESTTOOL_HXX
-
-#include <tools/solar.h>
-#include <tools/link.hxx>
-#include <tools/string.hxx>
-
-class Application;
-class SvStream;
-
-class StatementFlow;
-class CommunicationManager;
-class CommunicationLink;
-#if OSL_DEBUG_LEVEL > 1
-class EditWindow;
-#endif
-class ImplRC;
-
-class RemoteControl
-{
-    friend class StatementFlow;
-
-    sal_Bool         m_bIdleInserted;
-#if OSL_DEBUG_LEVEL > 1
-    EditWindow *m_pDbgWin;
-#endif
-    ImplRC* pImplRC;
-
-public:
-    RemoteControl();
-    ~RemoteControl();
-    sal_Bool QueCommands( sal_uLong nServiceId, SvStream *pIn );
-    SvStream* GetReturnStream();
-
-    DECL_LINK( IdleHdl,   Application* );
-    DECL_LINK( CommandHdl, Application* );
-
-    DECL_LINK( QueCommandsEvent, CommunicationLink* );
-    sal_uLong nStoredServiceId;
-    SvStream *pStoredStream;
-
-    void ExecuteURL( String &aURL );
-
-protected:
-    CommunicationManager *pServiceMgr;
-    SvStream *pRetStream;
-};
-
-#endif // SVTOOLS_TESTTOOL_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/misc/helpagentwindow.cxx b/svtools/source/misc/helpagentwindow.cxx
index 27defbe..e4b8326 100644
--- a/svtools/source/misc/helpagentwindow.cxx
+++ b/svtools/source/misc/helpagentwindow.cxx
@@ -99,9 +99,6 @@ namespace svt
 
         SetPointer(Pointer(POINTER_REFHAND));
         AlwaysEnableInput( sal_True, sal_True );
-
-        // unique id for the testtool
-        SetUniqueId( HID_HELPAGENT_WINDOW );
     }
 
     //--------------------------------------------------------------------
diff --git a/svtools/source/plugapp/testtool.hrc b/svtools/source/plugapp/testtool.hrc
deleted file mode 100644
index d6a234b..0000000
--- a/svtools/source/plugapp/testtool.hrc
+++ /dev/null
@@ -1,55 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org.  If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#define TTSTART             12345
-
-#define DisplayHidToolBox   ( TTSTART + 0 )
-#define TT_SHOW             1
-#define TT_SHOW2            ( TTSTART + 1 )
-#define TT_OUTPUT           3
-#define TT_SEND_DATA        4
-#define TT_ALLWIN           5
-#define TT_KURZNAME         6
-#define TT_LANGNAME         7
-#define TT_ALTERNATE_CAPTION ( TTSTART + 2 )
-
-#define TT_INLINE_TRANSLATION ( TTSTART + 3)
-#define TT_GB_TRANSLATION   1
-#define TT_E_NEW            2
-#define TT_FT_OLD           3
-#define TT_GB_COMMENT       4
-#define TT_E_COMMENT        5
-
-#define TT_PB_SELECT        6
-#define TT_PB_RESTORE       7
-#define TT_PB_ACCEPT        8
-#define TT_PB_NEXT          9
-
-#define TT_DISCARD_CHANGED_DATA ( TTSTART + 4 )
-#define TT_NO_CONTROL       ( TTSTART + 5 )
-
-
-#define TT_GPF              ( TTSTART + 6 )
diff --git a/svtools/source/plugapp/testtool.src b/svtools/source/plugapp/testtool.src
deleted file mode 100644
index 27f8922..0000000
--- a/svtools/source/plugapp/testtool.src
+++ /dev/null
@@ -1,194 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org.  If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#include "testtool.hrc"
-#include <svl/solar.hrc>
-
-
-#define Control_Control 5
-#define Control_Border  7
-#define Button_Button   Control_Control
-#define ButtonWidth     40
-
-
-ToolBox DisplayHidToolBox {
-    SVLook = TRUE ;
-    ItemList = {
-    ToolBoxItem  {
-            Type = TOOLBOXITEM_BUTTON;
-            _ToolBoxItemFlags = TIB_AUTOCHECK ;
-            Identifier = TT_SHOW;
-            ItemBitmap = Bitmap  {
-                File = "ttshow.png";
-            };
-            Text[ en-US ] = "Display IDs";
-        };
-    ToolBoxItem  {
-            Type = TOOLBOXITEM_SEPARATOR;
-        };
-    ToolBoxItem  {
-            _ToolBoxItemFlags = TIB_AUTOSIZE;
-            Identifier = TT_OUTPUT;
-            Text[ en-US ] = "This is the input window";
-        };
-    ToolBoxItem  {
-            Type = TOOLBOXITEM_SEPARATOR;
-        };
-    ToolBoxItem  {
-            Identifier = TT_SEND_DATA;
-            ItemBitmap = Bitmap  {
-                File = "ttremote.png";
-            };
-            Text[ en-US ] = "Transfer to TestTool";
-        };
-    ToolBoxItem  {
-            Type = TOOLBOXITEM_SEPARATOR;
-        };
-    ToolBoxItem  {
-            Identifier = TT_ALLWIN;
-            ItemBitmap = Bitmap  {
-                File = "ttall.png";
-            };
-            Text[ en-US ] = "Show all windows";
-        };
-    ToolBoxItem  {
-            Identifier = TT_KURZNAME;
-            ItemBitmap = Bitmap  {
-                File = "ttdef.png";
-            };
-            Text[ en-US ] = "Show short names (if available)";
-        };
-    ToolBoxItem  {
-            Identifier = TT_LANGNAME;
-            ItemBitmap = Bitmap  {
-                File = "tthid.png";
-            };
-            Text[ en-US ] = "Always show long-name";
-        };
-    };
-    Text[ en-US ] = "DisplayHID";
-};
-
-Bitmap TT_SHOW2 {
-    File = "ttshow2.png";
-};
-
-WorkWindow TT_INLINE_TRANSLATION {
-    HelpID = "svtools:WorkWindow:TT_INLINE_TRANSLATION";
-    SVLook = TRUE;
-    Size = MAP_APPFONT( 2*Control_Border + 4*ButtonWidth + 3*Button_Button, 120 );
-    Moveable = TRUE;
-    Sizeable = TRUE;
-    Closeable = TRUE;
-    Border = TRUE;
-    GroupBox TT_GB_TRANSLATION {
-        Pos = MAP_APPFONT( 2, 3 );
-        Size = MAP_APPFONT( 173, 44 );
-        Text[ en-US ] = "Translation";
-    };
-    Edit TT_E_NEW {
-        HelpID = "svtools:Edit:TT_INLINE_TRANSLATION:TT_E_NEW";
-        Disable = TRUE;
-        Border = TRUE;
-        Pos = MAP_APPFONT( 7, 16 );
-        Size = MAP_APPFONT( 162, 12 );
-        TabStop = TRUE;
-        Text[ en-US ] = "~Edit";
-    };
-    FixedText TT_FT_OLD {
-        Pos = MAP_APPFONT( 7, 33 );
-        Size = MAP_APPFONT( 162, 10 );
-        Text[ en-US ] = "Original Text";
-    };
-    GroupBox TT_GB_COMMENT {
-        Pos = MAP_APPFONT( 2, 52 );
-        Size = MAP_APPFONT( 173, 32 );
-        Text[ en-US ] = "Comment";
-    };
-    Edit TT_E_COMMENT {
-        HelpID = "svtools:Edit:TT_INLINE_TRANSLATION:TT_E_COMMENT";
-        Disable = TRUE;
-        Border = TRUE;
-        Pos = MAP_APPFONT( 7, 64 );
-        Size = MAP_APPFONT( 162, 12 );
-        TabStop = TRUE;
-        Text[ en-US ] = "~Comment";
-    };
-    PushButton TT_PB_SELECT {
-        HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_SELECT";
-        Pos = MAP_APPFONT( Control_Border, 89 );
-        Size = MAP_APPFONT( ButtonWidth, 12 );
-        TabStop = TRUE;
-        Text[ en-US ] = "~Select";
-    };
-    PushButton TT_PB_RESTORE {
-        HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_RESTORE";
-        Disable = TRUE;
-        Pos = MAP_APPFONT( Control_Border + ButtonWidth + Button_Button, 89 );
-        Size = MAP_APPFONT( ButtonWidth, 12 );
-        TabStop = TRUE;
-        Text[ en-US ] = "~Restore";
-    };
-    PushButton TT_PB_ACCEPT {
-        HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_ACCEPT";
-        Disable = TRUE;
-        Pos = MAP_APPFONT( Control_Border + 2*(ButtonWidth + Button_Button), 89 );
-        Size = MAP_APPFONT( ButtonWidth, 12 );
-        TabStop = TRUE;
-        Text[ en-US ] = "~Accept";
-    };
-    PushButton TT_PB_NEXT {
-        HelpID = "svtools:PushButton:TT_INLINE_TRANSLATION:TT_PB_NEXT";
-        Pos = MAP_APPFONT( Control_Border + 3*(ButtonWidth + Button_Button), 89 );
-        Size = MAP_APPFONT( ButtonWidth, 12 );
-        TabStop = TRUE;
-        Text[ en-US ] = "~Next";
-    };
-    Text[ en-US ] = "Inplace Translation";
-};
-
-MessBox TT_DISCARD_CHANGED_DATA {
-    Buttons = WB_YES_NO;
-    DefButton = WB_DEF_YES;
-    Message[ en-US ] = "The Translation will be lost. Proceed anyway?";
-};
-
-ErrorBox TT_NO_CONTROL {
-    Buttons = WB_OK;
-    DefButton = WB_DEF_OK;
-    Message[ en-US ] = "The Control is no longer valid. The Translation cannot be saved.";
-};
-
-String TT_GPF
-{
-    Text[ en-US ] = "GPF occurred";
-};
-
-String TT_ALTERNATE_CAPTION
-{
-    Text[ en-US ] = "HelpID does not match UniqueID: ";
-};
-
diff --git a/svtools/source/plugapp/ttprops.cxx b/svtools/source/plugapp/ttprops.cxx
deleted file mode 100644
index c050df6..0000000
--- a/svtools/source/plugapp/ttprops.cxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org.  If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <svtools/ttprops.hxx>
-#include <vcl/svapp.hxx>
-#include <vcl/bitmap.hxx>
-#include <tools/rtti.hxx>
-
-TYPEINIT1( TTProperties, ApplicationProperty )
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/util/hidother.src b/svtools/util/hidother.src
index 03aea7e..0d4e24b 100644
--- a/svtools/util/hidother.src
+++ b/svtools/util/hidother.src
@@ -49,9 +49,6 @@ hidspecial HID_FILESAVE_DOPLAY                  { HelpID = HID_FILESAVE_DOPLAY;
 hidspecial HID_FILEOPEN_READONLY                { HelpID = HID_FILEOPEN_READONLY; };
 hidspecial HID_FILEOPEN_VERSION                 { HelpID = HID_FILEOPEN_VERSION; };
 hidspecial HID_FILEOPEN_IMAGE_TEMPLATE          { HelpID = HID_FILEOPEN_IMAGE_TEMPLATE; };
-hidspecial HID_HELPAGENT_WINDOW                 { HelpID = HID_HELPAGENT_WINDOW; };
-
-hidspecial HID_REGISTRATION_DIALOG              { HelpID = HID_REGISTRATION_DIALOG; };
 
 hidspecial HID_PRINTDIALOG_TOFILE               { HelpID = HID_PRINTDIALOG_TOFILE; };
 


More information about the Libreoffice-commits mailing list