[Libreoffice-commits] .: 3 commits - autodoc/source connectivity/source dbaccess/source filter/source framework/source sw/source unotools/source
Takeshi Abe
tabe at kemper.freedesktop.org
Thu May 24 06:34:47 PDT 2012
autodoc/source/display/idl/hfi_globalindex.cxx | 12 ------------
connectivity/source/drivers/postgresql/pq_xtables.cxx | 2 +-
dbaccess/source/ui/dlg/dlgsave.cxx | 2 --
filter/source/svg/svgwriter.cxx | 4 ----
framework/source/fwi/uielement/constitemcontainer.cxx | 2 --
framework/source/uiconfiguration/uicategorydescription.cxx | 1 -
framework/source/uielement/uicommanddescription.cxx | 2 --
sw/source/ui/vba/vbalisthelper.cxx | 10 ----------
unotools/source/config/historyoptions.cxx | 1 -
9 files changed, 1 insertion(+), 35 deletions(-)
New commits:
commit 06dde54187547d9a6aa16abdbf15336918057683
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu May 24 22:27:27 2012 +0900
catch by const reference
Change-Id: I7fda9e06f5beeab4fdfeb1475cda7719ab230073
diff --git a/connectivity/source/drivers/postgresql/pq_xtables.cxx b/connectivity/source/drivers/postgresql/pq_xtables.cxx
index 44b1e18..afc1477 100644
--- a/connectivity/source/drivers/postgresql/pq_xtables.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xtables.cxx
@@ -180,7 +180,7 @@ void Tables::refresh()
}
m_name2index.swap( map );
}
- catch ( com::sun::star::sdbc::SQLException & e )
+ catch ( const com::sun::star::sdbc::SQLException & e )
{
throw RuntimeException( e.Message , e.Context );
}
commit 4469eb2068fd6f2429823c550295f70ee2f79be7
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu May 24 22:26:44 2012 +0900
removed unused member fields
Change-Id: If89fd07ad78bca303a9bf8484f08cba08afffe8d
diff --git a/dbaccess/source/ui/dlg/dlgsave.cxx b/dbaccess/source/ui/dlg/dlgsave.cxx
index 33d0ea6..b016046 100644
--- a/dbaccess/source/ui/dlg/dlgsave.cxx
+++ b/dbaccess/source/ui/dlg/dlgsave.cxx
@@ -72,8 +72,6 @@ public:
HelpButton m_aPB_HELP;
String m_aQryLabel;
String m_sTblLabel;
- rtl::OUString m_sCatalog;
- rtl::OUString m_sSchema;
String m_aName;
const IObjectNameCheck&
m_rObjectNameCheck;
commit d428360e48f069622b0aeccf74b88af0be632be8
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu May 24 22:20:19 2012 +0900
removed unused const char[]
Change-Id: Ia5f26c13e7bae42685230769fa86b52703eb2f7e
diff --git a/autodoc/source/display/idl/hfi_globalindex.cxx b/autodoc/source/display/idl/hfi_globalindex.cxx
index dc0766b..d02d3cc 100644
--- a/autodoc/source/display/idl/hfi_globalindex.cxx
+++ b/autodoc/source/display/idl/hfi_globalindex.cxx
@@ -112,18 +112,6 @@ const intt C_nNamesArrayOffset = intt(ary::idl::Module::class_id);
const int C_nIxField = 9;
-
-
-const char C_cAlphabet[] =
-"<a class=\"inverse\" href=\"index-1.html\"><B>A</B></a> <a class=\"inverse\" href=\"index-2.html\"><B>B</B></a> <a class=\"inverse\" href=\"index-3.html\"><B>C</B></a> <a class=\"inverse\" href=\"index-4.html\"><B>D</B></a> <a class=\"inverse\" href=\"index-5.html\"><B>E</B></a> "
-"<a class=\"inverse\" href=\"index-6.html\"><B>F</B></a> <a class=\"inverse\" href=\"index-7.html\"><B>G</B></a> <a class=\"inverse\" href=\"index-8.html\"><B>H</B></a> <a class=\"inverse\" href=\"index-9.html\"><B>I</B></a> <a class=\"inverse\" href=\"index-10.html\"><B>J</B></a> "
-"<a class=\"inverse\" href=\"index-11.html\"><B>K</B></a> <a class=\"inverse\" href=\"index-12.html\"><B>L</B></a> <a class=\"inverse\" href=\"index-13.html\"><B>M</B></a> <a class=\"inverse\" href=\"index-14.html\"><B>N</B></a> <a class=\"inverse\" href=\"index-15.html\"><B>O</B></a> "
-"<a class=\"inverse\" href=\"index-16.html\"><B>P</B></a> <a class=\"inverse\" href=\"index-17.html\"><B>Q</B></a> <a class=\"inverse\" href=\"index-18.html\"><B>R</B></a> <a class=\"inverse\" href=\"index-19.html\"><B>S</B></a> <a class=\"inverse\" href=\"index-20.html\"><B>T</B></a> "
-"<a class=\"inverse\" href=\"index-21.html\"><B>U</B></a> <a class=\"inverse\" href=\"index-22.html\"><B>V</B></a> <a class=\"inverse\" href=\"index-23.html\"><B>W</B></a> <a class=\"inverse\" href=\"index-24.html\"><B>X</B></a> <a class=\"inverse\" href=\"index-25.html\"><B>Y</B></a> "
-"<a class=\"inverse\" href=\"index-26.html\"><B>Z</B></a>";
-
-
-
HF_IdlGlobalIndex::PageData G_PageData;
} // end anonymous namespace
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 4d41707..5bcbb5a 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -49,10 +49,7 @@ static const char aXMLElemLine[] = "line";
static const char aXMLElemRect[] = "rect";
static const char aXMLElemEllipse[] = "ellipse";
static const char aXMLElemPath[] = "path";
-static const char aXMLElemPolygon[] = "polygon";
-static const char aXMLElemPolyLine[] = "polyline";
static const char aXMLElemText[] = "text";
-static const char aXMLElemTSpan[] = "tspan";
static const char aXMLElemImage[] = "image";
static const char aXMLElemMask[] = "mask";
static const char aXMLElemPattern[] = "pattern";
@@ -79,7 +76,6 @@ static const char aXMLAttrRX[] = "rx";
static const char aXMLAttrRY[] = "ry";
static const char aXMLAttrWidth[] = "width";
static const char aXMLAttrHeight[] = "height";
-static const char aXMLAttrPoints[] = "points";
static const char aXMLAttrStroke[] = "stroke";
static const char aXMLAttrStrokeOpacity[] = "stroke-opacity";
static const char aXMLAttrStrokeWidth[] = "stroke-width";
diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx
index 414f0ab..fa19b8f 100644
--- a/framework/source/fwi/uielement/constitemcontainer.cxx
+++ b/framework/source/fwi/uielement/constitemcontainer.cxx
@@ -42,8 +42,6 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
using namespace com::sun::star::container;
-const char WRONG_TYPE_EXCEPTION[] = "Type must be com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >";
-
const int PROPHANDLE_UINAME = 1;
const int PROPCOUNT = 1;
const char PROPNAME_UINAME[] = "UIName";
diff --git a/framework/source/uiconfiguration/uicategorydescription.cxx b/framework/source/uiconfiguration/uicategorydescription.cxx
index c955565..414a4da 100644
--- a/framework/source/uiconfiguration/uicategorydescription.cxx
+++ b/framework/source/uiconfiguration/uicategorydescription.cxx
@@ -79,7 +79,6 @@ struct ModuleToCategory
const char* pCommands;
};
-static const char CATEGORY[] = "Category";
static const char GENERIC_MODULE_NAME[] = "generic";
static const char CONFIGURATION_ROOT_ACCESS[] = "/org.openoffice.Office.UI.";
static const char CONFIGURATION_CATEGORY_ELEMENT_ACCESS[] = "/Commands/Categories";
diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx
index a14d593..3cd314c 100644
--- a/framework/source/uielement/uicommanddescription.cxx
+++ b/framework/source/uielement/uicommanddescription.cxx
@@ -79,8 +79,6 @@ struct ModuleToCommands
const char* pCommands;
};
-static const char GENERIC_UICOMMANDS[] = "generic";
-static const char COMMANDS[] = "Commands";
static const char CONFIGURATION_ROOT_ACCESS[] = "/org.openoffice.Office.UI.";
static const char CONFIGURATION_CMD_ELEMENT_ACCESS[] = "/UserInterface/Commands";
static const char CONFIGURATION_POP_ELEMENT_ACCESS[] = "/UserInterface/Popups";
diff --git a/sw/source/ui/vba/vbalisthelper.cxx b/sw/source/ui/vba/vbalisthelper.cxx
index 65949d6..c4b001f 100644
--- a/sw/source/ui/vba/vbalisthelper.cxx
+++ b/sw/source/ui/vba/vbalisthelper.cxx
@@ -41,22 +41,12 @@ static const char WORD_BULLET_GALLERY[] = "WdBullet";
static const char WORD_NUMBER_GALLERY[] = "WdNumber";
static const char WORD_OUTLINE_NUMBER_GALLERY[] = "WdOutlineNumber";
-static const char UNO_NAME_ADJUST[] = "Adjust";
static const char UNO_NAME_PARENT_NUMBERING[] = "ParentNumbering";
static const char UNO_NAME_PREFIX[] = "Prefix";
static const char UNO_NAME_SUFFIX[] = "Suffix";
static const char UNO_NAME_CHAR_STYLE_NAME[] = "CharStyleName";
-static const char UNO_NAME_START_WITH[] = "StartWith";
-static const char UNO_NAME_POSITION_AND_SPACE_MODE[] = "PositionAndSpaceMode";
-static const char UNO_NAME_LABEL_FOLLOWED_BY[] = "LabelFollowedBy";
-static const char UNO_NAME_LIST_TAB_STOP_POSITION[] = "ListtabStopPosition";
-static const char UNO_NAME_FIRST_LINE_INDENT[] = "FirstLineIndent";
-static const char UNO_NAME_INDENT_AT[] = "IndentAt";
static const char UNO_NAME_NUMBERING_TYPE[] = "NumberingType";
-static const char UNO_NAME_BULLET_ID[] = "BulletId";
static const char UNO_NAME_BULLET_CHAR[] = "BulletChar";
-static const char UNO_NAME_BULLET_FONT_NAME[] = "BulletFontName";
-static const char UNO_NAME_BULLET_FONT[] = "BulletFont";
static const sal_Int16 CHAR_CLOSED_DOT = 8226;
static const sal_Int16 CHAR_EMPTY_DOT = 111;
diff --git a/unotools/source/config/historyoptions.cxx b/unotools/source/config/historyoptions.cxx
index 93d5854..949f82c 100644
--- a/unotools/source/config/historyoptions.cxx
+++ b/unotools/source/config/historyoptions.cxx
@@ -78,7 +78,6 @@ namespace {
const char s_sItemList[] = "ItemList";
const char s_sOrderList[] = "OrderList";
const char s_sHistoryItemRef[] = "HistoryItemRef";
- const char s_sURL[] = "URL";
const char s_sFilter[] = "Filter";
const char s_sTitle[] = "Title";
const char s_sPassword[] = "Password";
More information about the Libreoffice-commits
mailing list