summaryrefslogtreecommitdiff
path: root/ucb/workben
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 22:38:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 07:31:08 -0600
commit060ab521fa0d5d6b9fcb97eab4718c04e8aec944 (patch)
tree398b92af90dbe2130f45969d2fd86a0922c0e2b9 /ucb/workben
parent482ab0d09620f92eb3618125930dc7c4c8335b5e (diff)
Remove visual noise from ucb
Conflicts: ucb/source/ucp/webdav/webdavdatasupplier.cxx ucb/source/ucp/webdav/webdavresponseparser.cxx Change-Id: I96b69f4867bbaaf42c3d5fd159cbb3e4fe80a4db Reviewed-on: https://gerrit.libreoffice.org/8329 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'ucb/workben')
-rw-r--r--ucb/workben/cachemap/cachemaptest.cxx2
-rw-r--r--ucb/workben/ucb/srcharg.cxx40
-rw-r--r--ucb/workben/ucb/srcharg.hxx2
-rw-r--r--ucb/workben/ucb/ucbdemo.cxx74
4 files changed, 59 insertions, 59 deletions
diff --git a/ucb/workben/cachemap/cachemaptest.cxx b/ucb/workben/cachemap/cachemaptest.cxx
index 660276d67dff..dce04341c4d3 100644
--- a/ucb/workben/cachemap/cachemaptest.cxx
+++ b/ucb/workben/cachemap/cachemaptest.cxx
@@ -151,7 +151,7 @@ int main()
// unxsols3.pro: Version 1: 9137 ms.
// Version 2: 8634 ms.
// Version 3: 3166 ms.
-//
+
// wntmsci7.pro: Version 1: 3846 ms.
// Version 2: 5598 ms.
// Version 3: 2704 ms.
diff --git a/ucb/workben/ucb/srcharg.cxx b/ucb/workben/ucb/srcharg.cxx
index 67836dc43807..f63587bd6a18 100644
--- a/ucb/workben/ucb/srcharg.cxx
+++ b/ucb/workben/ucb/srcharg.cxx
@@ -33,11 +33,11 @@ using namespace unnamed_chaos_ucbdemo_srcharg;
using namespace com::sun::star;
-//============================================================================
-//
+
+
// skipWhiteSpace
-//
-//============================================================================
+
+
namespace unnamed_chaos_ucbdemo_srcharg {
@@ -48,11 +48,11 @@ void skipWhiteSpace(sal_Unicode const *& rBegin, sal_Unicode const * pEnd)
++rBegin;
}
-//============================================================================
-//
+
+
// scanAtom
-//
-//============================================================================
+
+
String scanAtom(sal_Unicode const *& rBegin, sal_Unicode const * pEnd)
{
@@ -62,11 +62,11 @@ String scanAtom(sal_Unicode const *& rBegin, sal_Unicode const * pEnd)
return String(pTheBegin, rBegin - pTheBegin);
}
-//============================================================================
-//
+
+
// scanProperty
-//
-//============================================================================
+
+
String scanProperty(sal_Unicode const *& rBegin, sal_Unicode const * pEnd)
{
@@ -77,11 +77,11 @@ String scanProperty(sal_Unicode const *& rBegin, sal_Unicode const * pEnd)
return String(pTheBegin, rBegin - pTheBegin);
}
-//============================================================================
-//
+
+
// scanOperator
-//
-//============================================================================
+
+
String scanOperator(sal_Unicode const *& rBegin, sal_Unicode const * pEnd)
{
@@ -95,11 +95,11 @@ String scanOperator(sal_Unicode const *& rBegin, sal_Unicode const * pEnd)
}
-//============================================================================
-//
+
+
// parseSearchArgument
-//
-//============================================================================
+
+
bool parseSearchArgument(String const & rInput, ucb::SearchInfo & rInfo)
{
diff --git a/ucb/workben/ucb/srcharg.hxx b/ucb/workben/ucb/srcharg.hxx
index 04bdcdb95202..da485ee6f987 100644
--- a/ucb/workben/ucb/srcharg.hxx
+++ b/ucb/workben/ucb/srcharg.hxx
@@ -25,7 +25,7 @@ namespace com { namespace sun { namespace star { namespace ucb {
struct SearchInfo;
} } } }
-//============================================================================
+
bool parseSearchArgument(String const & rInput,
com::sun::star::ucb::SearchInfo & rInfo);
diff --git a/ucb/workben/ucb/ucbdemo.cxx b/ucb/workben/ucb/ucbdemo.cxx
index f9dbb1c72a33..d4cf14c72c54 100644
--- a/ucb/workben/ucb/ucbdemo.cxx
+++ b/ucb/workben/ucb/ucbdemo.cxx
@@ -156,11 +156,11 @@ void MessagePrinter::print( const OUString& rText )
}
}
-//============================================================================
-//
+
+
// TestOutputStream
-//
-//============================================================================
+
+
class TestOutputStream:
public cppu::OWeakObject,
@@ -190,7 +190,7 @@ public:
OUString getStart() const;
};
-//============================================================================
+
// virtual
uno::Any SAL_CALL
TestOutputStream::queryInterface(const uno::Type & rType)
@@ -201,7 +201,7 @@ TestOutputStream::queryInterface(const uno::Type & rType)
return aRet.hasValue() ? aRet : OWeakObject::queryInterface(rType);
}
-//============================================================================
+
// virtual
void SAL_CALL TestOutputStream::writeBytes(
const uno::Sequence< sal_Int8 > & rData)
@@ -218,7 +218,7 @@ void SAL_CALL TestOutputStream::writeBytes(
nLen, RTL_TEXTENCODING_ISO_8859_1);
}
-//============================================================================
+
OUString TestOutputStream::getStart() const
{
OUString sResult = m_sStart;
@@ -295,7 +295,7 @@ OUString ProgressHandler::toString(const uno::Any & rStatus)
return OUString("(Unknown object)");
}
-//============================================================================
+
// virtual
uno::Any SAL_CALL
ProgressHandler::queryInterface( const uno::Type & rType )
@@ -307,7 +307,7 @@ ProgressHandler::queryInterface( const uno::Type & rType )
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
-//============================================================================
+
// virtual
void SAL_CALL ProgressHandler::push(const uno::Any & rStatus)
throw (uno::RuntimeException)
@@ -317,7 +317,7 @@ void SAL_CALL ProgressHandler::push(const uno::Any & rStatus)
m_rPrinter.print(sMessage);
}
-//============================================================================
+
// virtual
void SAL_CALL ProgressHandler::update(const uno::Any & rStatus)
throw (uno::RuntimeException)
@@ -327,7 +327,7 @@ void SAL_CALL ProgressHandler::update(const uno::Any & rStatus)
m_rPrinter.print(sMessage);
}
-//============================================================================
+
// virtual
void SAL_CALL ProgressHandler::pop() throw (uno::RuntimeException)
{
@@ -535,9 +535,9 @@ UcbTaskEnvironment::~UcbTaskEnvironment()
}
-//
+
// XInterface methods
-//
+
// virtual
@@ -809,10 +809,10 @@ UcbContent* UcbContent::create(
if ( !rURL.Len() )
return NULL;
- //////////////////////////////////////////////////////////////////////
+
// Get XContentIdentifier interface from UCB and let it create an
// identifer for the given URL.
- //////////////////////////////////////////////////////////////////////
+
uno::Reference< ucb::XContentIdentifierFactory > xIdFac =
rUCB.getContentIdentifierFactory();
@@ -824,10 +824,10 @@ UcbContent* UcbContent::create(
if ( !xId.is() )
return NULL;
- //////////////////////////////////////////////////////////////////////
+
// Get XContentProvider interface from UCB and let it create a
// content for the given identifier.
- //////////////////////////////////////////////////////////////////////
+
uno::Reference< ucb::XContentProvider > xProv
= rUCB.getContentProvider();
@@ -1502,9 +1502,9 @@ void UcbContent::removeProperty( const OUString& rName )
}
-//
+
// XInterface methods
-//
+
// virtual
@@ -1537,9 +1537,9 @@ void SAL_CALL UcbContent::release()
}
-//
+
// XEventListener methods.
-//
+
// virtual
@@ -1550,9 +1550,9 @@ void SAL_CALL UcbContent::disposing( const lang::EventObject& /*Source*/ )
}
-//
+
// XContentEventListener methods,
-//
+
// virtual
@@ -1612,9 +1612,9 @@ void SAL_CALL UcbContent::contentEvent( const ucb::ContentEvent& evt )
}
-//
+
// XPropertiesChangeListener methods.
-//
+
// virtual
@@ -2244,9 +2244,9 @@ MyApp aMyApp;
// virtual
void MyApp::Main()
{
- //////////////////////////////////////////////////////////////////////
+
// Read command line params.
- //////////////////////////////////////////////////////////////////////
+
OUString aConfigurationKey1( UCB_CONFIGURATION_KEY1_LOCAL);
OUString aConfigurationKey2( UCB_CONFIGURATION_KEY2_OFFICE);
@@ -2277,9 +2277,9 @@ void MyApp::Main()
}
}
- //////////////////////////////////////////////////////////////////////
+
// Initialize local Service Manager and basic services.
- //////////////////////////////////////////////////////////////////////
+
uno::Reference< lang::XMultiServiceFactory > xFac;
try
@@ -2311,9 +2311,9 @@ void MyApp::Main()
uno::Reference< lang::XComponent > xComponent( xFac, uno::UNO_QUERY );
- //////////////////////////////////////////////////////////////////////
+
// Create Application Window...
- //////////////////////////////////////////////////////////////////////
+
Help::EnableBalloonHelp();
@@ -2326,21 +2326,21 @@ void MyApp::Main()
pMyWin->Show();
- //////////////////////////////////////////////////////////////////////
+
// Go...
- //////////////////////////////////////////////////////////////////////
+
Execute();
- //////////////////////////////////////////////////////////////////////
+
// Destroy Application Window...
- //////////////////////////////////////////////////////////////////////
+
delete pMyWin;
- //////////////////////////////////////////////////////////////////////
+
// Cleanup.
- //////////////////////////////////////////////////////////////////////
+
::ucbhelper::ContentBroker::deinitialize();