diff options
Diffstat (limited to 'sd/source/ui/framework/configuration/ResourceId.cxx')
-rw-r--r-- | sd/source/ui/framework/configuration/ResourceId.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/framework/configuration/ResourceId.cxx b/sd/source/ui/framework/configuration/ResourceId.cxx index 88c548ca2d3c..befd9c90af8d 100644 --- a/sd/source/ui/framework/configuration/ResourceId.cxx +++ b/sd/source/ui/framework/configuration/ResourceId.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -295,7 +295,7 @@ sal_Int16 SAL_CALL throw (RuntimeException) { sal_Int16 nResult (0); - + if ( ! rxResourceId.is()) { // The empty reference is interpreted as empty resource id object. @@ -382,7 +382,7 @@ sal_Int16 ResourceId::CompareToExternalImplementation (const Reference<XResource const Sequence<OUString> aAnchorURLs (rxId->getAnchorURLs()); const sal_uInt32 nLocalURLCount (maResourceURLs.size()); const sal_uInt32 nURLCount(1+aAnchorURLs.getLength()); - + // Start comparison with the top most anchors. sal_Int32 nLocalResult (0); for (sal_Int32 nIndex=nURLCount-1,nLocalIndex=nLocalURLCount-1; @@ -450,7 +450,7 @@ sal_Bool SAL_CALL return IsBoundToAnchor(&sResourceURL, &aAnchorURLs, eMode); } } - + @@ -610,7 +610,7 @@ void ResourceId::ParseResourceURL (void) SdGlobalResourceContainer::Instance().AddResource( Reference<XInterface>(xURLTransformer,UNO_QUERY)); } - + if (xURLTransformer.is() && maResourceURLs.size() > 0) { mpURL.reset(new util::URL); |