[Libreoffice-commits] core.git: 29 commits - configmgr/inc configmgr/Library_configmgr.mk connectivity/source cppcanvas/source dbaccess/source sd/source sfx2/source shell/source stoc/inc stoc/source stoc/test sw/source tools/CustomTarget_reversemap.mk tools/inc tools/Library_tl.mk tools/qa tools/source unoxml/inc unoxml/Library_unoxml.mk unoxml/source vcl/source winaccessibility/source xmloff/inc xmloff/Library_xof.mk xmlscript/source
Thomas Arnhold
thomas at arnhold.org
Thu May 22 03:58:53 PDT 2014
configmgr/Library_configmgr.mk | 2
configmgr/inc/pch/precompiled_configmgr.cxx | 12
configmgr/inc/pch/precompiled_configmgr.hxx | 149 ++++++
connectivity/source/drivers/firebird/Blob.cxx | 4
cppcanvas/source/mtfrenderer/mtftools.cxx | 6
cppcanvas/source/mtfrenderer/mtftools.hxx | 6
cppcanvas/source/mtfrenderer/textaction.cxx | 4
dbaccess/source/ui/misc/DExport.cxx | 4
sd/source/ui/slidesorter/view/SlsFramePainter.cxx | 20
sd/source/ui/slidesorter/view/SlsFramePainter.hxx | 2
sfx2/source/sidebar/FocusManager.cxx | 18
sfx2/source/sidebar/FocusManager.hxx | 4
shell/source/win32/zipfile/zipfile.cxx | 2
stoc/inc/stocservices.hxx | 48 +-
stoc/source/corereflection/base.hxx | 232 ++++------
stoc/source/corereflection/crarray.cxx | 29 -
stoc/source/corereflection/crbase.cxx | 53 +-
stoc/source/corereflection/crcomp.cxx | 77 +--
stoc/source/corereflection/crefl.cxx | 48 +-
stoc/source/corereflection/crenum.cxx | 59 +-
stoc/source/corereflection/criface.cxx | 147 +++---
stoc/source/corereflection/lrucache.hxx | 6
stoc/source/defaultregistry/defaultregistry.cxx | 16
stoc/source/implementationregistration/implreg.cxx | 20
stoc/source/implementationregistration/mergekeys.cxx | 2
stoc/source/implementationregistration/mergekeys.hxx | 14
stoc/source/inspect/introspection.cxx | 18
stoc/source/invocation/invocation.cxx | 16
stoc/source/invocation_adapterfactory/iafactory.cxx | 4
stoc/source/javaloader/javaloader.cxx | 24 -
stoc/source/javavm/interact.cxx | 16
stoc/source/javavm/interact.hxx | 32 -
stoc/source/javavm/javavm.cxx | 100 ++--
stoc/source/javavm/javavm.hxx | 90 +--
stoc/source/loader/dllcomponentloader.cxx | 26 -
stoc/source/namingservice/namingservice.cxx | 22
stoc/source/proxy_factory/proxyfac.cxx | 40 -
stoc/source/security/access_controller.cxx | 2
stoc/source/security/file_policy.cxx | 2
stoc/source/security/permissions.cxx | 2
stoc/source/servicemanager/servicemanager.cxx | 148 +++---
stoc/source/simpleregistry/simpleregistry.cxx | 58 +-
stoc/source/stocservices/stocservices.cxx | 10
stoc/source/typeconv/convert.cxx | 8
stoc/source/uriproc/ExternalUriReferenceTranslator.cxx | 40 -
stoc/source/uriproc/ExternalUriReferenceTranslator.hxx | 16
stoc/source/uriproc/UriReference.cxx | 12
stoc/source/uriproc/UriReference.hxx | 44 -
stoc/source/uriproc/UriReferenceFactory.cxx | 82 +--
stoc/source/uriproc/UriReferenceFactory.hxx | 16
stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx | 44 -
stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx | 72 +--
stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.hxx | 16
stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx | 44 -
stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.hxx | 16
stoc/test/javavm/jvm_interaction/interactionhandler.cxx | 10
stoc/test/javavm/testjavavm.cxx | 10
stoc/test/registry_tdprovider/testregistrytdprovider.cxx | 64 +-
stoc/test/tdmanager/testtdmanager.cxx | 60 +-
stoc/test/testconv.cxx | 10
stoc/test/testcorefl.cxx | 20
stoc/test/testiadapter.cxx | 176 +++----
stoc/test/testintrosp.cxx | 14
stoc/test/testloader.cxx | 6
stoc/test/testproxyfac.cxx | 32 -
stoc/test/testregistry.cxx | 10
stoc/test/testsmgr2.cxx | 8
stoc/test/testsmgr_cpnt.cxx | 8
stoc/test/uriproc/test_uriproc.cxx | 44 -
sw/source/core/access/accdoc.cxx | 4
sw/source/core/access/accnotexthyperlink.cxx | 8
sw/source/core/doc/DocumentSettingManager.cxx | 4
sw/source/core/inc/frame.hxx | 5
sw/source/core/uibase/shells/tabsh.cxx | 3
sw/source/core/uibase/utlui/content.cxx | 2
sw/source/filter/ww8/WW8TableInfo.cxx | 2
sw/source/filter/ww8/WW8TableInfo.hxx | 8
sw/source/filter/ww8/docxattributeoutput.hxx | 2
sw/source/filter/ww8/ww8par.hxx | 5
tools/CustomTarget_reversemap.mk | 10
tools/Library_tl.mk | 9
tools/inc/pch/precompiled_tl.cxx | 12
tools/inc/pch/precompiled_tl.hxx | 85 +++
tools/qa/cppunit/test_pathutils.cxx | 2
tools/qa/cppunit/test_reversemap.cxx | 2
tools/qa/cppunit/test_urlobj.cxx | 4
tools/source/debug/debug.cxx | 2
tools/source/fsys/urlobj.cxx | 18
tools/source/memtools/mempool.cxx | 6
tools/source/memtools/multisel.cxx | 2
tools/source/misc/appendunixshellword.cxx | 14
tools/source/misc/extendapplicationenvironment.cxx | 22
tools/source/misc/getprocessworkingdir.cxx | 16
tools/source/misc/pathutils.cxx | 6
tools/source/rc/resmgr.cxx | 2
tools/source/reversemap/bestreversemap.cxx | 6
tools/source/stream/stream.cxx | 2
tools/source/string/reversemap.cxx | 17
unoxml/Library_unoxml.mk | 2
unoxml/inc/pch/precompiled_unoxml.cxx | 12
unoxml/inc/pch/precompiled_unoxml.hxx | 62 ++
unoxml/source/dom/attr.cxx | 3
unoxml/source/dom/attr.hxx | 101 ++--
unoxml/source/dom/attributesmap.cxx | 2
unoxml/source/dom/attributesmap.hxx | 40 -
unoxml/source/dom/cdatasection.cxx | 4
unoxml/source/dom/cdatasection.hxx | 112 ++--
unoxml/source/dom/characterdata.cxx | 3
unoxml/source/dom/characterdata.hxx | 106 ++--
unoxml/source/dom/childlist.cxx | 2
unoxml/source/dom/childlist.hxx | 12
unoxml/source/dom/comment.cxx | 3
unoxml/source/dom/comment.hxx | 108 ++--
unoxml/source/dom/document.cxx | 11
unoxml/source/dom/document.hxx | 213 ++++-----
unoxml/source/dom/documentbuilder.cxx | 22
unoxml/source/dom/documentbuilder.hxx | 69 +-
unoxml/source/dom/documentfragment.cxx | 3
unoxml/source/dom/documentfragment.hxx | 92 +--
unoxml/source/dom/documenttype.cxx | 10
unoxml/source/dom/documenttype.hxx | 102 ++--
unoxml/source/dom/domimplementation.cxx | 2
unoxml/source/dom/domimplementation.hxx | 16
unoxml/source/dom/element.cxx | 4
unoxml/source/dom/element.hxx | 146 +++---
unoxml/source/dom/elementlist.cxx | 3
unoxml/source/dom/elementlist.hxx | 19
unoxml/source/dom/entitiesmap.cxx | 2
unoxml/source/dom/entitiesmap.hxx | 40 -
unoxml/source/dom/entity.cxx | 2
unoxml/source/dom/entity.hxx | 98 ++--
unoxml/source/dom/entityreference.cxx | 3
unoxml/source/dom/entityreference.hxx | 92 +--
unoxml/source/dom/node.cxx | 12
unoxml/source/dom/node.hxx | 136 ++---
unoxml/source/dom/notation.cxx | 3
unoxml/source/dom/notation.hxx | 94 +---
unoxml/source/dom/notationsmap.cxx | 2
unoxml/source/dom/notationsmap.hxx | 40 -
unoxml/source/dom/processinginstruction.cxx | 3
unoxml/source/dom/processinginstruction.hxx | 98 ++--
unoxml/source/dom/saxbuilder.cxx | 5
unoxml/source/dom/saxbuilder.hxx | 78 +--
unoxml/source/dom/text.cxx | 3
unoxml/source/dom/text.hxx | 114 ++--
unoxml/source/events/event.cxx | 5
unoxml/source/events/event.hxx | 36 -
unoxml/source/events/eventdispatcher.cxx | 3
unoxml/source/events/eventdispatcher.hxx | 17
unoxml/source/events/mouseevent.cxx | 6
unoxml/source/events/mouseevent.hxx | 58 +-
unoxml/source/events/mutationevent.cxx | 6
unoxml/source/events/mutationevent.hxx | 40 -
unoxml/source/events/testlistener.cxx | 7
unoxml/source/events/testlistener.hxx | 35 -
unoxml/source/events/uievent.cxx | 6
unoxml/source/events/uievent.hxx | 35 -
unoxml/source/rdf/CBlankNode.cxx | 14
unoxml/source/rdf/CLiteral.cxx | 18
unoxml/source/rdf/CURI.cxx | 18
unoxml/source/rdf/librdf_repository.cxx | 46 -
unoxml/source/service/services.cxx | 6
unoxml/source/xpath/nodelist.cxx | 3
unoxml/source/xpath/nodelist.hxx | 12
unoxml/source/xpath/xpathapi.cxx | 7
unoxml/source/xpath/xpathapi.hxx | 64 +-
unoxml/source/xpath/xpathobject.cxx | 3
unoxml/source/xpath/xpathobject.hxx | 31 -
vcl/source/control/tabctrl.cxx | 2
winaccessibility/source/UAccCOM/MAccessible.cxx | 4
winaccessibility/source/service/msaaservice_impl.cxx | 2
xmloff/Library_xof.mk | 2
xmloff/inc/pch/precompiled_xof.cxx | 12
xmloff/inc/pch/precompiled_xof.hxx | 41 +
xmlscript/source/xmllib_imexp/imp_share.hxx | 89 +--
xmlscript/source/xmllib_imexp/xmllib_import.cxx | 3
xmlscript/source/xmlmod_imexp/imp_share.hxx | 57 +-
xmlscript/source/xmlmod_imexp/xmlmod_import.cxx | 3
178 files changed, 2944 insertions(+), 2612 deletions(-)
New commits:
commit 563c2367104d11bf437c52def5d5381f1af3b29a
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 12:18:47 2014 +0200
cppcheck: Function parameter 'rStartPos' should be passed by reference
Change-Id: Ie453e1a95b54de07463b6f5052a23d6632400b8d
diff --git a/cppcanvas/source/mtfrenderer/mtftools.cxx b/cppcanvas/source/mtfrenderer/mtftools.cxx
index 458b0bc..52d5d6a 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.cxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.cxx
@@ -313,9 +313,9 @@ namespace cppcanvas
// create line actions for text such as underline and
// strikeout
- ::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint rStartPos,
- const double& rLineWidth,
- const TextLineInfo& rTextLineInfo )
+ ::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint& rStartPos,
+ const double& rLineWidth,
+ const TextLineInfo& rTextLineInfo )
{
// fill the polypolygon with all text lines
::basegfx::B2DPolyPolygon aTextLinesPolyPoly;
diff --git a/cppcanvas/source/mtfrenderer/mtftools.hxx b/cppcanvas/source/mtfrenderer/mtftools.hxx
index 42e1db3..4c0bbec6 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.hxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.hxx
@@ -196,9 +196,9 @@ namespace cppcanvas
const double& rLineWidth,
const TextLineInfo& rTextLineInfo );
- ::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint rStartPos,
- const double& rLineWidth,
- const TextLineInfo& rTextLineInfo );
+ ::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint& rStartPos,
+ const double& rLineWidth,
+ const TextLineInfo& rTextLineInfo );
}
}
commit bc6b28c7468fc7e66d1e4a1a1447a938e9e03a8a
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 12:17:43 2014 +0200
cppcheck: Function parameter 'rSize' should be passed by reference
Change-Id: I57ee617169a49d338f24c85c6fc4116104c2a6ab
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx
index ea609a6..9202121 100644
--- a/sw/source/filter/ww8/docxattributeoutput.hxx
+++ b/sw/source/filter/ww8/docxattributeoutput.hxx
@@ -822,7 +822,7 @@ private:
struct PostponedOLE
{
- PostponedOLE( SwOLENode* rObject, const Size rSize, const SwFlyFrmFmt* rFrame ) : object( rObject ), size( rSize ), frame( rFrame ) {};
+ PostponedOLE( SwOLENode* rObject, const Size& rSize, const SwFlyFrmFmt* rFrame ) : object( rObject ), size( rSize ), frame( rFrame ) {};
SwOLENode* object;
const Size size;
const SwFlyFrmFmt* frame;
commit f8eac3a44b64865220985ca5468269ac3db5b564
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 12:15:38 2014 +0200
cppcheck: Function parameter 'rWidthsOf' should be passed by reference
Change-Id: I98ac89c6dd3556654b068769e58e4d24db2fe229
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index abf714c..6148a95 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -317,7 +317,7 @@ Size TabControl::ImplGetItemSize( ImplTabItem* pItem, long nMaxWidth )
// http://stackoverflow.com/questions/9071205/balanced-word-wrap-minimum-raggedness-in-php
namespace MinimumRaggednessWrap
{
- std::deque<size_t> GetEndOfLineIndexes(const std::vector<sal_Int32> rWidthsOf, sal_Int32 nLineWidth)
+ std::deque<size_t> GetEndOfLineIndexes(const std::vector<sal_Int32>& rWidthsOf, sal_Int32 nLineWidth)
{
++nLineWidth;
commit 9ec96de5556bf00cb00ed05f74b95c09b01b82b1
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 12:13:10 2014 +0200
cppcheck: Function parameter 'aBox' should be passed by reference
Change-Id: I60fc65799e2fd8402a8bdb1e2850b9b34cd38a27
diff --git a/sd/source/ui/slidesorter/view/SlsFramePainter.cxx b/sd/source/ui/slidesorter/view/SlsFramePainter.cxx
index 45222d5..746dbb5 100644
--- a/sd/source/ui/slidesorter/view/SlsFramePainter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsFramePainter.cxx
@@ -63,21 +63,21 @@ FramePainter::~FramePainter (void)
void FramePainter::PaintFrame (
OutputDevice& rDevice,
- const Rectangle aBox) const
+ const Rectangle& rBox) const
{
if ( ! mbIsValid)
return;
// Paint the shadow.
- maTopLeft.PaintCorner(rDevice, aBox.TopLeft());
- maTopRight.PaintCorner(rDevice, aBox.TopRight());
- maBottomLeft.PaintCorner(rDevice, aBox.BottomLeft());
- maBottomRight.PaintCorner(rDevice, aBox.BottomRight());
- maLeft.PaintSide(rDevice, aBox.TopLeft(), aBox.BottomLeft(), maTopLeft, maBottomLeft);
- maRight.PaintSide(rDevice, aBox.TopRight(), aBox.BottomRight(), maTopRight, maBottomRight);
- maTop.PaintSide(rDevice, aBox.TopLeft(), aBox.TopRight(), maTopLeft, maTopRight);
- maBottom.PaintSide(rDevice, aBox.BottomLeft(), aBox.BottomRight(), maBottomLeft, maBottomRight);
- maCenter.PaintCenter(rDevice,aBox);
+ maTopLeft.PaintCorner(rDevice, rBox.TopLeft());
+ maTopRight.PaintCorner(rDevice, rBox.TopRight());
+ maBottomLeft.PaintCorner(rDevice, rBox.BottomLeft());
+ maBottomRight.PaintCorner(rDevice, rBox.BottomRight());
+ maLeft.PaintSide(rDevice, rBox.TopLeft(), rBox.BottomLeft(), maTopLeft, maBottomLeft);
+ maRight.PaintSide(rDevice, rBox.TopRight(), rBox.BottomRight(), maTopRight, maBottomRight);
+ maTop.PaintSide(rDevice, rBox.TopLeft(), rBox.TopRight(), maTopLeft, maTopRight);
+ maBottom.PaintSide(rDevice, rBox.BottomLeft(), rBox.BottomRight(), maBottomLeft, maBottomRight);
+ maCenter.PaintCenter(rDevice,rBox);
}
diff --git a/sd/source/ui/slidesorter/view/SlsFramePainter.hxx b/sd/source/ui/slidesorter/view/SlsFramePainter.hxx
index 5c52582..322968a 100644
--- a/sd/source/ui/slidesorter/view/SlsFramePainter.hxx
+++ b/sd/source/ui/slidesorter/view/SlsFramePainter.hxx
@@ -34,7 +34,7 @@ public:
/** Paint a border around the given box by using a set of bitmaps for
the corners and sides.
*/
- void PaintFrame (OutputDevice&rDevice, const Rectangle aBox) const;
+ void PaintFrame (OutputDevice&rDevice, const Rectangle& rBox) const;
/** Special functionality that takes the color from the center
bitmap and replaces that color in all bitmaps by the given new
commit cf10dd612d8330ea2e48f8bdf532e02aa9f43eb9
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 12:09:16 2014 +0200
cppcheck: Function parameter 'rLineInfo' should be passed by reference
Change-Id: I5bd3f808a0ca61731c5ceb57100d1b30a3163e98
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index f001f67..6849a3e 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -579,7 +579,7 @@ namespace cppcanvas
uno::Reference< rendering::XPolyPolygon2D >& o_rTextLines,
const CanvasSharedPtr& rCanvas,
const uno::Sequence< double >& rOffsets,
- const tools::TextLineInfo rLineInfo )
+ const tools::TextLineInfo& rLineInfo )
{
const ::basegfx::B2DPolyPolygon aPoly(
textLinesFromLogicalOffsets(
@@ -597,7 +597,7 @@ namespace cppcanvas
uno::Reference< rendering::XPolyPolygon2D >& o_rTextLines,
const CanvasSharedPtr& rCanvas,
double nLineWidth,
- const tools::TextLineInfo rLineInfo )
+ const tools::TextLineInfo& rLineInfo )
{
const ::basegfx::B2DPolyPolygon aPoly(
tools::createTextLinesPolyPolygon( 0.0, nLineWidth,
commit 1e6ccc7f7e5a4ae8f52b7500943d6b227f4d7e6a
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 12:07:55 2014 +0200
cppcheck: Function parameter 'aFocusLocation' should be passed by reference
Change-Id: I2d2b9ae3ea81bd725be2af460f6c57bd0897883c
diff --git a/sfx2/source/sidebar/FocusManager.cxx b/sfx2/source/sidebar/FocusManager.cxx
index fa8fdf6..0b12d60 100644
--- a/sfx2/source/sidebar/FocusManager.cxx
+++ b/sfx2/source/sidebar/FocusManager.cxx
@@ -370,25 +370,25 @@ void FocusManager::RemoveWindow (Window& rWindow)
bool FocusManager::MoveFocusInsidePanel (
- const FocusLocation aFocusLocation,
+ const FocusLocation& rFocusLocation,
const sal_Int32 nDirection)
{
const bool bHasToolBoxItem (
- maPanels[aFocusLocation.mnIndex]->GetTitleBar()->GetToolBox().GetItemCount() > 0);
- switch (aFocusLocation.meComponent)
+ maPanels[rFocusLocation.mnIndex]->GetTitleBar()->GetToolBox().GetItemCount() > 0);
+ switch (rFocusLocation.meComponent)
{
case PC_PanelTitle:
if (nDirection > 0 && bHasToolBoxItem)
- maPanels[aFocusLocation.mnIndex]->GetTitleBar()->GetToolBox().GrabFocus();
+ maPanels[rFocusLocation.mnIndex]->GetTitleBar()->GetToolBox().GrabFocus();
else
- FocusPanelContent(aFocusLocation.mnIndex);
+ FocusPanelContent(rFocusLocation.mnIndex);
return true;
case PC_PanelToolBox:
if (nDirection < 0 && bHasToolBoxItem)
- maPanels[aFocusLocation.mnIndex]->GetTitleBar()->GrabFocus();
+ maPanels[rFocusLocation.mnIndex]->GetTitleBar()->GrabFocus();
else
- FocusPanelContent(aFocusLocation.mnIndex);
+ FocusPanelContent(rFocusLocation.mnIndex);
return true;
default:
@@ -400,7 +400,7 @@ bool FocusManager::MoveFocusInsidePanel (
bool FocusManager::MoveFocusInsideDeckTitle (
- const FocusLocation aFocusLocation,
+ const FocusLocation& rFocusLocation,
const sal_Int32 nDirection)
{
// Note that when the title bar of the first (and only) panel is
@@ -409,7 +409,7 @@ bool FocusManager::MoveFocusInsideDeckTitle (
// of panel 0.
const bool bHasToolBoxItem (
mpDeckTitleBar->GetToolBox().GetItemCount() > 0);
- switch (aFocusLocation.meComponent)
+ switch (rFocusLocation.meComponent)
{
case PC_DeckTitle:
if (nDirection<0 && ! IsPanelTitleVisible(0))
diff --git a/sfx2/source/sidebar/FocusManager.hxx b/sfx2/source/sidebar/FocusManager.hxx
index 21b58ea..23f2f52 100644
--- a/sfx2/source/sidebar/FocusManager.hxx
+++ b/sfx2/source/sidebar/FocusManager.hxx
@@ -134,10 +134,10 @@ private:
void FocusButton (const sal_Int32 nButtonIndex);
void ClickButton (const sal_Int32 nButtonIndex);
bool MoveFocusInsidePanel (
- const FocusLocation aLocation,
+ const FocusLocation& rLocation,
const sal_Int32 nDirection);
bool MoveFocusInsideDeckTitle (
- const FocusLocation aLocation,
+ const FocusLocation& rLocation,
const sal_Int32 nDirection);
void HandleKeyEvent (
commit 058cd96131e38a8298bce201225b4415de048c2b
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 11:54:26 2014 +0200
cppcheck: Exception should be caught by reference
Change-Id: Ib92122311186da16fbef9441560bb7a013072e76
diff --git a/connectivity/source/drivers/firebird/Blob.cxx b/connectivity/source/drivers/firebird/Blob.cxx
index c11616e..4551d8d 100644
--- a/connectivity/source/drivers/firebird/Blob.cxx
+++ b/connectivity/source/drivers/firebird/Blob.cxx
@@ -112,7 +112,7 @@ void SAL_CALL Blob::disposing(void)
{
closeBlob();
}
- catch (SQLException e)
+ catch (SQLException &e)
{
// we cannot throw any exceptions here...
SAL_WARN("connectivity.firebird", "isc_close_blob failed\n" <<
@@ -256,4 +256,4 @@ void SAL_CALL Blob::closeInput()
closeBlob();
}
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit 0292b4269ec370818bb1ed48222fade636374a4a
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 11:53:23 2014 +0200
cppcheck: Exception should be caught by reference
Change-Id: I14b26941a8f3115a5b3893593151c24684b24d60
diff --git a/winaccessibility/source/service/msaaservice_impl.cxx b/winaccessibility/source/service/msaaservice_impl.cxx
index 0e10e87..408771d 100644
--- a/winaccessibility/source/service/msaaservice_impl.cxx
+++ b/winaccessibility/source/service/msaaservice_impl.cxx
@@ -187,7 +187,7 @@ static void AccessBridgeHandleExistingWindow(const Reference< XMSAAService > &xA
}
}
}
- catch (::com::sun::star::uno::RuntimeException e)
+ catch (::com::sun::star::uno::RuntimeException)
{
// Ignore show events that throw DisposedExceptions in getAccessibleContext(),
// but keep revoking these windows in hide(s).
commit ea6eae7aa1fe7db06bc65af9bc8ea498ecf40fed
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 11:52:27 2014 +0200
cppcheck: Variable 'dChildIndex,...' is assigned a value that is never used
Change-Id: Ifa4ea7faa4bcf6580f10c8ece15a01d72f2903f3
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx
index e5c5eb0..c067cbd 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.cxx
+++ b/winaccessibility/source/UAccCOM/MAccessible.cxx
@@ -1421,8 +1421,6 @@ STDMETHODIMP CMAccessible::NotifyDestroy(BOOL isDestroy)
*/
IMAccessible* CMAccessible::GetChildInterface(long dChildID)//for test
{
-
- long dChildIndex = 0;
if(dChildID<0)
{
if(g_pAgent)
@@ -1756,7 +1754,6 @@ STDMETHODIMP CMAccessible::get_relation( long relationIndex, IAccessibleRelation
long nMax = 0;
- long nReal = 0;
get_nRelations(&nMax);
*relation = (IAccessibleRelation*)::CoTaskMemAlloc(sizeof(IAccessibleRelation));
@@ -2006,7 +2003,6 @@ STDMETHODIMP CMAccessible:: get_groupPosition(long __RPC_FAR *groupLevel,long __
if(accRelation.RelationType == 7)
{
Sequence< Reference< XInterface > > xTargets = accRelation.TargetSet;
- int nCount = xTargets.getLength();
Reference<XInterface> pRAcc = xTargets[0];
for(int j=0; j<pRParentContext->getAccessibleChildCount(); j++)
commit 8d52cd0b327e90b555c6beaf29219ba011cc7244
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 11:51:59 2014 +0200
cppcheck: Exception should be caught by reference
Change-Id: Id3d49f976fc40d460163f43f567b3e997d1cd58e
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx
index bb34b83..b3016af 100644
--- a/sw/source/core/access/accdoc.cxx
+++ b/sw/source/core/access/accdoc.cxx
@@ -189,7 +189,7 @@ sal_Int32 SAL_CALL SwAccessibleDocumentBase::getAccessibleIndexInParent (void)
if( xAcc->getAccessibleChild( i ) == xThis )
return i;
}
- catch(::com::sun::star::lang::IndexOutOfBoundsException e)
+ catch(::com::sun::star::lang::IndexOutOfBoundsException)
{
return -1L;
}
@@ -253,7 +253,7 @@ awt::Rectangle SAL_CALL SwAccessibleDocumentBase::getBounds()
return aBox;
}
- catch(::com::sun::star::lang::IndexOutOfBoundsException e)
+ catch(::com::sun::star::lang::IndexOutOfBoundsException)
{
return awt::Rectangle();
}
commit 4f51d28a6d5412e605ccf9356b3b11bb51553e0e
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 11:45:39 2014 +0200
cppcheck: The scope of the variable 'fOutNumber' can be reduced
Change-Id: Ifece039a99f9796d3d41fdf9fae128ad2c2f7c44
diff --git a/dbaccess/source/ui/misc/DExport.cxx b/dbaccess/source/ui/misc/DExport.cxx
index 6b89dfa..f3978eb 100644
--- a/dbaccess/source/ui/misc/DExport.cxx
+++ b/dbaccess/source/ui/misc/DExport.cxx
@@ -410,7 +410,6 @@ void ODatabaseExport::insertValueIntoColumn()
sal_Int16 ODatabaseExport::CheckString(const OUString& aCheckToken, sal_Int16 _nOldNumberFormat)
{
- double fOutNumber = 0.0;
sal_Int16 nNumberFormat = 0;
try
@@ -421,6 +420,7 @@ sal_Int16 ODatabaseExport::CheckString(const OUString& aCheckToken, sal_Int16 _n
ensureFormatter();
if ( m_pFormatter && !m_sNumToken.isEmpty() )
{
+ double fOutNumber = 0.0;
LanguageType eNumLang;
sal_uInt32 nFormatKey(0);
fOutNumber = SfxHTMLParser::GetTableDataOptionsValNum(nFormatKey,eNumLang,m_sTextToken,m_sNumToken,*m_pFormatter);
commit 2763456851bc46c26d7a23625243897ee54f240d
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 11:44:47 2014 +0200
cppcheck: Variable 'fOutNumber' is assigned a value that is never used
Change-Id: Idb5e4ae3266ab714c392abca76993c3037fea7b2
diff --git a/dbaccess/source/ui/misc/DExport.cxx b/dbaccess/source/ui/misc/DExport.cxx
index fa757a0..6b89dfa 100644
--- a/dbaccess/source/ui/misc/DExport.cxx
+++ b/dbaccess/source/ui/misc/DExport.cxx
@@ -437,7 +437,7 @@ sal_Int16 ODatabaseExport::CheckString(const OUString& aCheckToken, sal_Int16 _n
{
Reference<XNumberFormatTypes> xNumType(xFormats,UNO_QUERY);
sal_Int32 nFormatKey = m_xFormatter->detectNumberFormat(xNumType->getStandardFormat(NumberFormat::ALL,m_aLocale),aCheckToken);
- fOutNumber = m_xFormatter->convertStringToNumber(nFormatKey,aCheckToken);
+ m_xFormatter->convertStringToNumber(nFormatKey,aCheckToken);
Reference<XPropertySet> xProp = xFormats->getByKey(nFormatKey);
sal_Int16 nType = 0;
commit 2edb7adaaf4cf223e9549def4e513df9e8a5311a
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 11:41:49 2014 +0200
cppcheck: Variable 'bMore' is assigned a value that is never used
Change-Id: Id5d962e8db963000a4e1a0e884a14c2ecb7ab1f6
diff --git a/sw/source/core/uibase/shells/tabsh.cxx b/sw/source/core/uibase/shells/tabsh.cxx
index 090fff8..2b3a60d 100644
--- a/sw/source/core/uibase/shells/tabsh.cxx
+++ b/sw/source/core/uibase/shells/tabsh.cxx
@@ -1059,8 +1059,7 @@ void SwTableShell::Execute(SfxRequest &rReq)
rReq.Done();
return;
}
- else
- bMore = false;
+
// Now the slots which are working directly on the TableFmt.
SwFrmFmt *pFmt = rSh.GetTableFmt();
switch ( nSlot )
commit 01443bb1bc3392adbbc6c144830849ad2b5dfdc6
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 11:40:07 2014 +0200
cppcheck: Variable 'i' is assigned a value that is never used
Change-Id: I02e0f878e743576ebb3c80e3120fa1dc54e379ed
diff --git a/shell/source/win32/zipfile/zipfile.cxx b/shell/source/win32/zipfile/zipfile.cxx
index 270fbe1..3ba0e91 100644
--- a/shell/source/win32/zipfile/zipfile.cxx
+++ b/shell/source/win32/zipfile/zipfile.cxx
@@ -204,7 +204,6 @@ static bool readCentralDirectoryEntry(StreamInterface *stream, CentralDirectoryE
entry.internal_attr = readShort(stream);
entry.external_attr = readInt(stream);
entry.offset = readInt(stream);
- unsigned short i = 0;
entry.filename.assign(readString(stream, entry.filename_size));
entry.extra_field.assign(readString(stream, entry.extra_field_size));
entry.file_comment.assign(readString(stream, entry.file_comment_size));
@@ -234,7 +233,6 @@ static bool readLocalFileHeader(StreamInterface *stream, LocalFileHeader &header
header.uncompressed_size = readInt(stream);
header.filename_size = readShort(stream);
header.extra_field_size = readShort(stream);
- unsigned short i = 0;
header.filename.assign(readString(stream, header.filename_size));
header.extra_field.assign(readString(stream, header.extra_field_size));
}
diff --git a/sw/source/core/uibase/utlui/content.cxx b/sw/source/core/uibase/utlui/content.cxx
index 1178134..6a2fbf9 100644
--- a/sw/source/core/uibase/utlui/content.cxx
+++ b/sw/source/core/uibase/utlui/content.cxx
@@ -1494,7 +1494,7 @@ bool SwContentTree::Expand( SvTreeListEntry* pParent )
bool SwContentTree::Collapse( SvTreeListEntry* pParent )
{
- bool bRet;
+ bool bRet(false);
if(!bIsRoot || (((SwContentType*)pParent->GetUserData())->GetType() == CONTENT_TYPE_OUTLINE) ||
(nRootType == CONTENT_TYPE_OUTLINE))
{
commit dffc29614f84200006bff8dff768ddd123cc3237
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 11:14:12 2014 +0200
cppcheck: fprintf format string requires 1 parameter but only 0 are given
Change-Id: I31a5a4e2bad79cfc425fb712688794a4a1dc4f60
diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx
index 3a04905..d958301 100644
--- a/stoc/test/testcorefl.cxx
+++ b/stoc/test/testcorefl.cxx
@@ -228,7 +228,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
try
{
- fprintf( stderr, "%1\n" );
+ SAL_WARN( "stoc", "case 1" );
Any bla = xRefl->forName("ModuleA.StructC")->getField(OUString("aString"))->get(Any());
OSL_ENSURE(sal_False, "test_RegCoreReflection(): error 63");
return sal_False;
@@ -239,7 +239,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
try
{
- fprintf( stderr, "%2\n" );
+ SAL_WARN( "stoc", "case 2" );
Any blup;
blup <<= aStructC;
Any gulp;
@@ -254,7 +254,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
try
{
- fprintf( stderr, "%3\n" );
+ SAL_WARN( "stoc", "case 3" );
Any gulp;
gulp <<= 3.14f;
Any blup;
@@ -280,7 +280,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
try
{
Sequence< Any > params;
- fprintf( stderr, "%4\n" );
+ SAL_WARN( "stoc", "case 4" );
Any a;
a <<= xAI;
commit 9dd8a62147ad5cd48cf4b14b35e77871a0daf413
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 11:05:29 2014 +0200
cppcheck: add missing braket
Change-Id: I1e542455ad3e4ab1a445366517c92b102471840a
diff --git a/tools/qa/cppunit/test_urlobj.cxx b/tools/qa/cppunit/test_urlobj.cxx
index 50f198c..5cc1d1b 100644
--- a/tools/qa/cppunit/test_urlobj.cxx
+++ b/tools/qa/cppunit/test_urlobj.cxx
@@ -91,7 +91,7 @@ namespace tools_urlobj
#endif
#ifdef WIN
CPPUNIT_ASSERT( aUrl.GetMainURL( INetURLObject::NO_DECODE ).
- equalsAscii( "file://137.65.170.24/c$/Img0001.jpg" ) ;
+ equalsAscii( "file://137.65.170.24/c$/Img0001.jpg" ) );
CPPUNIT_ASSERT( aUrl.GetProtocol( ) == INET_PROT_FILE );
#endif
CPPUNIT_ASSERT( aUrl.GetHost( INetURLObject::NO_DECODE ).
commit 354c08245c9ed2702f7ce625bae1a80d9f95ff00
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 09:12:13 2014 +0200
update_pch: add xmloff
Change-Id: I66c53040509668cf33da7f486b1c328bbea08b0a
diff --git a/xmloff/Library_xof.mk b/xmloff/Library_xof.mk
index 6ecb34e..9305128 100644
--- a/xmloff/Library_xof.mk
+++ b/xmloff/Library_xof.mk
@@ -26,6 +26,8 @@ $(eval $(call gb_Library_set_include,xof,\
$$(INCLUDE) \
))
+$(eval $(call gb_Library_set_precompiled_header,xof,$(SRCDIR)/xmloff/inc/pch/precompiled_xof))
+
$(eval $(call gb_Library_use_external,xof,boost_headers))
$(eval $(call gb_Library_use_sdk_api,xof))
diff --git a/xmloff/inc/pch/precompiled_xof.cxx b/xmloff/inc/pch/precompiled_xof.cxx
new file mode 100644
index 0000000..c1330d2
--- /dev/null
+++ b/xmloff/inc/pch/precompiled_xof.cxx
@@ -0,0 +1,12 @@
+/* -*- 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/.
+ */
+
+#include "precompiled_xof.hxx"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/inc/pch/precompiled_xof.hxx b/xmloff/inc/pch/precompiled_xof.hxx
new file mode 100644
index 0000000..4edfb09
--- /dev/null
+++ b/xmloff/inc/pch/precompiled_xof.hxx
@@ -0,0 +1,41 @@
+/* -*- 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 has been autogenerated by update_pch.sh . It is possible to edit it
+ manually (such as when an include file has been moved/renamed/removed. All such
+ manual changes will be rewritten by the next run of update_pch.sh (which presumably
+ also fixes all possible problems, so it's usually better to use it).
+*/
+
+#include <boost/unordered_map.hpp>
+#include <com/sun/star/beans/XPropertySetInfo.hpp>
+#include <com/sun/star/i18n/CharacterClassification.hpp>
+#include <com/sun/star/i18n/UnicodeType.hpp>
+#include <com/sun/star/registry/XRegistryKey.hpp>
+#include <com/sun/star/uri/UriReferenceFactory.hpp>
+#include <com/sun/star/uri/XVndSunStarScriptUrl.hpp>
+#include <com/sun/star/util/MeasureUnit.hpp>
+#include <com/sun/star/util/XCloneable.hpp>
+#include <com/sun/star/xml/sax/SAXException.hpp>
+#include <com/sun/star/xml/sax/SAXParseException.hpp>
+#include <com/sun/star/xml/sax/XAttributeList.hpp>
+#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
+#include <comphelper/processfactory.hxx>
+#include <comphelper/servicehelper.hxx>
+#include <cppuhelper/factory.hxx>
+#include <cppuhelper/supportsservice.hxx>
+#include <osl/mutex.hxx>
+#include <rtl/math.hxx>
+#include <rtl/ref.hxx>
+#include <rtl/ustrbuf.hxx>
+#include <sax/tools/converter.hxx>
+#include <string.h>
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit e01f3e4559ba0011e32f0e0dda1df6173dd83295
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 08:56:06 2014 +0200
stoc: fix includes
Change-Id: I0809bfa6897d469e63d6e84898f60aae16a14862
diff --git a/stoc/source/corereflection/crcomp.cxx b/stoc/source/corereflection/crcomp.cxx
index ae65828..f56e423 100644
--- a/stoc/source/corereflection/crcomp.cxx
+++ b/stoc/source/corereflection/crcomp.cxx
@@ -21,7 +21,7 @@
#include <com/sun/star/reflection/XIdlField.hpp>
#include <com/sun/star/reflection/XIdlField2.hpp>
-#include "com/sun/star/uno/TypeClass.hpp"
+#include <com/sun/star/uno/TypeClass.hpp>
#include "base.hxx"
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx
index 9633308..b1a35d5 100644
--- a/stoc/source/corereflection/crefl.cxx
+++ b/stoc/source/corereflection/crefl.cxx
@@ -24,7 +24,7 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/reflection/XConstantTypeDescription.hpp>
#include <com/sun/star/reflection/XTypeDescription.hpp>
-#include "com/sun/star/uno/RuntimeException.hpp"
+#include <com/sun/star/uno/RuntimeException.hpp>
#include <uno/lbnames.h>
using namespace css;
diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx
index 089873e..d4f5ef0 100644
--- a/stoc/source/corereflection/criface.cxx
+++ b/stoc/source/corereflection/criface.cxx
@@ -30,9 +30,9 @@
#include "base.hxx"
-#include "com/sun/star/lang/WrappedTargetRuntimeException.hpp"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "cppuhelper/exc_hlp.hxx"
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <cppuhelper/exc_hlp.hxx>
using namespace css::lang;
using namespace css::reflection;
diff --git a/stoc/source/corereflection/lrucache.hxx b/stoc/source/corereflection/lrucache.hxx
index b1562f5..740991d 100644
--- a/stoc/source/corereflection/lrucache.hxx
+++ b/stoc/source/corereflection/lrucache.hxx
@@ -23,8 +23,8 @@
// #define __CACHE_DIAGNOSE 1
#include <osl/mutex.hxx>
-#include "rtl/ustring.hxx"
-#include "sal/log.hxx"
+#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <boost/unordered_map.hpp>
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index 8b84744..1aa67f6 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -43,7 +43,7 @@
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#include <com/sun/star/reflection/XServiceTypeDescription.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include "com/sun/star/uno/RuntimeException.hpp"
+#include <com/sun/star/uno/RuntimeException.hpp>
#include "mergekeys.hxx"
diff --git a/stoc/source/implementationregistration/mergekeys.hxx b/stoc/source/implementationregistration/mergekeys.hxx
index 3bee9f2..33237bc 100644
--- a/stoc/source/implementationregistration/mergekeys.hxx
+++ b/stoc/source/implementationregistration/mergekeys.hxx
@@ -20,9 +20,9 @@
#ifndef INCLUDED_STOC_SOURCE_IMPLEMENTATIONREGISTRATION_MERGEKEYS_HXX
#define INCLUDED_STOC_SOURCE_IMPLEMENTATIONREGISTRATION_MERGEKEYS_HXX
-#include "sal/config.h"
+#include <sal/config.h>
-#include "com/sun/star/uno/Reference.hxx"
+#include <com/sun/star/uno/Reference.hxx>
namespace com { namespace sun { namespace star { namespace registry {
class XRegistryKey;
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index 4a84db0..f6378f0 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -46,7 +46,7 @@
#include <com/sun/star/registry/XSimpleRegistry.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/reflection/InvocationTargetException.hpp>
-#include "com/sun/star/uno/RuntimeException.hpp"
+#include <com/sun/star/uno/RuntimeException.hpp>
#define SERVICENAME "com.sun.star.script.InvocationAdapterFactory"
#define IMPLNAME "com.sun.star.comp.stoc.InvocationAdapterFactory"
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx
index 02da7576..826bdb5 100644
--- a/stoc/source/javaloader/javaloader.cxx
+++ b/stoc/source/javaloader/javaloader.cxx
@@ -27,7 +27,7 @@
#include <uno/environment.h>
#include <uno/lbnames.h>
#include <uno/mapping.hxx>
-#include "com/sun/star/uno/RuntimeException.hpp"
+#include <com/sun/star/uno/RuntimeException.hpp>
#ifdef LINUX
#undef minor
@@ -52,8 +52,8 @@
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
-#include "jvmaccess/unovirtualmachine.hxx"
-#include "jvmaccess/virtualmachine.hxx"
+#include <jvmaccess/unovirtualmachine.hxx>
+#include <jvmaccess/virtualmachine.hxx>
using namespace css::java;
using namespace css::lang;
diff --git a/stoc/source/javavm/interact.cxx b/stoc/source/javavm/interact.cxx
index d8bdcb4..e8cf1dc 100644
--- a/stoc/source/javavm/interact.cxx
+++ b/stoc/source/javavm/interact.cxx
@@ -20,14 +20,14 @@
#include "interact.hxx"
-#include "boost/noncopyable.hpp"
-#include "com/sun/star/java/JavaDisabledException.hpp"
-#include "com/sun/star/java/JavaVMCreationFailureException.hpp"
-#include "com/sun/star/task/XInteractionAbort.hpp"
-#include "com/sun/star/task/XInteractionRetry.hpp"
-#include "com/sun/star/task/XInteractionContinuation.hpp"
-#include "cppuhelper/implbase1.hxx"
-#include "osl/mutex.hxx"
+#include <boost/noncopyable.hpp>
+#include <com/sun/star/java/JavaDisabledException.hpp>
+#include <com/sun/star/java/JavaVMCreationFailureException.hpp>
+#include <com/sun/star/task/XInteractionAbort.hpp>
+#include <com/sun/star/task/XInteractionRetry.hpp>
+#include <com/sun/star/task/XInteractionContinuation.hpp>
+#include <cppuhelper/implbase1.hxx>
+#include <osl/mutex.hxx>
using stoc_javavm::InteractionRequest;
diff --git a/stoc/source/javavm/interact.hxx b/stoc/source/javavm/interact.hxx
index 950ef3e..fd405e2 100644
--- a/stoc/source/javavm/interact.hxx
+++ b/stoc/source/javavm/interact.hxx
@@ -20,12 +20,12 @@
#ifndef INCLUDED_STOC_SOURCE_JAVAVM_INTERACT_HXX
#define INCLUDED_STOC_SOURCE_JAVAVM_INTERACT_HXX
-#include "com/sun/star/task/XInteractionRequest.hpp"
-#include "com/sun/star/uno/Any.hxx"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "cppuhelper/implbase1.hxx"
-#include "rtl/ref.hxx"
+#include <com/sun/star/task/XInteractionRequest.hpp>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <cppuhelper/implbase1.hxx>
+#include <rtl/ref.hxx>
namespace com { namespace sun { namespace star { namespace task {
class XInteractionContinuation;
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index 0cc10bb..cbad43f 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -23,54 +23,54 @@
#include "interact.hxx"
#include "jvmargs.hxx"
-#include "com/sun/star/beans/NamedValue.hpp"
-#include "com/sun/star/beans/PropertyState.hpp"
-#include "com/sun/star/beans/PropertyValue.hpp"
-#include "com/sun/star/container/XContainer.hpp"
-#include "com/sun/star/java/JavaNotFoundException.hpp"
-#include "com/sun/star/java/InvalidJavaSettingsException.hpp"
-#include "com/sun/star/java/RestartRequiredException.hpp"
-#include "com/sun/star/java/JavaDisabledException.hpp"
-#include "com/sun/star/java/JavaVMCreationFailureException.hpp"
-#include "com/sun/star/lang/DisposedException.hpp"
-#include "com/sun/star/lang/IllegalArgumentException.hpp"
-#include "com/sun/star/lang/XEventListener.hpp"
-#include "com/sun/star/lang/XMultiComponentFactory.hpp"
-#include "com/sun/star/lang/XSingleComponentFactory.hpp"
-#include "com/sun/star/lang/WrappedTargetRuntimeException.hpp"
-#include "com/sun/star/registry/XRegistryKey.hpp"
-#include "com/sun/star/registry/XSimpleRegistry.hpp"
-#include "com/sun/star/task/XInteractionHandler.hpp"
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uno/XCurrentContext.hpp"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "com/sun/star/util/theMacroExpander.hpp"
-#include "com/sun/star/container/XNameAccess.hpp"
-#include "cppuhelper/exc_hlp.hxx"
-#include "cppuhelper/factory.hxx"
-#include "cppuhelper/implbase1.hxx"
-#include "cppuhelper/implementationentry.hxx"
+#include <com/sun/star/beans/NamedValue.hpp>
+#include <com/sun/star/beans/PropertyState.hpp>
+#include <com/sun/star/beans/PropertyValue.hpp>
+#include <com/sun/star/container/XContainer.hpp>
+#include <com/sun/star/java/JavaNotFoundException.hpp>
+#include <com/sun/star/java/InvalidJavaSettingsException.hpp>
+#include <com/sun/star/java/RestartRequiredException.hpp>
+#include <com/sun/star/java/JavaDisabledException.hpp>
+#include <com/sun/star/java/JavaVMCreationFailureException.hpp>
+#include <com/sun/star/lang/DisposedException.hpp>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/lang/XEventListener.hpp>
+#include <com/sun/star/lang/XMultiComponentFactory.hpp>
+#include <com/sun/star/lang/XSingleComponentFactory.hpp>
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
+#include <com/sun/star/registry/XRegistryKey.hpp>
+#include <com/sun/star/registry/XSimpleRegistry.hpp>
+#include <com/sun/star/task/XInteractionHandler.hpp>
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/uno/XCurrentContext.hpp>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/util/theMacroExpander.hpp>
+#include <com/sun/star/container/XNameAccess.hpp>
+#include <cppuhelper/exc_hlp.hxx>
+#include <cppuhelper/factory.hxx>
+#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include "jvmaccess/classpath.hxx"
-#include "jvmaccess/unovirtualmachine.hxx"
-#include "jvmaccess/virtualmachine.hxx"
-#include "osl/file.hxx"
-#include "osl/thread.h"
-#include "rtl/bootstrap.hxx"
-#include "rtl/process.h"
-#include "rtl/string.h"
-#include "rtl/ustrbuf.hxx"
-#include "rtl/ustring.h"
-#include "rtl/ustring.hxx"
-#include "rtl/uri.hxx"
-#include "sal/types.h"
-#include "uno/current_context.hxx"
-#include "uno/environment.h"
-#include "jvmfwk/framework.h"
+#include <jvmaccess/classpath.hxx>
+#include <jvmaccess/unovirtualmachine.hxx>
+#include <jvmaccess/virtualmachine.hxx>
+#include <osl/file.hxx>
+#include <osl/thread.h>
+#include <rtl/bootstrap.hxx>
+#include <rtl/process.h>
+#include <rtl/string.h>
+#include <rtl/ustrbuf.hxx>
+#include <rtl/ustring.h>
+#include <rtl/ustring.hxx>
+#include <rtl/uri.hxx>
+#include <sal/types.h>
+#include <uno/current_context.hxx>
+#include <uno/environment.h>
+#include <jvmfwk/framework.h>
#include "jni.h"
#include <stack>
@@ -78,8 +78,8 @@
#include <time.h>
#include <memory>
#include <vector>
-#include "boost/noncopyable.hpp"
-#include "boost/scoped_array.hpp"
+#include <boost/noncopyable.hpp>
+#include <boost/scoped_array.hpp>
// Properties of the javavm can be put
// as a komma separated list in this
diff --git a/stoc/source/javavm/javavm.hxx b/stoc/source/javavm/javavm.hxx
index b381034..8d39ea4 100644
--- a/stoc/source/javavm/javavm.hxx
+++ b/stoc/source/javavm/javavm.hxx
@@ -22,16 +22,16 @@
#include "jvmargs.hxx"
-#include "com/sun/star/container/XContainerListener.hpp"
-#include "com/sun/star/lang/XInitialization.hpp"
-#include "com/sun/star/java/XJavaThreadRegister_11.hpp"
-#include "com/sun/star/java/XJavaVM.hpp"
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "cppuhelper/basemutex.hxx"
-#include "cppuhelper/compbase5.hxx"
-#include "osl/thread.hxx"
-#include "rtl/ref.hxx"
+#include <com/sun/star/container/XContainerListener.hpp>
+#include <com/sun/star/lang/XInitialization.hpp>
+#include <com/sun/star/java/XJavaThreadRegister_11.hpp>
+#include <com/sun/star/java/XJavaVM.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <cppuhelper/basemutex.hxx>
+#include <cppuhelper/compbase5.hxx>
+#include <osl/thread.hxx>
+#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
namespace com { namespace sun { namespace star {
diff --git a/stoc/source/proxy_factory/proxyfac.cxx b/stoc/source/proxy_factory/proxyfac.cxx
index e5fece0..0ddc2a0 100644
--- a/stoc/source/proxy_factory/proxyfac.cxx
+++ b/stoc/source/proxy_factory/proxyfac.cxx
@@ -18,26 +18,26 @@
*/
-#include "osl/diagnose.h"
-#include "osl/interlck.h"
-#include "osl/doublecheckedlocking.h"
-#include "osl/mutex.hxx"
-#include "rtl/ref.hxx"
-#include "uno/dispatcher.hxx"
-#include "uno/data.h"
+#include <osl/diagnose.h>
+#include <osl/interlck.h>
+#include <osl/doublecheckedlocking.h>
+#include <osl/mutex.hxx>
+#include <rtl/ref.hxx>
+#include <uno/dispatcher.hxx>
+#include <uno/data.h>
#include <uno/lbnames.h>
-#include "uno/mapping.hxx"
-#include "uno/environment.hxx"
-#include "typelib/typedescription.hxx"
-#include "cppuhelper/exc_hlp.hxx"
-#include "cppuhelper/implbase2.hxx"
-#include "cppuhelper/implementationentry.hxx"
-#include "cppuhelper/factory.hxx"
+#include <uno/mapping.hxx>
+#include <uno/environment.hxx>
+#include <typelib/typedescription.hxx>
+#include <cppuhelper/exc_hlp.hxx>
+#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implementationentry.hxx>
+#include <cppuhelper/factory.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/registry/XRegistryKey.hpp"
-#include "com/sun/star/reflection/XProxyFactory.hpp"
-#include "com/sun/star/uno/RuntimeException.hpp"
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/registry/XRegistryKey.hpp>
+#include <com/sun/star/reflection/XProxyFactory.hpp>
+#include <com/sun/star/uno/RuntimeException.hpp>
#define SERVICE_NAME "com.sun.star.reflection.ProxyFactory"
#define IMPL_NAME "com.sun.star.comp.reflection.ProxyFactory"
diff --git a/stoc/source/simpleregistry/simpleregistry.cxx b/stoc/source/simpleregistry/simpleregistry.cxx
index 128f7ae..56f4dac 100644
--- a/stoc/source/simpleregistry/simpleregistry.cxx
+++ b/stoc/source/simpleregistry/simpleregistry.cxx
@@ -17,38 +17,38 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sal/config.h"
+#include <sal/config.h>
#include <cstdlib>
#include <vector>
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/registry/InvalidRegistryException.hpp"
-#include "com/sun/star/registry/InvalidValueException.hpp"
-#include "com/sun/star/registry/MergeConflictException.hpp"
-#include "com/sun/star/registry/RegistryKeyType.hpp"
-#include "com/sun/star/registry/XRegistryKey.hpp"
-#include "com/sun/star/registry/XSimpleRegistry.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "cppuhelper/implbase1.hxx"
-#include "cppuhelper/implbase2.hxx"
-#include "cppuhelper/supportsservice.hxx"
-#include "cppuhelper/weak.hxx"
-#include "osl/mutex.hxx"
-#include "registry/registry.hxx"
-#include "registry/regtype.h"
-#include "rtl/ref.hxx"
-#include "rtl/string.h"
-#include "rtl/string.hxx"
-#include "rtl/textcvt.h"
-#include "rtl/textenc.h"
-#include "rtl/ustring.h"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/registry/InvalidRegistryException.hpp>
+#include <com/sun/star/registry/InvalidValueException.hpp>
+#include <com/sun/star/registry/MergeConflictException.hpp>
+#include <com/sun/star/registry/RegistryKeyType.hpp>
+#include <com/sun/star/registry/XRegistryKey.hpp>
+#include <com/sun/star/registry/XSimpleRegistry.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/supportsservice.hxx>
+#include <cppuhelper/weak.hxx>
+#include <osl/mutex.hxx>
+#include <registry/registry.hxx>
+#include <registry/regtype.h>
+#include <rtl/ref.hxx>
+#include <rtl/string.h>
+#include <rtl/string.hxx>
+#include <rtl/textcvt.h>
+#include <rtl/textenc.h>
+#include <rtl/ustring.h>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace {
diff --git a/stoc/source/stocservices/stocservices.cxx b/stoc/source/stocservices/stocservices.cxx
index 02f0196..c8aa9d9 100644
--- a/stoc/source/stocservices/stocservices.cxx
+++ b/stoc/source/stocservices/stocservices.cxx
@@ -20,10 +20,10 @@
#include "stocservices.hxx"
-#include "cppuhelper/factory.hxx"
-#include "cppuhelper/implementationentry.hxx"
-#include "sal/types.h"
-#include "uno/environment.h"
+#include <cppuhelper/factory.hxx>
+#include <cppuhelper/implementationentry.hxx>
+#include <sal/types.h>
+#include <uno/environment.h>
using namespace com::sun::star;
using namespace css::uno;
diff --git a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
index a8a0f5a..ef135df 100644
--- a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
+++ b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
@@ -20,26 +20,26 @@
#include "stocservices.hxx"
-#include "boost/noncopyable.hpp"
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "com/sun/star/uri/XExternalUriReferenceTranslator.hpp"
-#include "cppuhelper/implbase2.hxx"
-#include "cppuhelper/supportsservice.hxx"
-#include "cppuhelper/weak.hxx"
-#include "osl/thread.h"
-#include "rtl/string.h"
-#include "rtl/textenc.h"
-#include "rtl/uri.h"
-#include "rtl/uri.hxx"
-#include "rtl/ustrbuf.hxx"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
+#include <boost/noncopyable.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/uri/XExternalUriReferenceTranslator.hpp>
+#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/supportsservice.hxx>
+#include <cppuhelper/weak.hxx>
+#include <osl/thread.h>
+#include <rtl/string.h>
+#include <rtl/textenc.h>
+#include <rtl/uri.h>
+#include <rtl/uri.hxx>
+#include <rtl/ustrbuf.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace {
diff --git a/stoc/source/uriproc/ExternalUriReferenceTranslator.hxx b/stoc/source/uriproc/ExternalUriReferenceTranslator.hxx
index 13786c5..1dd68499 100644
--- a/stoc/source/uriproc/ExternalUriReferenceTranslator.hxx
+++ b/stoc/source/uriproc/ExternalUriReferenceTranslator.hxx
@@ -20,10 +20,10 @@
#ifndef INCLUDED_STOC_SOURCE_URIPROC_EXTERNALURIREFERENCETRANSLATOR_HXX
#define INCLUDED_STOC_SOURCE_URIPROC_EXTERNALURIREFERENCETRANSLATOR_HXX
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "sal/types.h"
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
diff --git a/stoc/source/uriproc/UriReference.cxx b/stoc/source/uriproc/UriReference.cxx
index be6cbe8..c17afed 100644
--- a/stoc/source/uriproc/UriReference.cxx
+++ b/stoc/source/uriproc/UriReference.cxx
@@ -20,12 +20,12 @@
#include "UriReference.hxx"
-#include "osl/diagnose.h"
-#include "osl/mutex.hxx"
-#include "rtl/string.h"
-#include "rtl/ustrbuf.hxx"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
+#include <osl/diagnose.h>
+#include <osl/mutex.hxx>
+#include <rtl/string.h>
+#include <rtl/ustrbuf.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
using stoc::uriproc::UriReference;
diff --git a/stoc/source/uriproc/UriReference.hxx b/stoc/source/uriproc/UriReference.hxx
index 178f145..b9f1af8 100644
--- a/stoc/source/uriproc/UriReference.hxx
+++ b/stoc/source/uriproc/UriReference.hxx
@@ -20,11 +20,11 @@
#ifndef INCLUDED_STOC_SOURCE_URIPROC_URIREFERENCE_HXX
#define INCLUDED_STOC_SOURCE_URIPROC_URIREFERENCE_HXX
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "osl/mutex.hxx"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
-#include "rtl/ustrbuf.hxx"
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <osl/mutex.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
+#include <rtl/ustrbuf.hxx>
namespace stoc { namespace uriproc {
diff --git a/stoc/source/uriproc/UriReferenceFactory.cxx b/stoc/source/uriproc/UriReferenceFactory.cxx
index 0e174d4..a9bffb5 100644
--- a/stoc/source/uriproc/UriReferenceFactory.cxx
+++ b/stoc/source/uriproc/UriReferenceFactory.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sal/config.h"
+#include <sal/config.h>
#include <algorithm>
#include <cassert>
@@ -25,29 +25,29 @@
#include <exception>
#include <vector>
-#include "boost/noncopyable.hpp"
-#include "com/sun/star/lang/WrappedTargetRuntimeException.hpp"
-#include "com/sun/star/lang/XMultiComponentFactory.hpp"
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/uno/Any.hxx"
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "com/sun/star/uri/RelativeUriExcessParentSegments.hpp"
-#include "com/sun/star/uri/XUriReference.hpp"
-#include "com/sun/star/uri/XUriReferenceFactory.hpp"
-#include "com/sun/star/uri/XUriSchemeParser.hpp"
-#include "cppuhelper/implbase1.hxx"
-#include "cppuhelper/implbase2.hxx"
-#include "cppuhelper/supportsservice.hxx"
-#include "cppuhelper/weak.hxx"
-#include "rtl/character.hxx"
-#include "rtl/ustrbuf.hxx"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
+#include <boost/noncopyable.hpp>
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
+#include <com/sun/star/lang/XMultiComponentFactory.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/uri/RelativeUriExcessParentSegments.hpp>
+#include <com/sun/star/uri/XUriReference.hpp>
+#include <com/sun/star/uri/XUriReferenceFactory.hpp>
+#include <com/sun/star/uri/XUriSchemeParser.hpp>
+#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/supportsservice.hxx>
+#include <cppuhelper/weak.hxx>
+#include <rtl/character.hxx>
+#include <rtl/ustrbuf.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
#include "UriReference.hxx"
#include "stocservices.hxx"
diff --git a/stoc/source/uriproc/UriReferenceFactory.hxx b/stoc/source/uriproc/UriReferenceFactory.hxx
index 05d1819..9b8e364 100644
--- a/stoc/source/uriproc/UriReferenceFactory.hxx
+++ b/stoc/source/uriproc/UriReferenceFactory.hxx
@@ -20,10 +20,10 @@
#ifndef INCLUDED_STOC_SOURCE_URIPROC_URIREFERENCEFACTORY_HXX
#define INCLUDED_STOC_SOURCE_URIPROC_URIREFERENCEFACTORY_HXX
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "sal/types.h"
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
index 20f4508..6e56cfb 100644
--- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
+++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
@@ -17,33 +17,33 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sal/config.h"
+#include <sal/config.h>
#include "stocservices.hxx"
#include <exception>
-#include "boost/noncopyable.hpp"
-#include "com/sun/star/lang/IllegalArgumentException.hpp"
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "com/sun/star/uri/XUriReference.hpp"
-#include "com/sun/star/uri/XUriSchemeParser.hpp"
-#include "com/sun/star/uri/XVndSunStarExpandUrlReference.hpp"
-#include "com/sun/star/util/XMacroExpander.hpp"
-#include "cppuhelper/implbase1.hxx"
-#include "cppuhelper/implbase2.hxx"
-#include "cppuhelper/supportsservice.hxx"
-#include "cppuhelper/weak.hxx"
-#include "rtl/textenc.h"
-#include "rtl/uri.h"
-#include "rtl/uri.hxx"
-#include "rtl/ustring.h"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
+#include <boost/noncopyable.hpp>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/uri/XUriReference.hpp>
+#include <com/sun/star/uri/XUriSchemeParser.hpp>
+#include <com/sun/star/uri/XVndSunStarExpandUrlReference.hpp>
+#include <com/sun/star/util/XMacroExpander.hpp>
+#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/supportsservice.hxx>
+#include <cppuhelper/weak.hxx>
+#include <rtl/textenc.h>
+#include <rtl/uri.h>
+#include <rtl/uri.hxx>
+#include <rtl/ustring.h>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
#include "UriReference.hxx"
diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
index 66b0fe8..fe43058 100644
--- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
+++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
@@ -22,25 +22,25 @@
#include "UriReference.hxx"
-#include "boost/noncopyable.hpp"
-#include "com/sun/star/lang/IllegalArgumentException.hpp"
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "com/sun/star/uri/XUriReference.hpp"
-#include "com/sun/star/uri/XUriSchemeParser.hpp"
-#include "com/sun/star/uri/XVndSunStarScriptUrlReference.hpp"
-#include "cppuhelper/implbase1.hxx"
-#include "cppuhelper/implbase2.hxx"
-#include "cppuhelper/supportsservice.hxx"
-#include "cppuhelper/weak.hxx"
-#include "osl/mutex.hxx"
-#include "rtl/uri.hxx"
-#include "rtl/ustrbuf.hxx"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
+#include <boost/noncopyable.hpp>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/uri/XUriReference.hpp>
+#include <com/sun/star/uri/XUriSchemeParser.hpp>
+#include <com/sun/star/uri/XVndSunStarScriptUrlReference.hpp>
+#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/supportsservice.hxx>
+#include <cppuhelper/weak.hxx>
+#include <osl/mutex.hxx>
+#include <rtl/uri.hxx>
+#include <rtl/ustrbuf.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
#include <exception>
diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.hxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.hxx
index dee5ac9..5e9cf95 100644
--- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.hxx
+++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.hxx
@@ -22,10 +22,10 @@
#define \
INCLUDED_stoc_source_uriproc_UriSchemeParser_vndDOTsunDOTstarDOTscript_hxx
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "sal/types.h"
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
diff --git a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
index 8c9ea5b..54bf3f8 100644
--- a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
+++ b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
@@ -20,28 +20,28 @@
#include "stocservices.hxx"
-#include "boost/noncopyable.hpp"
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "com/sun/star/uri/UriReferenceFactory.hpp"
-#include "com/sun/star/uri/XUriReference.hpp"
-#include "com/sun/star/uri/XUriReferenceFactory.hpp"
-#include "com/sun/star/uri/XVndSunStarPkgUrlReferenceFactory.hpp"
-#include "cppuhelper/implbase2.hxx"
-#include "cppuhelper/supportsservice.hxx"
-#include "cppuhelper/weak.hxx"
-#include "rtl/string.h"
-#include "rtl/textenc.h"
-#include "rtl/uri.h"
-#include "rtl/uri.hxx"
-#include "rtl/ustrbuf.hxx"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
+#include <boost/noncopyable.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/uri/UriReferenceFactory.hpp>
+#include <com/sun/star/uri/XUriReference.hpp>
+#include <com/sun/star/uri/XUriReferenceFactory.hpp>
+#include <com/sun/star/uri/XVndSunStarPkgUrlReferenceFactory.hpp>
+#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/supportsservice.hxx>
+#include <cppuhelper/weak.hxx>
+#include <rtl/string.h>
+#include <rtl/textenc.h>
+#include <rtl/uri.h>
+#include <rtl/uri.hxx>
+#include <rtl/ustrbuf.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace {
diff --git a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.hxx b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.hxx
index 83dcdc3..3f7f2fa 100644
--- a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.hxx
+++ b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.hxx
@@ -20,10 +20,10 @@
#ifndef INCLUDED_STOC_SOURCE_URIPROC_VNDSUNSTARPKGURLREFERENCEFACTORY_HXX
#define INCLUDED_STOC_SOURCE_URIPROC_VNDSUNSTARPKGURLREFERENCEFACTORY_HXX
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "sal/types.h"
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <sal/types.h>
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
diff --git a/stoc/test/registry_tdprovider/testregistrytdprovider.cxx b/stoc/test/registry_tdprovider/testregistrytdprovider.cxx
index 3b94260..acf5a1c 100644
--- a/stoc/test/registry_tdprovider/testregistrytdprovider.cxx
+++ b/stoc/test/registry_tdprovider/testregistrytdprovider.cxx
@@ -18,38 +18,38 @@
*/
-#include "com/sun/star/beans/XPropertySet.hpp"
-#include "com/sun/star/container/XHierarchicalNameAccess.hpp"
-#include "com/sun/star/lang/XMain.hpp"
-#include "com/sun/star/lang/XSingleComponentFactory.hpp"
-#include "com/sun/star/reflection/XCompoundTypeDescription.hpp"
-#include "com/sun/star/reflection/XInterfaceAttributeTypeDescription2.hpp"
-#include "com/sun/star/reflection/XInterfaceMemberTypeDescription.hpp"
-#include "com/sun/star/reflection/XInterfaceMethodTypeDescription.hpp"
-#include "com/sun/star/reflection/XInterfaceTypeDescription2.hpp"
-#include "com/sun/star/reflection/XPublished.hpp"
-#include "com/sun/star/reflection/XServiceTypeDescription2.hpp"
-#include "com/sun/star/reflection/XSingletonTypeDescription2.hpp"
-#include "com/sun/star/reflection/XStructTypeDescription.hpp"
-#include "com/sun/star/reflection/XTypeDescription.hpp"
-#include "com/sun/star/registry/InvalidRegistryException.hpp"
-#include "com/sun/star/registry/XRegistryKey.hpp"
-#include "com/sun/star/uno/Any.hxx"
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/TypeClass.hpp"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "cppuhelper/factory.hxx"
-#include "cppuhelper/implbase1.hxx"
-#include "cppuhelper/weak.hxx"
-#include "rtl/textenc.h"
-#include "rtl/ustring.h"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
-#include "uno/environment.h"
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
+#include <com/sun/star/lang/XMain.hpp>
+#include <com/sun/star/lang/XSingleComponentFactory.hpp>
+#include <com/sun/star/reflection/XCompoundTypeDescription.hpp>
+#include <com/sun/star/reflection/XInterfaceAttributeTypeDescription2.hpp>
+#include <com/sun/star/reflection/XInterfaceMemberTypeDescription.hpp>
+#include <com/sun/star/reflection/XInterfaceMethodTypeDescription.hpp>
+#include <com/sun/star/reflection/XInterfaceTypeDescription2.hpp>
+#include <com/sun/star/reflection/XPublished.hpp>
+#include <com/sun/star/reflection/XServiceTypeDescription2.hpp>
+#include <com/sun/star/reflection/XSingletonTypeDescription2.hpp>
+#include <com/sun/star/reflection/XStructTypeDescription.hpp>
+#include <com/sun/star/reflection/XTypeDescription.hpp>
+#include <com/sun/star/registry/InvalidRegistryException.hpp>
+#include <com/sun/star/registry/XRegistryKey.hpp>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/TypeClass.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <cppuhelper/factory.hxx>
+#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/weak.hxx>
+#include <rtl/textenc.h>
+#include <rtl/ustring.h>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
+#include <uno/environment.h>
#include /*MSVC trouble: <cstdlib>*/ <stdlib.h>
#include <iostream>
diff --git a/stoc/test/tdmanager/testtdmanager.cxx b/stoc/test/tdmanager/testtdmanager.cxx
index 8e56541..1794cb0 100644
--- a/stoc/test/tdmanager/testtdmanager.cxx
+++ b/stoc/test/tdmanager/testtdmanager.cxx
@@ -18,36 +18,36 @@
*/
-#include "com/sun/star/container/XHierarchicalNameAccess.hpp"
-#include "com/sun/star/container/XSet.hpp"
-#include "com/sun/star/lang/XMain.hpp"
-#include "com/sun/star/lang/XSingleComponentFactory.hpp"
-#include "com/sun/star/lang/IllegalArgumentException.hpp"
-#include "com/sun/star/reflection/XIndirectTypeDescription.hpp"
-#include "com/sun/star/reflection/XInterfaceMethodTypeDescription.hpp"
-#include "com/sun/star/reflection/XPublished.hpp"
-#include "com/sun/star/reflection/XStructTypeDescription.hpp"
-#include "com/sun/star/reflection/XTypeDescription.hpp"
-#include "com/sun/star/registry/InvalidRegistryException.hpp"
-#include "com/sun/star/registry/XRegistryKey.hpp"
-#include "com/sun/star/registry/XSimpleRegistry.hpp"
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/TypeClass.hpp"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "cppuhelper/factory.hxx"
-#include "cppuhelper/implbase1.hxx"
-#include "cppuhelper/weak.hxx"
-#include "osl/file.h"
-#include "osl/thread.h"
-#include "rtl/textenc.h"
-#include "rtl/ustring.h"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
-#include "uno/environment.h"
+#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
+#include <com/sun/star/container/XSet.hpp>
+#include <com/sun/star/lang/XMain.hpp>
+#include <com/sun/star/lang/XSingleComponentFactory.hpp>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/reflection/XIndirectTypeDescription.hpp>
+#include <com/sun/star/reflection/XInterfaceMethodTypeDescription.hpp>
+#include <com/sun/star/reflection/XPublished.hpp>
+#include <com/sun/star/reflection/XStructTypeDescription.hpp>
+#include <com/sun/star/reflection/XTypeDescription.hpp>
+#include <com/sun/star/registry/InvalidRegistryException.hpp>
+#include <com/sun/star/registry/XRegistryKey.hpp>
+#include <com/sun/star/registry/XSimpleRegistry.hpp>
+#include <com/sun/star/uno/Exception.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/TypeClass.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <cppuhelper/factory.hxx>
+#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/weak.hxx>
+#include <osl/file.h>
+#include <osl/thread.h>
+#include <rtl/textenc.h>
+#include <rtl/ustring.h>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
+#include <uno/environment.h>
#include /*MSVC trouble: <cstdlib>*/ <stdlib.h>
#include <iostream>
diff --git a/stoc/test/testproxyfac.cxx b/stoc/test/testproxyfac.cxx
index f9fe223..8f5c4fd 100644
--- a/stoc/test/testproxyfac.cxx
+++ b/stoc/test/testproxyfac.cxx
@@ -18,22 +18,22 @@
*/
-#include "sal/main.h"
-#include "osl/diagnose.h"
-#include "rtl/alloc.h"
-#include "uno/environment.hxx"
+#include <sal/main.h>
+#include <osl/diagnose.h>
+#include <rtl/alloc.h>
+#include <uno/environment.hxx>
#include <uno/lbnames.h>
-#include "cppuhelper/servicefactory.hxx"
-#include "cppuhelper/implbase1.hxx"
-#include "cppuhelper/implbase3.hxx"
-#include "com/sun/star/uno/XCurrentContext.hpp"
-#include "com/sun/star/lang/DisposedException.hpp"
-#include "com/sun/star/lang/XComponent.hpp"
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/registry/XSimpleRegistry.hpp"
-#include "com/sun/star/registry/XImplementationRegistration.hpp"
-#include "com/sun/star/beans/XPropertySet.hpp"
-#include "com/sun/star/reflection/XProxyFactory.hpp"
+#include <cppuhelper/servicefactory.hxx>
+#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase3.hxx>
+#include <com/sun/star/uno/XCurrentContext.hpp>
+#include <com/sun/star/lang/DisposedException.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/registry/XSimpleRegistry.hpp>
+#include <com/sun/star/registry/XImplementationRegistration.hpp>
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/reflection/XProxyFactory.hpp>
#include <stdio.h>
diff --git a/stoc/test/uriproc/test_uriproc.cxx b/stoc/test/uriproc/test_uriproc.cxx
index 9f09777..d47708e 100644
--- a/stoc/test/uriproc/test_uriproc.cxx
+++ b/stoc/test/uriproc/test_uriproc.cxx
@@ -18,32 +18,32 @@
*/
#include <sal/types.h>
-#include "com/sun/star/lang/XComponent.hpp"
-#include "com/sun/star/lang/XMultiComponentFactory.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uri/ExternalUriReferenceTranslator.hpp"
-#include "com/sun/star/uri/UriReferenceFactory.hpp"
-#include "com/sun/star/uri/VndSunStarPkgUrlReferenceFactory.hpp"
-#include "com/sun/star/uri/XExternalUriReferenceTranslator.hpp"
-#include "com/sun/star/uri/XUriReference.hpp"
-#include "com/sun/star/uri/XUriReferenceFactory.hpp"
-#include "com/sun/star/uri/XVndSunStarExpandUrlReference.hpp"
-#include "com/sun/star/uri/XVndSunStarPkgUrlReferenceFactory.hpp"
-#include "com/sun/star/uri/XVndSunStarScriptUrlReference.hpp"
-#include "com/sun/star/util/XMacroExpander.hpp"
-#include "cppuhelper/bootstrap.hxx"
+#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XMultiComponentFactory.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/uri/ExternalUriReferenceTranslator.hpp>
+#include <com/sun/star/uri/UriReferenceFactory.hpp>
+#include <com/sun/star/uri/VndSunStarPkgUrlReferenceFactory.hpp>
+#include <com/sun/star/uri/XExternalUriReferenceTranslator.hpp>
+#include <com/sun/star/uri/XUriReference.hpp>
+#include <com/sun/star/uri/XUriReferenceFactory.hpp>
+#include <com/sun/star/uri/XVndSunStarExpandUrlReference.hpp>
+#include <com/sun/star/uri/XVndSunStarPkgUrlReferenceFactory.hpp>
+#include <com/sun/star/uri/XVndSunStarScriptUrlReference.hpp>
+#include <com/sun/star/util/XMacroExpander.hpp>
+#include <cppuhelper/bootstrap.hxx>
#include "cppunit/TestAssert.h"
#include "cppunit/TestFixture.h"
#include "cppunit/extensions/HelperMacros.h"
#include "cppunit/plugin/TestPlugIn.h"
-#include "osl/diagnose.h"
-#include "rtl/string.h"
-#include "rtl/string.hxx"
-#include "rtl/textenc.h"
-#include "rtl/ustrbuf.hxx"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
+#include <osl/diagnose.h>
+#include <rtl/string.h>
+#include <rtl/string.hxx>
+#include <rtl/textenc.h>
+#include <rtl/ustrbuf.hxx>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
#include <sal/macros.h>
#include <cstdlib>
commit c38678e140500083f81e0e006ba9b69e6f351fb1
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 08:50:01 2014 +0200
stoc: convert TEST_LIST_CLASSES case also
Change-Id: Ib7b00f052c5b907ccc9b0aba924ada41ff1db023
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx
index 19ef0f2..17cae3c 100644
--- a/stoc/source/corereflection/base.hxx
+++ b/stoc/source/corereflection/base.hxx
@@ -50,7 +50,7 @@ namespace stoc_corefl
{
#ifdef TEST_LIST_CLASSES
-typedef list< OUString > ClassNameList;
+typedef std::list< OUString > ClassNameList;
extern ClassNameList g_aClassNames;
#endif
diff --git a/stoc/source/corereflection/crbase.cxx b/stoc/source/corereflection/crbase.cxx
index 46d4dca..903f945 100644
--- a/stoc/source/corereflection/crbase.cxx
+++ b/stoc/source/corereflection/crbase.cxx
@@ -67,7 +67,7 @@ IdlClassImpl::IdlClassImpl( IdlReflectionServiceImpl * pReflection,
}
#ifdef TEST_LIST_CLASSES
- ClassNameList::const_iterator iFind( find( g_aClassNames.begin(), g_aClassNames.end(), _aName ) );
+ ClassNameList::const_iterator iFind( std::find( g_aClassNames.begin(), g_aClassNames.end(), _aName ) );
OSL_ENSURE( iFind == g_aClassNames.end(), "### idl class already exists!" );
g_aClassNames.push_front( _aName );
#endif
@@ -81,7 +81,7 @@ IdlClassImpl::~IdlClassImpl()
_pReflection->release();
#ifdef TEST_LIST_CLASSES
- ClassNameList::iterator iFind( find( g_aClassNames.begin(), g_aClassNames.end(), _aName ) );
+ ClassNameList::iterator iFind( std::find( g_aClassNames.begin(), g_aClassNames.end(), _aName ) );
OSL_ENSURE( iFind != g_aClassNames.end(), "### idl class does not exist!" );
g_aClassNames.erase( iFind );
#endif
commit e856f2323289efd3a6f070ff6e1b0f7cd3afb2aa
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 22 08:45:37 2014 +0200
stoc: make use of css alias
Change-Id: I1dd85a7b1236cfebd5e653fe6d329968e556364b
diff --git a/stoc/inc/stocservices.hxx b/stoc/inc/stocservices.hxx
index 3017c06..fb10f02 100644
--- a/stoc/inc/stocservices.hxx
+++ b/stoc/inc/stocservices.hxx
@@ -31,55 +31,55 @@ namespace com { namespace sun { namespace star { namespace uno {
namespace stoc_services
{
// typeconv
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL TypeConverter_Impl_CreateInstance(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & )
- throw( ::com::sun::star::uno::RuntimeException );
- ::com::sun::star::uno::Sequence< OUString > tcv_getSupportedServiceNames();
+ css::uno::Reference< css::uno::XInterface > SAL_CALL TypeConverter_Impl_CreateInstance(
+ const css::uno::Reference< css::uno::XComponentContext > & )
+ throw( css::uno::RuntimeException );
+ css::uno::Sequence< OUString > tcv_getSupportedServiceNames();
OUString tcv_getImplementationName();
namespace ExternalUriReferenceTranslator
{
- com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL create(
- com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const & context)
- SAL_THROW((com::sun::star::uno::Exception));
+ css::uno::Reference< css::uno::XInterface > SAL_CALL create(
+ css::uno::Reference< css::uno::XComponentContext > const & context)
+ SAL_THROW((css::uno::Exception));
OUString SAL_CALL getImplementationName();
- com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames();
+ css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames();
}
namespace UriReferenceFactory
{
- com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL create(
- com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const & context)
- SAL_THROW((com::sun::star::uno::Exception));
+ css::uno::Reference< css::uno::XInterface > SAL_CALL create(
+ css::uno::Reference< css::uno::XComponentContext > const & context)
+ SAL_THROW((css::uno::Exception));
OUString SAL_CALL getImplementationName();
- com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames();
+ css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames();
}
namespace UriSchemeParser_vndDOTsunDOTstarDOTexpand
{
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL create(
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const &)
- SAL_THROW((::com::sun::star::uno::Exception));
+ css::uno::Reference< css::uno::XInterface > SAL_CALL create(
+ css::uno::Reference< css::uno::XComponentContext > const &)
+ SAL_THROW((css::uno::Exception));
OUString SAL_CALL getImplementationName();
- ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames();
+ css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames();
}
namespace UriSchemeParser_vndDOTsunDOTstarDOTscript
{
- com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL create(
- com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const &)
- SAL_THROW((com::sun::star::uno::Exception));
+ css::uno::Reference< css::uno::XInterface > SAL_CALL create(
+ css::uno::Reference< css::uno::XComponentContext > const &)
+ SAL_THROW((css::uno::Exception));
OUString SAL_CALL getImplementationName();
- com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames();
+ css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames();
}
namespace VndSunStarPkgUrlReferenceFactory
{
- com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL create(
- com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const & context)
- SAL_THROW((com::sun::star::uno::Exception));
+ css::uno::Reference< css::uno::XInterface > SAL_CALL create(
+ css::uno::Reference< css::uno::XComponentContext > const & context)
+ SAL_THROW((css::uno::Exception));
OUString SAL_CALL getImplementationName();
- com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames();
+ css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames();
}
} // namespace
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx
index 83c5f81..19ef0f2 100644
--- a/stoc/source/corereflection/base.hxx
+++ b/stoc/source/corereflection/base.hxx
@@ -103,41 +103,41 @@ public:
css::uno::Reference< css::lang::XMultiServiceFactory > getSMgr() const
{ return _xMgr; }
- const css::uno::Mapping & getCpp2Uno() throw(::com::sun::star::uno::RuntimeException);
- const css::uno::Mapping & getUno2Cpp() throw(::com::sun::star::uno::RuntimeException);
- uno_Interface * mapToUno( const css::uno::Any & rObj, typelib_InterfaceTypeDescription * pTo ) throw(::com::sun::star::uno::RuntimeException);
+ const css::uno::Mapping & getCpp2Uno() throw(css::uno::RuntimeException);
+ const css::uno::Mapping & getUno2Cpp() throw(css::uno::RuntimeException);
+ uno_Interface * mapToUno( const css::uno::Any & rObj, typelib_InterfaceTypeDescription * pTo ) throw(css::uno::RuntimeException);
// ctor/ dtor
IdlReflectionServiceImpl( const css::uno::Reference< css::uno::XComponentContext > & xContext );
virtual ~IdlReflectionServiceImpl();
// XInterface
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL acquire() throw() SAL_OVERRIDE;
virtual void SAL_CALL release() throw() SAL_OVERRIDE;
// some XComponent part from OComponentHelper
- virtual void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL dispose() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL supportsService( const OUString & rServiceName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL supportsService( const OUString & rServiceName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XTypeProvider
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XIdlReflection
- virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL forName( const OUString & rTypeName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL getType( const css::uno::Any & rObj ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL forName( const OUString & rTypeName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL getType( const css::uno::Any & rObj ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XHierarchicalNameAccess
- virtual css::uno::Any SAL_CALL getByHierarchicalName( const OUString & rName ) throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL hasByHierarchicalName( const OUString & rName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL getByHierarchicalName( const OUString & rName ) throw(css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL hasByHierarchicalName( const OUString & rName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- css::uno::Reference< css::reflection::XIdlClass > forType( typelib_TypeDescription * pTypeDescr ) throw(::com::sun::star::uno::RuntimeException);
- css::uno::Reference< css::reflection::XIdlClass > forType( typelib_TypeDescriptionReference * pRef ) throw(::com::sun::star::uno::RuntimeException);
+ css::uno::Reference< css::reflection::XIdlClass > forType( typelib_TypeDescription * pTypeDescr ) throw(css::uno::RuntimeException);
+ css::uno::Reference< css::reflection::XIdlClass > forType( typelib_TypeDescriptionReference * pRef ) throw(css::uno::RuntimeException);
};
@@ -168,30 +168,30 @@ public:
virtual ~IdlClassImpl();
// XIdlClassImpl default implementation
- virtual css::uno::TypeClass SAL_CALL getTypeClass() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL equals( const css::uno::Reference< css::reflection::XIdlClass >& xType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::TypeClass SAL_CALL getTypeClass() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL equals( const css::uno::Reference< css::reflection::XIdlClass >& xType ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL isAssignableFrom( const css::uno::Reference< css::reflection::XIdlClass > & xType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL createObject( css::uno::Any & rObj ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL isAssignableFrom( const css::uno::Reference< css::reflection::XIdlClass > & xType ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL createObject( css::uno::Any & rObj ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// def impl ????
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getClasses() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL getClass( const OUString & rName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getInterfaces() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getClasses() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL getClass( const OUString & rName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getInterfaces() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// structs, interfaces
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getSuperclasses() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getSuperclasses() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// structs
- virtual css::uno::Reference< css::reflection::XIdlField > SAL_CALL getField( const OUString & rName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlField > > SAL_CALL getFields() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlField > SAL_CALL getField( const OUString & rName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlField > > SAL_CALL getFields() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// interfaces
- virtual css::uno::Uik SAL_CALL getUik() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Reference< css::reflection::XIdlMethod > SAL_CALL getMethod( const OUString & rName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlMethod > > SAL_CALL getMethods() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Uik SAL_CALL getUik() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlMethod > SAL_CALL getMethod( const OUString & rName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlMethod > > SAL_CALL getMethods() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// array
- virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL getComponentType() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Reference< css::reflection::XIdlArray > SAL_CALL getArray() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL getComponentType() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlArray > SAL_CALL getArray() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
@@ -226,14 +226,14 @@ public:
virtual ~InterfaceIdlClassImpl();
// IdlClassImpl modifications
- virtual sal_Bool SAL_CALL isAssignableFrom( const css::uno::Reference< css::reflection::XIdlClass > & xType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getSuperclasses() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Uik SAL_CALL getUik() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Reference< css::reflection::XIdlMethod > SAL_CALL getMethod( const OUString & rName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlMethod > > SAL_CALL getMethods() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Reference< css::reflection::XIdlField > SAL_CALL getField( const OUString & rName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlField > > SAL_CALL getFields() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL createObject( css::uno::Any & rObj ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL isAssignableFrom( const css::uno::Reference< css::reflection::XIdlClass > & xType ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getSuperclasses() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Uik SAL_CALL getUik() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlMethod > SAL_CALL getMethod( const OUString & rName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlMethod > > SAL_CALL getMethods() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlField > SAL_CALL getField( const OUString & rName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlField > > SAL_CALL getFields() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL createObject( css::uno::Any & rObj ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
@@ -259,10 +259,10 @@ public:
virtual ~CompoundIdlClassImpl();
// IdlClassImpl modifications
- virtual sal_Bool SAL_CALL isAssignableFrom( const css::uno::Reference< css::reflection::XIdlClass > & xType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getSuperclasses() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Reference< css::reflection::XIdlField > SAL_CALL getField( const OUString & rName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlField > > SAL_CALL getFields() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL isAssignableFrom( const css::uno::Reference< css::reflection::XIdlClass > & xType ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getSuperclasses() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlField > SAL_CALL getField( const OUString & rName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlField > > SAL_CALL getFields() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
@@ -281,24 +281,24 @@ public:
: IdlClassImpl( pReflection, rName, eTypeClass, pTypeDescr )
{}
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL acquire() throw() SAL_OVERRIDE;
virtual void SAL_CALL release() throw() SAL_OVERRIDE;
// XTypeProvider
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// IdlClassImpl modifications
- virtual sal_Bool SAL_CALL isAssignableFrom( const css::uno::Reference< css::reflection::XIdlClass > & xType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL getComponentType() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Reference< css::reflection::XIdlArray > SAL_CALL getArray() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL isAssignableFrom( const css::uno::Reference< css::reflection::XIdlClass > & xType ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL getComponentType() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlArray > SAL_CALL getArray() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XIdlArray
- virtual void SAL_CALL realloc( css::uno::Any & rArray, sal_Int32 nLen ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Int32 SAL_CALL getLen( const css::uno::Any & rArray ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Any SAL_CALL get( const css::uno::Any & rArray, sal_Int32 nIndex ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::ArrayIndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL set( css::uno::Any & rArray, sal_Int32 nIndex, const css::uno::Any & rNewValue ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::ArrayIndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL realloc( css::uno::Any & rArray, sal_Int32 nLen ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Int32 SAL_CALL getLen( const css::uno::Any & rArray ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL get( const css::uno::Any & rArray, sal_Int32 nIndex ) throw(css::lang::IllegalArgumentException, css::lang::ArrayIndexOutOfBoundsException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL set( css::uno::Any & rArray, sal_Int32 nIndex, const css::uno::Any & rNewValue ) throw(css::lang::IllegalArgumentException, css::lang::ArrayIndexOutOfBoundsException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
@@ -322,9 +322,9 @@ public:
virtual ~EnumIdlClassImpl();
// IdlClassImpl modifications
- virtual css::uno::Reference< css::reflection::XIdlField > SAL_CALL getField( const OUString & rName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlField > > SAL_CALL getFields() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL createObject( css::uno::Any & rObj ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlField > SAL_CALL getField( const OUString & rName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Reference< css::reflection::XIdlField > > SAL_CALL getFields() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL createObject( css::uno::Any & rObj ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
@@ -356,8 +356,8 @@ public:
virtual ~IdlMemberImpl();
// XIdlMember
- virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL getDeclaringClass() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::reflection::XIdlClass > SAL_CALL getDeclaringClass() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
diff --git a/stoc/source/corereflection/crarray.cxx b/stoc/source/corereflection/crarray.cxx
index e03e8a1..0a3ac31 100644
--- a/stoc/source/corereflection/crarray.cxx
+++ b/stoc/source/corereflection/crarray.cxx
@@ -32,7 +32,7 @@ namespace stoc_corefl
// XInterface
Any ArrayIdlClassImpl::queryInterface( const Type & rType )
- throw(::com::sun::star::uno::RuntimeException, std::exception)
+ throw(css::uno::RuntimeException, std::exception)
{
Any aRet( ::cppu::queryInterface( rType, static_cast< XIdlArray * >( this ) ) );
return (aRet.hasValue() ? aRet : IdlClassImpl::queryInterface( rType ));
@@ -51,7 +51,7 @@ void ArrayIdlClassImpl::release() throw()
// XTypeProvider
Sequence< Type > ArrayIdlClassImpl::getTypes()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception)
{
static ::cppu::OTypeCollection * s_pTypes = 0;
if (! s_pTypes)
@@ -69,7 +69,7 @@ Sequence< Type > ArrayIdlClassImpl::getTypes()
}
Sequence< sal_Int8 > ArrayIdlClassImpl::getImplementationId()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
}
@@ -77,7 +77,7 @@ Sequence< sal_Int8 > ArrayIdlClassImpl::getImplementationId()
// XIdlArray
void ArrayIdlClassImpl::realloc( Any & rArray, sal_Int32 nLen )
- throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception)
+ throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
TypeClass eTC = rArray.getValueTypeClass();
if (eTC != TypeClass_SEQUENCE)
@@ -102,7 +102,7 @@ void ArrayIdlClassImpl::realloc( Any & rArray, sal_Int32 nLen )
}
sal_Int32 ArrayIdlClassImpl::getLen( const Any & rArray )
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list