]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.cms.ux/src/org/argeo/cms/ux/CmsUxUtils.java
Merge tag 'v2.3.18' into testing
[lgpl/argeo-commons.git] / org.argeo.cms.ux / src / org / argeo / cms / ux / CmsUxUtils.java
index 916cc74f2feb4c8bef5f9d3cb2be460e3f549d17..84e471aafbe2103403a24ed7535c941469f0ff36 100644 (file)
@@ -5,7 +5,7 @@ import org.argeo.api.acr.ContentRepository;
 import org.argeo.api.acr.ContentSession;
 import org.argeo.api.cms.ux.Cms2DSize;
 import org.argeo.api.cms.ux.CmsView;
-import org.argeo.util.CurrentSubject;
+import org.argeo.cms.util.CurrentSubject;
 
 public class CmsUxUtils {
        public static ContentSession getContentSession(ContentRepository contentRepository, CmsView cmsView) {
@@ -31,6 +31,6 @@ public class CmsUxUtils {
        }
 
        public static String img(String src, Cms2DSize size) {
-               return img(src, Integer.toString(size.getWidth()), Integer.toString(size.getHeight()));
+               return img(src, Integer.toString(size.width()), Integer.toString(size.height()));
        }
 }