[Libreoffice-commits] .: 3 commits - svx/inc svx/Package_inc.mk sw/inc sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Jan 20 03:03:07 PST 2013
svx/Package_inc.mk | 1
svx/inc/svx/splitcelldlg.hxx | 55 --------------------------------------
sw/inc/swabstdlg.hxx | 8 -----
sw/source/ui/inc/split.hxx | 62 -------------------------------------------
4 files changed, 126 deletions(-)
New commits:
commit eef7932dce56a736f9c122bc792382e1acdd63b3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jan 20 03:10:36 2013 +0000
SwSplitTableDlg also unused
Change-Id: I0eef94907586ecae8213da6f322366ddc8e0c686
diff --git a/sw/source/ui/inc/split.hxx b/sw/source/ui/inc/split.hxx
deleted file mode 100644
index 0563b92..0000000
--- a/sw/source/ui/inc/split.hxx
+++ /dev/null
@@ -1,62 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _TAB_SPLIT_HXX
-#define _TAB_SPLIT_HXX
-
-#include <svx/stddlg.hxx>
-
-#include <vcl/fixed.hxx>
-
-#include <vcl/field.hxx>
-
-#include <vcl/button.hxx>
-
-#include <vcl/button.hxx>
-
-class SwWrtShell;
-
-class SwSplitTableDlg : public SvxStandardDialog
-{
- FixedLine aCountFL;
- FixedText aCountLbl;
- NumericField aCountEdit;
- FixedLine aDirFL;
- ImageRadioButton aHorzBox;
- ImageRadioButton aVertBox;
- CheckBox aPropCB;
- OKButton aOKBtn;
- CancelButton aCancelBtn;
- HelpButton aHelpBtn;
- SwWrtShell& rSh;
-
-protected:
- virtual void Apply();
-
-public:
- SwSplitTableDlg(Window *pParent, SwWrtShell& rShell );
- DECL_LINK( ClickHdl, Button * );
-
- sal_Bool IsHorizontal() const { return aHorzBox.IsChecked(); }
- sal_Bool IsProportional() const { return aPropCB.IsChecked() && aHorzBox.IsChecked(); }
- long GetCount() const { return sal::static_int_cast< long >(aCountEdit.GetValue()); }
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit 8f1e22eb149ac91da02ad3f0e8869be11d400525
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jan 20 03:09:42 2013 +0000
AbstractSwSplitTableDlg never used
Change-Id: I8b3fa5a513d31002655af479ba41a85b713509bd
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index b672f66..f2cc338 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -267,14 +267,6 @@ public:
virtual void SelectEntryPos(sal_uInt16 nIdx) = 0; // inline
};
-class AbstractSwSplitTableDlg :public VclAbstractDialog //add for SwSplitTableDlg
-{
-public:
- virtual sal_Bool IsHorizontal() const = 0;
- virtual sal_Bool IsProportional() const = 0;
- virtual long GetCount() const = 0;
-};
-
class AbstractSwAutoFormatDlg : public VclAbstractDialog //add for SwAutoFormatDlg
{
public:
commit 7b3862a5122d404845cc7dc227badb1cdfc92ac2
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jan 20 03:07:16 2013 +0000
splitcelldlg.hxx moved into cui long ago, this copy should be removed
Change-Id: Id019b80e12eaaed1d181af2eb2599cc1db26ee25
diff --git a/svx/Package_inc.mk b/svx/Package_inc.mk
index 3eac094..e1deeab 100644
--- a/svx/Package_inc.mk
+++ b/svx/Package_inc.mk
@@ -136,7 +136,6 @@ $(eval $(call gb_Package_add_file,svx_inc,inc/svx/unoshtxt.hxx,svx/unoshtxt.hxx)
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/svdopage.hxx,svx/svdopage.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/xftadit.hxx,svx/xftadit.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/xlnstcit.hxx,svx/xlnstcit.hxx))
-$(eval $(call gb_Package_add_file,svx_inc,inc/svx/splitcelldlg.hxx,svx/splitcelldlg.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/sdynitm.hxx,svx/sdynitm.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/rulritem.hxx,svx/rulritem.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/fillctrl.hxx,svx/fillctrl.hxx))
diff --git a/svx/inc/svx/splitcelldlg.hxx b/svx/inc/svx/splitcelldlg.hxx
deleted file mode 100644
index 39a124d..0000000
--- a/svx/inc/svx/splitcelldlg.hxx
+++ /dev/null
@@ -1,55 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _SVX_SPLITCELLDLG_HXX
-#define _SVX_SPLITCELLDLG_HXX
-
-#include <vcl/fixed.hxx>
-#include <vcl/field.hxx>
-#include <vcl/button.hxx>
-
-#include <svx/stddlg.hxx>
-
-class SvxSplitTableDlg : public SvxStandardDialog
-{
- FixedText maCountLbl;
- NumericField maCountEdit;
- FixedLine maCountFL;
- ImageRadioButton maHorzBox;
- ImageRadioButton maVertBox;
- CheckBox maPropCB;
- FixedLine maDirFL;
- OKButton maOKBtn;
- CancelButton maCancelBtn;
- HelpButton maHelpBtn;
-
-protected:
- virtual void Apply();
-
-public:
- SvxSplitTableDlg(Window *pParent );
- DECL_LINK( ClickHdl, Button * );
-
- bool IsHorizontal() const;
- bool IsProportional() const;
- long GetCount() const;
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list