summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-17 14:04:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-17 20:15:27 +0200
commit10ade7465ba2b60fbda93ae3436ece01b3366a72 (patch)
tree080ee685179dbb8411101a40d29f2a6e78a4f91a
parent048433cbcaddea2f2bca7169526c6ce367af11a8 (diff)
ODocumentInfoPreview not in any .ui files
Change-Id: I8875a5b39e5a27df8b365e268bb2aab3c42300a4 Reviewed-on: https://gerrit.libreoffice.org/80959 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--extras/source/glade/libreoffice-catalog.xml.in3
-rw-r--r--svtools/source/contnr/DocumentInfoPreview.cxx3
2 files changed, 0 insertions, 6 deletions
diff --git a/extras/source/glade/libreoffice-catalog.xml.in b/extras/source/glade/libreoffice-catalog.xml.in
index 3bfa5fab2483..415a010b90d8 100644
--- a/extras/source/glade/libreoffice-catalog.xml.in
+++ b/extras/source/glade/libreoffice-catalog.xml.in
@@ -86,9 +86,6 @@
<glade-widget-class title="SvtValueSet" name="svtlo-ValueSet"
generic-name="Set of Value Options" parent="GtkDrawingArea"
icon-name="widget-gtk-drawingarea"/>
- <glade-widget-class title="Document Info Preview" name="svtlo-ODocumentInfoPreview"
- generic-name="Document Info Preview" parent="GtkDrawingArea"
- icon-name="widget-gtk-drawingarea"/>
<glade-widget-class title="SvxColorValueSet" name="svxcorelo-SvxColorValueSet"
generic-name="Set of Value Options" parent="GtkDrawingArea"
icon-name="widget-gtk-drawingarea"/>
diff --git a/svtools/source/contnr/DocumentInfoPreview.cxx b/svtools/source/contnr/DocumentInfoPreview.cxx
index d84b46de2aa3..dd40b569477a 100644
--- a/svtools/source/contnr/DocumentInfoPreview.cxx
+++ b/svtools/source/contnr/DocumentInfoPreview.cxx
@@ -32,7 +32,6 @@
#include <vcl/txtattr.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
-#include <vcl/builderfactory.hxx>
#include <tools/datetime.hxx>
#include <tools/diagnose_ex.h>
#include <unotools/localedatawrapper.hxx>
@@ -62,8 +61,6 @@ void ODocumentInfoPreview::dispose()
Window::dispose();
}
-VCL_BUILDER_FACTORY_ARGS(ODocumentInfoPreview, WB_BORDER | WB_READONLY)
-
void ODocumentInfoPreview::Resize() {
m_pEditWin->SetPosSizePixel(Point(0, 0), GetOutputSize());
}